Api Sandbox SceneCustomObject
class

SceneCustomObject

public class SceneCustomObject : SceneObject

A scene object that allows custom rendering within a scene world.

Constructors

SceneCustomObject(SceneWorld sceneWorld)

Methods

virtual Void RenderSceneObject()

Called when this scene object needs to be rendered. Invokes RenderOverride by default. See the Graphics library for a starting point.

Fields

Name Type Description
RenderOverride Action<SceneObject> Called by default version of RenderSceneObject.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.SceneCustomObject