Click or drag to resize
SoMarkerSetGetMarker Method (Int32, SbVec2s, SbNativeArrayByte, SbNativeArrayUInt32, Boolean)

Retrieve the description of the colored marker with index markerIndex .

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static bool GetMarker(
	int markerIndex,
	out SbVec2s size,
	out SbNativeArray<byte> bytes,
	out SbNativeArray<uint> orderedRGBA,
	out bool isLSBFirst
)

Parameters

markerIndex
Type: SystemInt32
size
Type: OIV.InventorSbVec2s
bytes
Type: OIV.Inventor.GenericSbNativeArrayByte
orderedRGBA
Type: OIV.Inventor.GenericSbNativeArrayUInt32
isLSBFirst
Type: SystemBoolean

Return Value

Type: Boolean
Remarks

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