AGI STK Graphics 11 Send comments on this topic.
InitializeWithPixelSizes Method (IAgStkGraphicsPixelSizeDisplayConditionFactory)
See Also 
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.





Description

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.

Syntax

[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
);

[Java]
public IAgStkGraphicsPixelSizeDisplayCondition initializeWithPixelSizes(
ppInteger MinimumPixelSize,
ppInteger MaximumPixelSize
);

[Unmanaged C++]
public: HRESULT InitializeWithPixelSizes(
int MinimumPixelSize,
int MaximumPixelSize,
IAgStkGraphicsPixelSizeDisplayCondition ** ReturnValue
);

Parameters

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.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1