Summary

A model scene object that can be rendered within a <see cref="T:Sandbox.SceneWorld" />.

Fields

ClipPlane Clipping plane for this scene object. Requires Sandbox.SceneObject.ClipPlaneEnabled to be <c>true</c>.
ClipPlaneEnabled Whether or not to use the clipping plane defined in Sandbox.SceneObject.ClipPlane.

Properties

Attributes
Batchable This object is not batchable by material for some reason ( example: has dynamic attributes that affect rendering )
Bounds Set or get the axis aligned bounding box for this object.
ColorTint Color tint of this scene object.
Flags Access to various advanced scene object flags.
LocalBounds Set the axis aligned bounding box by transforming by this objects transform.
MeshGroupMask State of all bodygroups of this object's model. You might be looking for Sandbox.SceneModel.SetBodyGroup(System.String,System.Int32).
Model The model this scene object will render.
Parent Movement parent of this scene object, if any.
Position Position of this scene object, relative to its Sandbox.SceneObject.Parent, or Sandbox.SceneWorld if parent is not set.
RenderingEnabled Whether this scene object should render or not.
RenderLayer For a layer to draw this object, the target layer must match (or be unset) and the flags must match
Rotation Rotation of this scene object, relative to its Sandbox.SceneObject.Parent, or Sandbox.SceneWorld if parent is not set.
Tags List of tags for this scene object.
Transform Transform of this scene object, relative to its Sandbox.SceneObject.Parent, or Sandbox.SceneWorld if parent is not set.
World The scene world this object belongs to.

Methods

AddChild
ClearMaterialOverride Clear all material replacements.
Delete Delete this scene object. You shouldn't access it anymore.
RemoveChild
SetMaterialGroup
SetMaterialOverride
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.