Description
Defines a collection of eye offsets, one for each string in the batch.
Syntax
[Visual Basic .NET] |
---|
Public Sub SetEyeOffsets( _
ByVal EyeOffsets As System.Array _
)
|
[C#] |
---|
public void SetEyeOffsets(
System.Array EyeOffsets
);
|
[Managed C++] |
---|
public: void SetEyeOffsets(
System::Array ^ EyeOffsets
);
|
[Unmanaged C++] |
---|
public: HRESULT SetEyeOffsets(
SAFEARRAY * * EyeOffsets
);
|
[Java] |
---|
public void setEyeOffsets(
AgSafeArray EyeOffsets
);
|
[Python - STK API ] |
---|
def SetEyeOffsets(self, EyeOffsets:list) -> None:
|
Parameters
Remarks
See Also
Example
Shows the format of the EyeOffsets parameter when setting per string eye offsets.
[C#] |
---|
Array eyeoffset = new object[]
{
2, 3, 4,
2, 3, 4
};
IAgStkGraphicsTextBatchPrimitiveOptionalParameters parameters = sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize();
parameters.SetEyeOffsets(ref eyeoffset);
|
|
Shows the format of the EyeOffsets parameter when setting per string eye offsets.
[Visual Basic .NET] |
---|
Dim eyeoffset As Array = New Object() {2, 3, 4, 2, 3, 4}
Dim parameters As IAgStkGraphicsTextBatchPrimitiveOptionalParameters = sceneManager.Initializers.TextBatchPrimitiveOptionalParameters.Initialize()
parameters.SetEyeOffsets(eyeoffset)
|
|