AGI STK Graphics 11 Send comments on this topic.
InitializeWithSizeSource Method (IAgStkGraphicsMarkerBatchPrimitiveFactory)
See Also 
SizeSource
Determines the source used for the size of markers in the batch.





Description

Initializes a marker batch primitive with the specified sizeSource. This is equivalent to constructing a marker batch with the specified sizeSource, a Marker Batch Sort Order of ByTexture, a Set Hint of Frequent, and a Marker Batch Rendering Method of Automatic.

Syntax

[Visual Basic .NET]
Public Function InitializeWithSizeSource( _
   ByVal SizeSource As AgEStkGraphicsMarkerBatchSizeSource _
) As IAgStkGraphicsMarkerBatchPrimitive

[Managed C++]
public: IAgStkGraphicsMarkerBatchPrimitive^ InitializeWithSizeSource(
AgEStkGraphicsMarkerBatchSizeSource SizeSource
);

[Unmanaged C++]
public: HRESULT InitializeWithSizeSource(
AgEStkGraphicsMarkerBatchSizeSource SizeSource,
IAgStkGraphicsMarkerBatchPrimitive ** ReturnValue
);

Parameters

SizeSource
Member Value Description
eStkGraphicsMarkerBatchSizeSourceFromTexture 0 The size of each marker is the same as the size of its texture. If the marker is not textured, the user defined size is used instead.
eStkGraphicsMarkerBatchSizeSourceUserDefined 1 The size of each marker in the marker batch is user defined. Either all markers have the same size (MarkerBatchPrimitive.Size) or each marker has a user defined size (MarkerBatchPrimitiveOptionalParameters.SetSizes).
Determines the source used for the size of markers in the batch.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1