Click or drag to resize
SoSeparatorrenderUnitId Property

Used during the ScaleViz depth compositing process, this field specifies which render unit (OIRU) will render the sub scene graph below this separator.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFInt32 renderUnitId { get; }

Property Value

Type: SoSFInt32
Remarks

  • 0, the sub scene graph is rendered on the local machine.

  • > 0, the sub scene graph is rendered by the OIRU with the specified ID. If the specified renderUnitId is larger than the number of available render units, the sub scene graph is distributed to the specified render unit ID modulo the number of render units actually available. That is: RenderUnitUsed = ((renderUnitId-1)%(ActualNumberOfRenderUnits))+1

  • -1 (SO_RENDERUNITID_NONE), this separator is not assigned to any OIRU. NOTE: This is the default value, which means that by default the sub scene graph is *not* distributed to any node. In order to use depth compositing, you must modify renderUnitId from the default, otherwise nothing will be rendered.

  • -2 (SO_RENDERUNITID_INHERIT), this separator inherits its value from parent OIV.Inventor.Nodes.SoSeparator.

  • -3 (SO_RENDERUNITID_ALL), the sub scene graph is rendered by all OIRUs.

    Note Note

    Field available since Open Inventor 6.1

See Also