SceneEntity

Description

class Tinman.Engine.Scenes.SceneEntity

Default implementation of the ISceneEntity interface.

The ISceneObject.QueryDistance method uses ISpatialQuery.DistanceTo1 for the contained TerrainModel objects and ISceneObject.QueryDistance for the contained ISceneEntity objects.
The ISceneObject.QueryRay method generates ModelResult objects for the contained TerrainModel objects.

Public / Constructors

Scene​Entity


public constructor SceneEntity → ()

Creates a new instance of SceneEntity.

Public / Methods

Mesh​Bound​Add


public method MeshBoundAdd → (1)

meshBound in : IMeshBound

[not-null]
The mesh bound object to add.

Adds an aggregated IMeshBound to this scene entity.

Mesh​Bound​Remove


public method MeshBoundRemove → (1)

meshBound in : IMeshBound

[not-null]
The mesh bound object to remove.

Removes the given aggregated IMeshBound from this scene entity.

Protected / Constructors

Scene​Entity


protected constructor SceneEntity → (2)

callbackMask in : SceneObjectCallback

The value for ISceneObject.CallbackMask.

entityViewMask opt : int64 = ~0

The value for IEntityViewMask.EntityViewMask.

Creates a new instance of SceneEntity.