Class SceneObject

SceneObject class

The root class of objects that will be stored inside a scene.

public abstract class SceneObject : A3DObject

Constructors

NameDescription
SceneObject()Initialize an SceneObject.
SceneObject(string)Initialize an SceneObject with a default name

Properties

NameDescription
virtual Name { get; set; }Gets or sets the name.
Properties { get; }Gets the collection of all properties.
Scene { get; }Gets the scene that this object belongs to

Methods

NameDescription
FindProperty(string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
GetProperty(string)Get the value of specified property
RemoveProperty(Property)Removes a dynamic property.
RemoveProperty(string)Remove the specified property identified by name
SetProperty(string, object)Sets the value of specified property

See Also