API

Class NodeParticleBuildState

Class used to store node based geometry build state

Index
buildId: number

Gets or sets the build identifier

capacity: number

Gets the capactity of the particle system to build

gradientIndex: number = 0

Gets or sets the index of the gradient to use

nextGradientIndex: number = 0

Gets or sets next gradient in line

nextGradientValue: any

Gets or sets the next gradient value

notConnectedNonOptionalInputs: NodeParticleConnectionPoint[] = []

Gets or sets the list of non connected mandatory inputs

particleContext: Nullable<Particle> = null

Gets or sets the particle context for contextual data

scene: Scene

Gets the scene where the particle system is built

systemContext: Nullable<ThinParticleSystem> = null

Gets or sets the system context for contextual data

verbose: boolean

Gets or sets a boolean indicating that verbose mode is on

  • Adapt 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