Api Sandbox ParticleModelRenderer
class

ParticleModelRenderer

public sealed class ParticleModelRenderer : ParticleController

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

Constructors

ParticleModelRenderer()

Properties

Name Type Description
RenderOptions RenderOptions Render options for advanced rendering.
Models List<Model> List of models for rendering. This property is obsolete; use Choices instead.
Choices List<ModelEntry> List of model entries available for rendering.
MaterialOverride Material Material override for rendering.
RotateWithGameObject Boolean If true, the models will rotate relative to the this GameObject
Scale ParticleFloat Scale factor for particle rendering.
CastShadows Boolean Indicates whether particles cast shadows.
ComponentVersion virtual Int32 Version of the component.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.ParticleModelRenderer