Class ParticleSystemSet
Hierarchy
- ParticleSystemSet
Implements
Index
Properties
Accessors
Methods
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 the emitter node used with this set
Returns Nullable<TransformNode>
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 AsSphereSearch 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
Returns ParticleSystemSet
a new ParticleSystemSet
-
Represents a set of particle systems working together to create a specific effect