Description
Defines a collection of eye offsets, one for
each marker in the batch.
Syntax
[Visual Basic .NET] |
Public Sub SetEyeOffsets( _
ByRef EyeOffsets As System.Array _
)
|
[C#] |
public void SetEyeOffsets(
ref System.Array EyeOffsets
);
|
[Managed C++] |
public: void SetEyeOffsets(
System::Array ^^ EyeOffsets
);
|
[Java] |
public setEyeOffsets(
Object[] EyeOffsets
);
|
[Unmanaged C++] |
public: HRESULT SetEyeOffsets(
SAFEARRAY ** EyeOffsets
);
|
Parameters
Remarks
Example
Shows the format of
the EyeOffsets parameter when setting per marker eye offsets.
[C#] |
Copy Code
|
Array eyeoffset = new object[]
{
2, 3, 4,
2, 3, 4
};
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize();
parameters.SetEyeOffsets(ref eyeoffset);
|
|
Shows the format of
the EyeOffsets parameter when setting per marker eye offsets.
[Visual Basic .NET] |
Copy Code
|
Dim eyeoffset As
Array = New Object() {2, 3,
4, 2, 3, 4}
Dim parameters As
IAgStkGraphicsMarkerBatchPrimitiveOptionalParameters =
sceneManager.Initializers.MarkerBatchPrimitiveOptionalParameters.Initialize()
parameters.SetEyeOffsets(eyeoffset)
|
|
See Also