API ReferenceSandbox
public sealed class Sandbox.ParticleModelRenderer : Sandbox.ParticleController
Renders particles as models, using the particle's position, rotation, and size.
Constructors
Showing 1 constructors
public ParticleModelRenderer()
No results match this filter.
Properties
Showing 8 properties
public bool Sandbox.ParticleModelRenderer.CastShadows { get; set; }
Indicates whether particles cast shadows.
public System.Collections.Generic.List`1<Sandbox.ParticleModelRenderer.ModelEntry> Sandbox.ParticleModelRenderer.Choices { get; set; }
List of model entries available for rendering.
public virtual int Sandbox.ParticleModelRenderer.ComponentVersion { get; set; }
Version of the component.
public Sandbox.Material Sandbox.ParticleModelRenderer.MaterialOverride { get; set; }
Material override for rendering.
public System.Collections.Generic.List`1<Sandbox.Model> Sandbox.ParticleModelRenderer.Models { get; set; }Obsolete
List of models for rendering. This property is obsolete; use `Sandbox.ParticleModelRenderer.Choices` instead.
Obsolete: Use Choices
public Sandbox.RenderOptions Sandbox.ParticleModelRenderer.RenderOptions { get; set; }
Render options for advanced rendering.
public bool Sandbox.ParticleModelRenderer.RotateWithGameObject { get; set; }
If true, the models will rotate relative to the this GameObject
public Sandbox.ParticleFloat Sandbox.ParticleModelRenderer.Scale { get; set; }
Scale factor for particle rendering.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.ParticleModelRenderer |