Class ParticleSystemSet
Hierarchy
- ParticleSystemSet
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Returns ParticleSystemSet
Properties
systemsSearch playground for systems
Gets the particle system list
Static Base Assets UrlSearch playground for BaseAssetsUrl
Gets or sets base Assets URL
Accessors
emitter Node
Gets or sets the emitter node used with this set
Returns Nullable<AbstractMesh | Vector3>
Gets or sets the emitter node used with this set
Parameters
value: Nullable<AbstractMesh | Vector3>
Returns void
Methods
disposeSearch playground for dispose
Release all associated resources
Returns void
serializeSearch playground for serialize
Serialize the set into a JSON compatible object
Parameters
Optional serializeTexture: boolean
defines if the texture must be serialized as well
Returns any
a JSON compatible representation of the set
set Emitter As SphereSearch playground for setEmitterAsSphere
Creates a new emitter mesh as a sphere
Parameters
options: { color: Color3; diameter: number; segments: number }
defines the options used to create the sphere
color: Color3
diameter: number
segments: number
renderingGroupId: number
defines the renderingGroupId to use for the sphere
scene: Scene
defines the hosting scene
Returns void
startSearch playground for start
Starts all particle systems of the set
Parameters
Optional emitter: AbstractMesh
defines an optional mesh to use as emitter for the particle systems
Returns void
Static ParseSearch playground for Parse
Parse a new ParticleSystemSet from a serialized source
Parameters
data: any
defines a JSON compatible representation of the set
scene: Scene
defines the hosting scene
Optional gpu: boolean
defines if we want GPU particles or CPU particles
Optional capacity: number
defines the system capacity (if null or undefined the sotred capacity will be used)
Returns ParticleSystemSet
a new ParticleSystemSet
Represents a set of particle systems working together to create a specific effect