SceneEntityView

Description

abstract class Tinman.Engine.Scenes.SceneEntityView
<TSceneView ref : ISceneView>

Derived from

SceneObject abstract
ISceneEntityView

Extended by

CameraBase abstract
CameraFree sealed
CompassView sealed
Example_SceneEntityView sealed
OffscreenView sealed
ScreenGizmo sealed

Abstract base class for ISceneEntityView implementations.

The default implementation of ISceneEntityView.QueryScreen produces no query results. The ISceneObject.QuerySceneObjectResult method will generate a SceneEntityViewResult for this scene entity view.

Protected / Constructors

SceneEntityView


protected constructor SceneEntityView → ()

Creates a new instance of SceneEntityView.

Protected / Methods

ScreenLabel

4 overloads


protected method ScreenLabel1 → (2)

label in : IScreenLabel

The label to add.

world in : Vec3D

The world coordinates.

returns → int32

The ordinal of the added screen label or 0 if no screen label has been added, see ScreenLabelPlacement.Add.

Convenience method that adds a screen label centered at the given world coordinates.


protected method ScreenLabel2 → (3)

label in : IScreenLabel

The label to add.

world in : Vec3D

The world coordinates.

anchor in : Vec2F

The label anchor.

returns → int32

The ordinal of the added screen label or 0 if no screen label has been added, see ScreenLabelPlacement.Add.

Convenience method that adds a screen label centered at the given world coordinates.


protected method ScreenLabel3 → (2)

label in : IScreenLabel

The label to add.

screen in : Vec3F

The screen coordinates.

returns → int32

The ordinal of the added screen label or 0 if no screen label has been added, see ScreenLabelPlacement.Add.

Convenience method that adds a screen label centered at the given screen coordinates.


protected method ScreenLabel4 → (3)

label in : IScreenLabel

The label to add.

screen in : Vec3F

The screen coordinates.

anchor in : Vec2F

The label anchor.

returns → int32

The ordinal of the added screen label or 0 if no screen label has been added, see ScreenLabelPlacement.Add.

Convenience method that adds a screen label centered at the given screen coordinates.

Protected / Attributes

graphics


protected attribute graphics → (Graphics)

The currently attached graphics object.

sceneView


protected attribute sceneView → (TSceneView)

The currently attached ISceneView or null if not attached.