The Entity object provides an abstract base object for all scene graph objects that are considered having a "presence" in the scene, in the sense that it can be considered an actual object with a position and a size (even if infinite or idealised), rather than a grouping. Entities can be partitioned in a space partitioning system and in turn collected by an EntityCollector.


Inherited from ObjectContainer3D -> Object3D -> NamedAssetBase -> EventDispatcher.


Created Entity object has properties:

assetType

[override] [read-only] String

bounds

The bounding volume approximating the volume occupied by the Entity. (BoundingVolumeBase)

ignoreTransform

[override] Boolean

maxX

[override] [read-only] The maximum extremum of the object along the X-axis.

maxY

[override] [read-only] The maximum extremum of the object along the Y-axis.

maxZ

[override] [read-only] The maximum extremum of the object along the Z-axis.

minX

[override] [read-only] The minimum extremum of the object along the X-axis.

minY

[override] [read-only] The minimum extremum of the object along the Y-axis.

minZ

[override] [read-only] The minimum extremum of the object along the Z-axis.

pickingCollider

Used by the raycast-based picking system to determine how the geometric contents of an entity are processed in order to offer more details for the picking collision object, including local position, normal vector and uv value. IPickingCollider: AS3PickingCollider, AutoPickingCollider, PBPickingCollider

pickingCollisionVO

[read-only] Returns a unique picking collision value object for the entity. (PickingCollisionVO)

scene

[override] A reference to the Scene3D object to which this object belongs. (Scene3D)

shaderPickingDetails

Used by the shader-based picking system to determine whether a separate render pass is made in order to offer more details for the picking collision object, including local position, normal vector and uv value. Boolean

showBounds

Boolean

staticNode

Defines whether or not the object will be moved or animated at runtime. Boolean

worldBounds

[read-only] (BoundingVolumeBase)


methods:

getEntityPartitionNode()

Gets a concrete EntityPartition3DNode subobject that is associated with this Entity instance (EntityNode)


isIntersectingRay(rayPosition, rayDirection)

Return Boolean

rayPosition - (Vector3D)

rayDirection - (Vector3D)


Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad