Skip to content

VisualTransformModifierHandle

Defined in: renderer/src/VisualModifiers.ts:15

Removable transform contribution owned by a VisualModifierHost.

readonly active: boolean

Defined in: renderer/src/VisualModifiers.ts:17

Whether this contribution is still active.

remove(): void

Defined in: renderer/src/VisualModifiers.ts:25

Remove only this contribution. Safe to call more than once.

void


setPosition(offset): void

Defined in: renderer/src/VisualModifiers.ts:19

Replace this contribution’s additive position offset.

Vec2Like

void


setRotation(radians): void

Defined in: renderer/src/VisualModifiers.ts:21

Replace this contribution’s additive rotation offset.

number

void


setScale(scale): void

Defined in: renderer/src/VisualModifiers.ts:23

Replace this contribution’s multiplicative scale factor.

number | Vec2Like

void