ParticleModelRendererclass

Renders particles as models, using the particle's position, rotation, and size.

objectParticleControllerParticleModelRenderer
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.ParticleModelRenderer : Sandbox.ParticleController

Constructors1

Showing 1 constructors

Properties9

Showing 9 properties

public bool Sandbox.ParticleModelRenderer.CastShadows { get; set; }PUBLICGETSET

Indicates whether particles cast shadows.

Returns:bool

public virtual int Sandbox.ParticleModelRenderer.ComponentVersion { get; set; }PUBLICVIRTUALGETSET

Version of the component.

Returns:int

public System.Collections.Generic.List`1<Sandbox.Model> Sandbox.ParticleModelRenderer.Models { get; set; }PUBLICGETSETOBSOLETE

List of models for rendering. This property is obsolete; use `Sandbox.ParticleModelRenderer.Choices` instead.

Obsolete: Use Choices

Returns:List<Model>

public bool Sandbox.ParticleModelRenderer.RotateWithGameObject { get; set; }PUBLICGETSET

If true, the models will rotate relative to the this GameObject

Returns:bool

On this page