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(
|
[Managed C++] |
---|
public: IAgStkGraphicsPixelSizeDisplayCondition^ InitializeWithPixelSizes(
|
[Java] |
---|
public IAgStkGraphicsPixelSizeDisplayCondition initializeWithPixelSizes(
|
[Unmanaged C++] |
---|
public: HRESULT InitializeWithPixelSizes(
|
- 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.