DistanceToPrimitiveDisplayCondition#
- class ansys.stk.core.graphics.DistanceToPrimitiveDisplayCondition#
Bases:
IDisplayCondition
Define 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β¦
Overview#
Get or set the primitive associated with this instance. |
|
Get or set the minimum distance of the inclusive distance interval. |
|
Get the squared minimum distance of the inclusive distance interval. |
|
Get or set the maximum distance of the inclusive distance interval. Use Double.MaxValue to ignore checking the maximum distance. |
|
Get the squared maximum distance of the inclusive distance interval. |
Import detail#
from ansys.stk.core.graphics import DistanceToPrimitiveDisplayCondition
Property detail#
- property DistanceToPrimitiveDisplayCondition.primitive: IPrimitive#
Get or set the primitive associated with this instance.
- property DistanceToPrimitiveDisplayCondition.minimum_distance: float#
Get or set the minimum distance of the inclusive distance interval.
- property DistanceToPrimitiveDisplayCondition.minimum_distance_squared: float#
Get the squared minimum distance of the inclusive distance interval.