Class SubSurfaceSceneComponent
Implements
Constructors
constructor
-
Creates a new instance of the component for the given scene
Parameters
- scene: Scene
Defines the scene to register the component in
Returns SubSurfaceSceneComponent
- scene: Scene
Properties
Readonlyname
name: "SubSurface" = SceneComponentConstants.NAME_SUBSURFACE
The component name helpful to identify the component in the list of scene components.
scene
The scene the component belongs to.
Methods
add From Container
-
Adds all the elements from the container to the scene
Returns void
dispose
-
Disposes the component and the associated resources
Returns void
rebuild
-
Rebuilds the elements related to this component in case of context lost for instance.
Returns void
register
-
Registers the component in a given scene
Returns void
remove From Container
-
Removes all the elements in the container from the scene
Returns void
serialize
-
Serializes the component data to the specified json object
Parameters
- serializationObject: any
The object to serialize to
Returns void
- serializationObject: any
Defines the Geometry Buffer scene component responsible to manage a G-Buffer useful in several rendering techniques.