Click or drag to resize
SoMarkerSetmarkerIndex Property

Specifies the marker index (type of marker) for each marker.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoMFInt32 markerIndex { get; }

Property Value

Type: SoMFInt32
Remarks

Default is 0. Predefined markers are in enum OIV.Inventor.Nodes.SoMarkerSet.MarkerTypes. You can specify fewer index values than the number of markers to be drawn (the number of coordinates). In this case the node will cycle through the provided index values as many times as necessary. For example, if all the markers in the set will use the same definition it is only necessary to set the first value in markerIndex.

Note: This is an integer valued field. When writing an application you can use enum values to set the field. However in a .iv file you can only use integer values. For example, you cannot write:

MarkerSet {
 markerIndex DIAMOND_FILLED_9_9
}

You must write:

MarkerSet {
 markerIndex 82
}

See Also