SceneDataNode

Description

sealed class Tinman.Engine.Scenes.Data.SceneDataNode

Derived from

Disposable abstract
ISceneDataNode

Default implementation of the ISceneDataNode interface.

Use the following methods to manipulate the bounds, the content, and children of this scene data node:

The ISceneDataNode.ChildAt method always returns SceneDataNode objects. The ISceneDataNode.ContentAt method always returns SceneDataContent objects.

Public / Methods

Child​Add


public method ChildAdd → (2)

isReplacing opt : bool = false

The value for ISceneDataNode.IsReplacedByChildren.

georef opt : CoordinateSystem = null

The coordinate system of the root node, see ISceneDataNode.GeorefGeographic and ISceneDataNode.GeorefLocal.

returns → SceneDataNode

The created child node.

Creates a new child node.

Child​Remove


public method ChildRemove → (1)

child in : SceneDataNode

The child to remove.

Removes the given child in from this scene database node.

Content​Add


public method ContentAdd → ()

returns → SceneDataContent

The created content node.

Creates a new scene content item.

Content​Remove


public method ContentRemove → (1)

content in : SceneDataContent

The content to remove.

Removes the given content in from this scene database node.

Public / Attributes

Bounds​Mutable


public attribute BoundsMutable → (get)

value : SceneDataBounds

[not-null]
The mutable bounds.

Returns the mutable bounds of this scene database node.

Georef​Local


public attribute GeorefLocal → (get,set)

value : AffineTransform

The terrain transform that defines the local coordinate system.

Returns the transformation that establishes the local coordinate system of this scene database node.

The AffineTransform transforms the local coordinate system of this scene database node to the one of its parent. If GeorefDatum is null, the transformation is always AffineTransform.Identity. If ISceneDataTree.Parent is null or GeorefDatum of ISceneDataTree.Parent is null, the parent coordinate system is the geocentric coordinate system that is established by Geocentric.For1 when called with GeorefDatum.

Name


public attribute Name → (get,set)

value : string

The non-empty name or null.

Optional name of this scene database tree item.