ISceneEntity

Description

interface Tinman.Engine.Scenes.ISceneEntity

Represents a scene entity.

The various callback methods are invoked in the following order:

Public / Methods

CreateView


[OwnerReturn]
public method CreateView → (1)

sceneView in : ISceneView

[not-null]
The scene view.

returns → ISceneEntityView

The scene entity view or null if none is required.

Creates a new view for this scene entity.

SceneAttach


public method SceneAttach → (2)

scene in : IScene

[not-null]
The scene.

entityViewMask in : int64

The view mask of this entity (see IEntityViewMask.EntityViewMask).

This entity has been attached to the given scene.

RenderException

If a graphics subsystem error has occurred.

SceneDetach


public method SceneDetach → ()

This entity has been detached from its scene.