Type Alias: ModelPlacement
ModelPlacement =
object
Properties
offset?
readonlyoptionaloffset?:object
position?
readonlyoptionalposition?:PlacementVector
Where the pivot point of the model sits, in scene space.
rotation?
readonlyoptionalrotation?:PlacementVector
Euler rotation in degrees.
scale?
readonlyoptionalscale?:number
Uniform scale. Values that are not greater than zero are ignored.
parent?
readonlyoptionalparent?:ModelParent
The model this one is attached to. The offset is then relative to the parent's origin, or to the chosen slot on the parent. The model follows its parent, including when the parent's model is swapped for another.
pivot?
readonlyoptionalpivot?:ModelPivot
Which point of the model's bounding box sits at the offset position. Defaults to the model's own origin.