SoOffscreenRenderAreaSetClearDepth Method |
Defines the depth value used when the depth buffer is cleared.
Namespace: OIV.Inventor
value used to clear the depth buffer. Value is clamped to the range [0,1].
The default value is 1. This is the value used to clear the depth 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 DEPTHBUFFER or COLORBUFFER_AND_DEPTHBUFFER . See also setClearPolicy.