Description
Gets or sets the per-batch eye offset, which
is applied to each string in the text batch. The array contains the
components of the offset arranged in the order x, y, z.
Property type
Read-write property
Syntax
[Visual Basic .NET] |
Public Property EyeOffset() As System.Array
|
[C#] |
public System.Array EyeOffset {get; set;}
|
[Managed C++] |
public: __property System::Array^ get_EyeOffset();
public: __property void set_EyeOffset(
System::Array ^
);
|
[Unmanaged C++] |
public: HRESULT get_EyeOffset(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_EyeOffset(
SAFEARRAY * pNewEyeOffset
);
|
[Java] |
public Object[] getEyeOffset();public void setEyeOffset(
Object[]
);
|
Remarks
Example
Shows the format of
the EyeOffset property when setting the per-batch eye offset.
[C#] |
Copy Code
|
Array eyeoffset = new object[]
{
2,
3,
4
};
IAgStkGraphicsTextBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize();
parameters.EyeOffset = eyeoffset;
|
|
Shows the format of
the EyeOffset property when setting the per-batch eye offset.
[Visual Basic .NET] |
Copy Code
|
Dim eyeoffset As
Array = New Object() {2, 3,
4}
Dim parameters As
IAgStkGraphicsTextBatchPrimitiveOptionalParameters =
sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize()
parameters.EyeOffset = eyeoffset
|
|
See Also