Click or drag to resize
SoLDMResourceParametersSetGeometryPriority Method

Sets the importance of one type of geometry relative to others.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetGeometryPriority(
	Type geometryType,
	float priority
)

Parameters

geometryType
Type: SystemType
priority
Type: SystemSingle
Remarks

The geometry type should be one of the VolumeViz geometry classes. For example, SoOrthoSlice.getClassTypeId().

The priority passed must be between 0 and 1, 0 being lowest priority and 1 the highest. LDM will refine tiles first where geometries are the most important. For example, if an SoVolumeRender node has a higher priority than slices, then the tiles required for this SoVolumeRender node will be refined first.

Default is 0.5 for a volume, 0.9 for other geometry.

See Also