ISceneDataContent

Description

interface Tinman.Engine.Scenes.Data.ISceneDataContent

Derived from

ISceneDataTree

Extended by

SceneDataContent sealed

Base interface for classes that represent a content item in a scene database node.

Each content item may contain zero or one data items of each type, see SceneDataFlags.

Public / Methods

Load


[OwnerReturn] [ThreadSafe]
public method Load → (1)

flags opt : SceneDataFlags = SceneDataFlags.All

The scene data flags of the data items to load.

returns → object [ ]

The loaded data items.

Loads the data items.

The loaded data items are collected by their object identity (see SystemUtil.EqualsIdentity) and remain active in the scene as long as one or more content items that have loaded it are still visible.

Name­Path


public method NamePath → (2)

node in : ISceneDataNode

[not-null]
The containing scene database node.

ancestor opt : ISceneDataNode = null

The ancestor node or null for the root node.

returns → string

The name path. Will be empty is all names are null.

Returns the path of all non-null names separated by slashes, starting at the given ancestor opt.