Torque3D Documentation / _generateds / ScenePolyhedralZone

ScenePolyhedralZone

Engine/source/scene/zones/scenePolyhedralZone.h

A simple zone space that is described by a polyhedron.

More...

Public Types

Protected Types

Protected Attributes

Fast polyhedron/AABB intersector used for testing SceneObject AABBs for overlap with the zone.

Protected Functions

Precompute polyhedron/AABB intersection data.

Update the OBB for the zone.

Public Functions

bool
getOverlappingZones(const Box3F & aabb, U32 * outZones, U32 & outNumZones)
bool

Called when the object is added to the sim.

Sets the Object -> World transform.

Detailed Description

A simple zone space that is described by a polyhedron.

By default, if no other polyhedron is assigned to a polyhedral zone, the polyhedron is initialized from the zone's object box.

Public Types

typedef ScenePolyhedralObject< SceneSimpleZone > Parent 

Protected Types

typedef PolyhedronBoxIntersector< PolyhedronType > IntersectorType 

Protected Attributes

IntersectorType mIntersector 

Fast polyhedron/AABB intersector used for testing SceneObject AABBs for overlap with the zone.

Protected Functions

_updateIntersector()

Precompute polyhedron/AABB intersection data.

_updateOrientedWorldBox()

Reimplemented from: SceneSimpleZone

Public Functions

ScenePolyhedralZone()

ScenePolyhedralZone(const PolyhedronType & polyhedron)

getOverlappingZones(const Box3F & aabb, U32 * outZones, U32 & outNumZones)

Reimplemented from: SceneSimpleZone

onAdd()

Reimplemented from: ScenePolyhedralObject

setTransform(const MatrixF & mat)

Reimplemented from: SceneSimpleZone

Reimplemented by: Portal