Constructs an Texture initializer.
The Web GL API we are using eg., THREE
OptionalloadedTexture: Texture<unknown, TextureEventMap>
Preloaded THREE.Texture instance
The sprite material properties
OptionaltextureSets the particle body to the sprite.
The particle to set the body of
AbstractresetStaticfromCreates a Texture initializer from JSON.
The JSON to construct the instance from
The Web GL API we are using eg., THREE
StaticrequiresDetermines if the initializer requires a WebGL API to be provided to its constructor.
Sets the body property to be a THREE.Sprite with a texture map on initialized particles.