Defines an inclusive distance interval that determines when an object, such as a screen overlay, is rendered based on the distance from the camera to the Primitive. This is different from Distance Display Condition because it is based on the camera's distance to a specified Primitive, rather than the camera's distance to the object that uses this display condition.
Initialize | Initializes a default distance to primitive display condition. With this constructor, an object is always rendered regardless of the camera's distance to the Primitive. |
InitializeWithDistances | Initializes a distance to primitive display condition with the inclusive distance interval [minimumDistance, maximumDistance]. When this display condition is assigned to an object, such as a screen overlay, the object is only rendered when the distance from the camera to the Primitive, is within the interval. |