Entity

Felsorolások

Entity az absztrakt alaposztály minden olyan objektum számára, amely csatolható egy Node. Konkrét alosztályok közé tartozik Mesh, Camera, Box, Sphere, és Cylinder. Egy entitás nevet és azonosítót biztosít, de saját geometriát nem tartalmaz.

public abstract class Entity : SceneObject

Felsorolások

A3DObjectSceneObjectEntity

Felsorolások

NameTypeAccessDescription
ExcludedboolRead/WriteGets or sets the excluded.
ParentNodesList<Node>ReadGets the parent nodes.
ParentNodeNodeRead/WriteGets or sets the parent node.
SceneSceneReadGets the scene.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.
SignatureDescription
Entity(name: string)
GetBoundingBox()Gets the bounding box of current entity in its object space coordinate system.
GetEntityRendererKey()Gets the key of the entity renderer registered in the renderer
SceneObject(name: string)
A3DObject()
RemoveProperty(property: Property)Removes a dynamic property.
GetProperty(property: string)Get the value of specified property
SetProperty(property: string, value: object?)Sets the value of specified property
FindProperty(propertyName: string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Lásd még:

 Magyar