MCPcopy
hub / github.com/phaserjs/phaser / getWorldTransformMatrix

Method getWorldTransformMatrix

types/phaser.d.ts:20535–20535  ·  view source on GitHub ↗

* Gets the world transform matrix for this Game Object, factoring in any parent Containers. * @param tempMatrix The matrix to populate with the values from this Game Object. * @param parentMatrix A temporary matrix to hold parent values during the calculations.

(tempMatrix?: Phaser.GameObjects.Components.TransformMatrix, parentMatrix?: Phaser.GameObjects.Components.TransformMatrix)

Source from the content-addressed store, hash-verified

20533 * @returns The populated Transform Matrix.
20534 */
20535 getWorldTransformMatrix(tempMatrix?: Phaser.GameObjects.Components.TransformMatrix, parentMatrix?: Phaser.GameObjects.Components.TransformMatrix): Phaser.GameObjects.Components.TransformMatrix;
20536 /**
20537 * Takes the given `x` and `y` coordinates and converts them into local space for this
20538 * Game Object, taking into account parent and local transforms, and the Display Origin.

Callers 15

SubmitterQuad.jsFile · 0.80
Body.jsFile · 0.80
DynamicTexture.jsFile · 0.80
NormalTools.jsFile · 0.80
ImageLight.jsFile · 0.80
Container.jsFile · 0.80
Transform.jsFile · 0.80
Filters.jsFile · 0.80
ParticleEmitter.jsFile · 0.80
Particle.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected