Interface: LiveMatrixBinding<M>
Defined in: src/interaction/DynamicMatrix.ts:120
Handle returned by applyMatrixLive. Controls the live binding without re-reading the mobject.
Type Parameters
M
M extends LiveMatrix = Matrix2x2
Properties
tracker
readonlytracker:MatrixTracker<M>
Defined in: src/interaction/DynamicMatrix.ts:122
The tracker driving the transform.
Methods
addDependentPoint()
addDependentPoint(
mobject,base):LiveMatrixBinding<M>
Defined in: src/interaction/DynamicMatrix.ts:128
Register a dependent point after binding.
Parameters
mobject
base
Returns
LiveMatrixBinding<M>
getMatrix()
getMatrix():
M
Defined in: src/interaction/DynamicMatrix.ts:124
The current matrix.
Returns
M
remove()
remove():
void
Defined in: src/interaction/DynamicMatrix.ts:132
Detach the per-frame updater so the geometry stops following the matrix.
Returns
void
setMatrix()
setMatrix(
matrix):LiveMatrixBinding<M>
Defined in: src/interaction/DynamicMatrix.ts:126
Set the matrix and re-map immediately.
Parameters
matrix
M
Returns
LiveMatrixBinding<M>
update()
update():
LiveMatrixBinding<M>
Defined in: src/interaction/DynamicMatrix.ts:130
Re-map once from the current matrix (called automatically each frame).
Returns
LiveMatrixBinding<M>