SoIndexedMarkerSetGetMarker Method (Int32, SbVec2s, SbNativeArrayByte, SbNativeArrayUInt32, Boolean) |
Retrieve the description of the colored marker with index markerIndex .
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public static bool GetMarker(
int markerIndex,
out SbVec2s size,
out SbNativeArray<byte> bytes,
out SbNativeArray<uint> orderedRGBA,
out bool isLSBFirst
)
Public Shared Function GetMarker (
markerIndex As Integer,
<OutAttribute> ByRef size As SbVec2s,
<OutAttribute> ByRef bytes As SbNativeArray(Of Byte),
<OutAttribute> ByRef orderedRGBA As SbNativeArray(Of UInteger),
<OutAttribute> ByRef isLSBFirst As Boolean
) As Boolean
public:
static bool GetMarker(
int markerIndex,
[OutAttribute] SbVec2s% size,
[OutAttribute] SbNativeArray<unsigned char>^% bytes,
[OutAttribute] SbNativeArray<unsigned int>^% orderedRGBA,
[OutAttribute] bool% isLSBFirst
)
static member GetMarker :
markerIndex : int *
size : SbVec2s byref *
bytes : SbNativeArray<byte> byref *
orderedRGBA : SbNativeArray<uint32> byref *
isLSBFirst : bool byref -> bool
Parameters
- markerIndex
- Type: SystemInt32
- size
- Type: OIV.InventorSbVec2s
- bytes
- Type: OIV.Inventor.GenericSbNativeArrayByte
- orderedRGBA
- Type: OIV.Inventor.GenericSbNativeArrayUInt32
- isLSBFirst
- Type: SystemBoolean
Return Value
Type:
BooleanRemarks Returns true if the marker exists, otherwise returns false and the parameters are not modified. If the marker does not have color values, orderedRGBA will point to a single uint32_t containing the value zero.
See Also