Skip to main content

Interface: LiveMatrixBinding

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

Handle returned by applyMatrixLive. Controls the live binding without re-reading the mobject.

Properties​

tracker​

readonly tracker: MatrixTracker

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

The tracker driving the transform.

Methods​

addDependentPoint()​

addDependentPoint(mobject, base): LiveMatrixBinding

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

Register a dependent point after binding.

Parameters​

mobject​

Mobject

base​

Vector3Tuple

Returns​

LiveMatrixBinding


getMatrix()​

getMatrix(): Matrix2x2

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

The current matrix.

Returns​

Matrix2x2


remove()​

remove(): void

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

Detach the per-frame updater so the geometry stops following the matrix.

Returns​

void


setMatrix()​

setMatrix(matrix): LiveMatrixBinding

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

Set the matrix and re-map immediately.

Parameters​

matrix​

Matrix2x2

Returns​

LiveMatrixBinding


update()​

update(): LiveMatrixBinding

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

Re-map once from the current matrix (called automatically each frame).

Returns​

LiveMatrixBinding