VisualTransformModifierHandle
Defined in: renderer/src/VisualModifiers.ts:15
Removable transform contribution owned by a VisualModifierHost.
Properties
Section titled “Properties”active
Section titled “active”
readonlyactive:boolean
Defined in: renderer/src/VisualModifiers.ts:17
Whether this contribution is still active.
Methods
Section titled “Methods”remove()
Section titled “remove()”remove():
void
Defined in: renderer/src/VisualModifiers.ts:25
Remove only this contribution. Safe to call more than once.
Returns
Section titled “Returns”void
setPosition()
Section titled “setPosition()”setPosition(
offset):void
Defined in: renderer/src/VisualModifiers.ts:19
Replace this contribution’s additive position offset.
Parameters
Section titled “Parameters”offset
Section titled “offset”Vec2Like
Returns
Section titled “Returns”void
setRotation()
Section titled “setRotation()”setRotation(
radians):void
Defined in: renderer/src/VisualModifiers.ts:21
Replace this contribution’s additive rotation offset.
Parameters
Section titled “Parameters”radians
Section titled “radians”number
Returns
Section titled “Returns”void
setScale()
Section titled “setScale()”setScale(
scale):void
Defined in: renderer/src/VisualModifiers.ts:23
Replace this contribution’s multiplicative scale factor.
Parameters
Section titled “Parameters”number | Vec2Like
Returns
Section titled “Returns”void