SceneDataContent

Description

sealed class Tinman.Engine.Scenes.Data.SceneDataContent

Derived from

Disposable abstract
ISceneDataContent

Default implementation of the ISceneDataContent interface.

The ISceneDataTree.Bounds property returns null initially, until BoundsMutable is accessed for the first time.

Public / Methods

Add


public method Add → (1)

item in : object own

The data item to add or null to add nothing.

returns → SceneDataFlags

The SceneDataFlags flag of item in or SceneDataFlags.None if item in is not a data item.

Adds a data item.

Flag​Of


[Pure]
public static method FlagOf → (1)

item in : object

The data item.

returns → SceneDataFlags

The single flag of SceneDataFlags or SceneDataFlags.None if item in is not a data item.

Returns the SceneDataFlags for the given data item.

Remove


public method Remove → (1)

item in : object

The data item.

returns → bool

true if item in has been removed,
false if item in is not a data item.

Removes the given data item.

Public / Attributes

Bounds​Mutable


public attribute BoundsMutable → (get)

value : SceneDataBounds

[not-null]
The mutable bounds.

Returns the mutable bounds of this scene content item.

Name


public attribute Name → (get,set)

value : string

The non-empty name or null.

Optional name of this scene database tree item.