ModelNodePart

open class ModelNodePart(val featureStateId: String, val nodeOverrides: List<String>) : ModelPart

Model node part can be transformed, e.g. rotated etc.

Parameters

featureStateId

the unique feature state id to drive the associated part overrides in nodeOverrides.

nodeOverrides

the associated node ids from the model that is overridable.

Constructors

Link copied to clipboard
fun ModelNodePart(nodeOverride: String)

Construct a simple ModelNodePart with one node override id, it will be used as the feature state id for updating this node.

Link copied to clipboard
fun ModelNodePart(featureStateId: String, nodeOverrides: List<String>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The rotation of the node overrides. A list of 3 doubles are required, the 3 number represents the rotation on x, y, z axis in degrees.