Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a rendering object based on a particle system

Hierarchy

Index

Constructors

Properties

onParticleSizeChanged: Observable<FluidRenderingObject>

Observable triggered when the size of the particle is changed

particleThicknessAlpha: number

Defines the alpha value of a particle

priority: number

Defines the priority of the object. Objects will be rendered in ascending order of priority

Accessors

  • Gets the index buffer (or null if the object is using instancing)

    Returns Nullable<DataBuffer>

  • get numParticles(): number
  • Gets the number of particles in this particle system

    Returns number

    The number of particles

  • get particleSize(): number
  • set particleSize(size: number): void
  • Gets or sets the size of the particle

    Returns number

  • Gets or sets the size of the particle

    Parameters

    • size: number

    Returns void

  • Gets the particle system

    Returns IParticleSystem

  • get useInstancing(): boolean
  • Indicates if the object uses instancing or not

    Returns boolean

  • get useTrueRenderingForDiffuseTexture(): boolean
  • set useTrueRenderingForDiffuseTexture(use: boolean): void
  • Gets or sets a boolean indicating that the diffuse texture should be generated based on the regular rendering of the particle system (default: true). Sometimes, generating the diffuse texture this way may be sub-optimal. In that case, you can disable this property, in which case the particle system will be rendered using a ALPHA_COMBINE mode instead of the one used by the particle system.

    Returns boolean

  • Gets or sets a boolean indicating that the diffuse texture should be generated based on the regular rendering of the particle system (default: true). Sometimes, generating the diffuse texture this way may be sub-optimal. In that case, you can disable this property, in which case the particle system will be rendered using a ALPHA_COMBINE mode instead of the one used by the particle system.

    Parameters

    • use: boolean

    Returns void

  • get useVelocity(): boolean
  • set useVelocity(use: boolean): void
  • Indicates if velocity of particles should be used when rendering the object. The vertex buffer set must contain a "velocity" buffer for this to work!

    Returns boolean

  • Indicates if velocity of particles should be used when rendering the object. The vertex buffer set must contain a "velocity" buffer for this to work!

    Parameters

    • use: boolean

    Returns void

  • get vertexBuffers(): {}
  • Gets the vertex buffers

    Returns {}

Methods

  • dispose(): void
  • Releases the ressources used by the class

    Returns void

  • getClassName(): string
  • isReady(): boolean
  • Indicates if the object is ready to be rendered

    Returns boolean

    True if everything is ready for the object to be rendered, otherwise false

  • renderDepthTexture(): void
  • renderDiffuseTexture(): void
  • renderThicknessTexture(): void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Property
  • Method
  • Static method

Settings

Theme