Initializes a distance to primitive display
condition with the inclusive distance interval [minimumDistance,
maximumDistance]. When this display condition is assigned to an
object, such as a screen overlay, the
object is only rendered when the distance,
in meters, from the camera to the Primitive,
is within the interval.
[Visual Basic .NET] |
---|
Public Function InitializeWithDistances( _
ByVal Primitive As IAgStkGraphicsPrimitive, _
ByVal MinimumDistance As Double, _
ByVal MaximumDistance As Double _
) As IAgStkGraphicsDistanceToPrimitiveDisplayCondition
|
[C#] |
---|
public IAgStkGraphicsDistanceToPrimitiveDisplayCondition InitializeWithDistances(
|
[Managed C++] |
---|
public: IAgStkGraphicsDistanceToPrimitiveDisplayCondition^ InitializeWithDistances(
|
[Java] |
---|
public IAgStkGraphicsDistanceToPrimitiveDisplayCondition initializeWithDistances(
|
[Unmanaged C++] |
---|
public: HRESULT InitializeWithDistances(
|
- Primitive
- The primitive associated with this instance.
- MinimumDistance
- The minimum distance, in meters, of the inclusive distance interval.
- MaximumDistance
- The maximum distance, in meters, of the inclusive distance
interval. Use
Double.MaxValue
to ignore checking the maximum distance.