Class ParticleStaticMeshShapeOptions

Information describing a ParticleEmitterStaticMeshShape.

Hierarchy

  • FrameworkObject
    • ParticleStaticMeshShapeOptions

Constructors

Properties

Accessors

Methods

Events

Constructors

Accessors

  • get isSequentiallyEmitted(): boolean
  • Returns boolean

  • set isSequentiallyEmitted(value): void
  • Parameters

    • value: boolean

    Returns void

  • get mesh(): Mesh
  • Mesh to spawn particles on. Must at least contain per-vertex position data encoded as 3D float vectors. Can optionally contain per-vertex normals encoded as 3D float vectors or as 4-byte unsigned-normalized format.

    Returns Mesh

  • set mesh(value): void
  • Mesh to spawn particles on. Must at least contain per-vertex position data encoded as 3D float vectors. Can optionally contain per-vertex normals encoded as 3D float vectors or as 4-byte unsigned-normalized format.

    Parameters

    Returns void

  • get meshHandle(): ResourceHandle<Mesh>
  • Mesh to spawn particles on. Must at least contain per-vertex position data encoded as 3D float vectors. Can optionally contain per-vertex normals encoded as 3D float vectors or as 4-byte unsigned-normalized format.

    Returns ResourceHandle<Mesh>

  • set meshHandle(value): void
  • Parameters

    Returns void

Methods

  • Marks the object as dirty.

    Parameters

    Returns void

  • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

    Parameters

    • action: (() => void)

      The scope where the object is modified.

        • (): void
        • Returns void

    Returns void

Events

onDirty: Event<[dirtyFlags: EnumValue<ManagedSettingsDirtyFlag, number>], void>

Event that is triggered when a member changes.