Torque3D Documentation / _generateds / TSSortedMesh::Cluster

TSSortedMesh::Cluster

Engine/source/ts/tsSortedMesh.h

This is a group of primitives that belong "together" in the rendering sequence.

More...

Public Attributes

go to this cluster if in back of plane, if backCluster<0, no cluster if frontCluster==backCluster, no plane to test against...

go to this cluster if in front of plane, if frontCluster<0, no cluster

Detailed Description

This is a group of primitives that belong "together" in the rendering sequence.

For example, if a player model had a helmet with a translucent visor, the visor would be a Cluster.

Public Attributes

S32 backCluster 

go to this cluster if in back of plane, if backCluster<0, no cluster if frontCluster==backCluster, no plane to test against...

S32 endPrimitive 
S32 frontCluster 

go to this cluster if in front of plane, if frontCluster<0, no cluster

F32 k 
Point3F normal 
S32 startPrimitive