Description
Defines a collection of rotation angles, one for each marker in the batch.
Syntax
| [Visual Basic .NET] |
|---|
Public Sub SetRotations( _
ByVal RotationAngles As System.Array _
)
|
| [Managed C++] |
|---|
public: void SetRotations(
System::Array ^ RotationAngles
);
|
| [Unmanaged C++] |
|---|
public: HRESULT SetRotations(
SAFEARRAY * * RotationAngles
);
|
[Python - STK API ] |
|---|
def SetRotations(self, RotationAngles:list) -> None:
|
Parameters
Remarks
See Also
Example
Shows the format of the RotationAngles parameter when setting per marker rotations.
| [C#] |
|---|
Array rotations = new object[]
{
15,
30,
45,
60
};
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize();
parameters.SetRotations(ref rotations);
|
|
Shows the format of the RotationAngles parameter when setting per marker rotations.
| [Visual Basic .NET] |
|---|
Dim rotations As Array = New Object() {15, 30, 45, 60}
Dim parameters As IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize()
parameters.SetRotations(rotations)
|
|