Click or drag to resize
SoRenderAreaCoreSetClearDepth Method

Defines the depth value used when the depth buffer is cleared.

Preview Feature: this class is fully supported and can be used in Open Inventor applications. Being tagged as a Preview Feature just means that the implementation is still subject to API changes and adjustments based on feedback from early adopters. Please be also aware that source compatibility might be broken regardless of the Open Inventor compatibility changes policy due to our commitment to bring needed changes to be sure the specifications of this Preview Feature match the expectations of our customers.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public virtual void SetClearDepth(
	float depth
)

Parameters

depth
Type: SystemSingle

value used to clear the depth buffer.

Implements

SiRenderAreaSetClearDepth(Single)
Remarks

See also setClearPolicy. Default is 1. Range is 0..1.

See Also