Class NodeParticleBuildState
Constructors
constructor
-
Returns NodeParticleBuildState
Properties
build Id
Gets or sets the build identifier
capacity
Gets the capactity of the particle system to build
gradient Index
Gets or sets the index of the gradient to use
next Gradient Index
Gets or sets next gradient in line
next Gradient Value
Gets or sets the next gradient value
not Connected Non Optional Inputs
Gets or sets the list of non connected mandatory inputs
particle Context
Gets or sets the particle context for contextual data
scene
Gets the scene where the particle system is built
system Context
Gets or sets the system context for contextual data
verbose
Gets or sets a boolean indicating that verbose mode is on
Accessors
emitter Inverse World Matrix
-
get emitterInverseWorldMatrix(): any
Gets the emitter inverse world matrix
Returns any
emitter Position
-
get emitterPosition(): Nullable<Vector3>
Gets the emitter position
Returns Nullable<Vector3>
emitter World Matrix
-
get emitterWorldMatrix(): any
Gets the emitter world matrix
Returns any
Methods
adapt
-
adapt(
source: NodeParticleConnectionPoint,
targetType: NodeParticleBlockConnectionPointTypes,
): anyAdapt a value to a target type
Parameters
- source: NodeParticleConnectionPoint
defines the value to adapt
- targetType: NodeParticleBlockConnectionPointTypes
defines the target type
Returns any
the adapted value
- source: NodeParticleConnectionPoint
emit Errors
-
Emits errors if any
Returns void
get Contextual Value
-
Gets the value associated with a contextual source
Parameters
- source: NodeParticleContextualSources
Source of the contextual value
Returns any
the value associated with the source
- source: NodeParticleContextualSources
get System Value
-
Gets the value associated with a system source
Parameters
- source: NodeParticleSystemSources
Source of the system value
Returns any
the value associated with the source
- source: NodeParticleSystemSources
register Build Promise
-
Registers an asynchronous operation that must complete before the node particle system is ready.
Parameters
- promise: Promise<void>
defines the promise to wait for
Returns void
- promise: Promise<void>
wait For Build Promises Async
-
Waits for all asynchronous build operations to complete.
Returns Promise<void>
a promise that resolves when all registered build operations are complete
Class used to store node based geometry build state