Initializes a pixel size display condition with the inclusive interval [minimumPixelSize, maximumPixelSize]. When this display condition is assigned to an object, such as a primitive, the object is only rendered when the number of pixels consumed by the object's bounding sphere, projected onto the screen, (or in the case of screen overlays, the area of its bounding rectangle) is within the interval.
[Visual Basic .NET] |
---|
Public Function InitializeWithPixelSizes( _ ByVal MinimumPixelSize As Integer, _ ByVal MaximumPixelSize As Integer _ ) As IAgStkGraphicsPixelSizeDisplayCondition |
[C#] |
---|
public IAgStkGraphicsPixelSizeDisplayCondition InitializeWithPixelSizes( int MinimumPixelSize, int MaximumPixelSize ); |
[Managed C++] |
---|
public: IAgStkGraphicsPixelSizeDisplayCondition^ InitializeWithPixelSizes( int MinimumPixelSize, int MaximumPixelSize ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithPixelSizes( int MinimumPixelSize, int MaximumPixelSize, IAgStkGraphicsPixelSizeDisplayCondition ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsPixelSizeDisplayCondition initializeWithPixelSizes( Integer MinimumPixelSize, Integer MaximumPixelSize ); |
[Python - STK API ] |
---|
def InitializeWithPixelSizes(self, MinimumPixelSize:int, MaximumPixelSize:int) -> "IAgStkGraphicsPixelSizeDisplayCondition": |
- MinimumPixelSize
- The minimum pixel size of the inclusive interval.
- MaximumPixelSize
- The maximum pixel size of the inclusive interval. Use
Int32.MaxValue
to ignore checking the maximum pixel size.