Api SceneObjectFlagAccessor
class

SceneObjectFlagAccessor

public class SceneObjectFlagAccessor

Properties

Name Type Description
CastShadows Boolean Whether this scene object should cast shadows.
IsOpaque Boolean
IsTranslucent Boolean
IsDecal Boolean
OverlayLayer Boolean
ExcludeGameLayer Boolean Don't render in the opaque/translucent game passes. This is useful when you want to only render in the Bloom layer, rather than additionally to it.
ViewModelLayer Boolean
SkyBoxLayer Boolean
NeedsLightProbe Boolean
NeedsEnvironmentMap Boolean True if this object needs cubemap information
WantsFrameBufferCopy Boolean Automatically sets the "FrameBufferCopyTexture" attribute within the material. This does the same thing as Render.CopyFrameBuffer(); except automatically if the pass allows for it.
IncludeInCubemap Boolean Draw this in cubemaps
WantsPrePass Boolean
Assembly: Sandbox.Engine Declaring Type: SceneObject Full Name: Sandbox.SceneObject.SceneObjectFlagAccessor