PixelSizeDisplayCondition#

class ansys.stk.core.graphics.PixelSizeDisplayCondition#

Bases: IDisplayCondition

Define an inclusive interval, in pixels, that determines when an object, such as a primitive, is rendered based on the number of pixels the object’s bounding sphere (or in the case of screen overlays, bounding rectangle) covers on the screen…

Overview#

minimum_pixel_size

Get or set the minimum pixel size of the inclusive distance interval.

maximum_pixel_size

Get or set the maximum pixel size of the inclusive distance interval. Use Int32.MaxValue to ignore checking the maximum distance.

Import detail#

from ansys.stk.core.graphics import PixelSizeDisplayCondition

Property detail#

property PixelSizeDisplayCondition.minimum_pixel_size: int#

Get or set the minimum pixel size of the inclusive distance interval.

property PixelSizeDisplayCondition.maximum_pixel_size: int#

Get or set the maximum pixel size of the inclusive distance interval. Use Int32.MaxValue to ignore checking the maximum distance.