SoOffscreenRenderAreaSetClearColor Method |
Defines the RGBA value used when the color buffer is cleared.
Namespace: OIV.Inventor
RGBA value used to clear the color buffer.
Default is transparent black (0,0,0,0). This is the value used to clear the color buffer when OIV.Inventor.SoOffscreenRenderArea.RenderToFile(System.String, OIV.Inventor.SoOffscreenRenderArea.OutputFormats) or OIV.Inventor.SoOffscreenRenderArea.RenderToBuffer(OIV.Inventor.Devices.SoBufferObject, OIV.Inventor.SoOffscreenRenderArea.OutputFormats) are called with OIV.Inventor.SoOffscreenRenderArea.SetClearPolicy(OIV.Inventor.ViewerComponents.SiRenderArea.ClearPolicies) method set to COLORBUFFER or COLORBUFFER_AND_DEPTHBUFFER . See also setClearPolicy.