com.azalient.api.b.display
Interface IUnitShape


public interface IUnitShape

A unit shape is used to draw vehicles in Solid and Outline drawing mode (RenderMode) within Commuter.


Method Summary
 UnitShapeForm form()
          The form of this unit shape object
 IFace[] transformedFaces(IXyz origin, IXyz vx, IXyz vy, IXyz vz)
          Returns an array of transformed faces for drawing this shape.
 

Method Detail

form

UnitShapeForm form()
The form of this unit shape object


transformedFaces

IFace[] transformedFaces(IXyz origin,
                         IXyz vx,
                         IXyz vy,
                         IXyz vz)
Returns an array of transformed faces for drawing this shape. The parameters passed are a view transformation matrix.