OptionalscaleX: number
World units per pixel along x.
OptionalscaleY: number
World units per pixel along y.
Optionalposition: Vector3Like
Where the image's origin lands.
The pixel coordinates read from the image, y up.
Where the image's origin lands.
Set it from any Vector3Like, such as a Babylon Vector3; the value is copied.
Where the image's origin lands.
Set it from any Vector3Like, such as a Babylon Vector3; the value is copied.
A copy with its own points.
Replaces TextureSequencer.locations with the pixels of img whose alpha is above
threshold (0–255). Needs a DOM, for its canvas.
The JSON form, {type: 'TextureSequencer', scaleX, scaleY, position, locations}.
Writes into position the point for particle index, wrapping around the points; leaves it
as it is when there are none.
StaticfromReads TextureSequencer.toJSON output, and the object position files before 0.28 wrote.
Target points read from an image: one point per pixel whose alpha passes a threshold, so particles gather into the picture.