API Referenceglobal
SceneObjectFlagAccessorclass
object→SceneObjectFlagAccessor
Properties13
Showing 13 properties
public bool Sandbox.SceneObject.SceneObjectFlagAccessor.CastShadows { get; set; }
Whether this scene object should cast shadows.
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.ExcludeGameLayer { get; set; }
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.
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.IncludeInCubemap { get; set; }
Draw this in cubemaps
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.IsDecal { get; set; }
Obsolete: SceneObject.IsDecal is obsolete
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.IsOpaque { get; set; }
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.IsTranslucent { get; set; }
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.NeedsEnvironmentMap { get; set; }
True if this object needs cubemap information
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.NeedsLightProbe { get; set; }
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.OverlayLayer { get; set; }
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.SkyBoxLayer { get; set; }
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.ViewModelLayer { get; set; }
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.WantsFrameBufferCopy { get; set; }
Automatically sets the "FrameBufferCopyTexture" attribute within the material. This does the same thing as Render.CopyFrameBuffer(); except automatically if the pass allows for it.
Returns:
bool—public bool Sandbox.SceneObject.SceneObjectFlagAccessor.WantsPrePass { get; set; }
Returns:
bool—No results match this filter.