API

Class NodeParticleSystemSet

Defines a set of particle systems defined as a node graph. NPE: #K6F1ZB#1 PG: #ZT509U#1

Index
attachedBlocks: NodeParticleBlock[] = []

Gets an array of blocks that needs to be serialized even if they are not yet connected

comment: string

A free comment about the set

editorData: any = null

Gets or sets data used by visual editor

name: string

The name of the set

onBuildObservable: any = ...

Observable raised when the particle set is built

snippetId: string

Snippet ID if the material was created from the snippet server

EditorURL: string = ...

Define the Url to load node editor script

SnippetUrl: any = Constants.SnippetUrl

Define the Url to load snippets

  • Clear the current graph and load a new one from a serialization object

    Parameters

    • source: any

      defines the JSON representation of the particle set

    • merge: boolean = false

      defines whether or not the source must be merged or replace the current content

    Returns void