Skip to main content

Interface: DynamicMatrixOptions<M>

Defined in: src/interaction/DynamicMatrix.ts:107

Options for applyMatrixLive.

Type Parameters​

M​

M extends LiveMatrix = Matrix2x2

Properties​

aboutPoint?​

optional aboutPoint: Vector3Tuple

Defined in: src/interaction/DynamicMatrix.ts:109

Pivot the transform is applied about. Default [0, 0, 0] (the origin).


dependents?​

optional dependents: DependentPoint[]

Defined in: src/interaction/DynamicMatrix.ts:111

Dependent points/vectors that follow the transform.


onChange()?​

optional onChange: (matrix) => void

Defined in: src/interaction/DynamicMatrix.ts:113

Called with the current matrix after every re-map (e.g. to trigger a render).

Parameters​

matrix​

M

Returns​

void