Packagesandy.core.data
Classpublic final class PrimitiveFace

PrimitiveFace is a tool for generated primitive, allowing users (for some specifics primitives) to get the face polygon array to have an easier manipulation.



Public Properties
 PropertyDefined by
  aPolygons : Array
The array containing the polygon instances own by this primitive face
PrimitiveFace
  appearance : Appearance
PrimitiveFace
  primitive : Shape3D
[read-only]
PrimitiveFace
Public Methods
 MethodDefined by
  
PrimitiveFace(p_iPrimitive:Shape3D)
PrimitiveFace class This class is a tool for the primitives.
PrimitiveFace
  
addPolygon(p_oPolyId:uint):void
PrimitiveFace
Property detail
aPolygonsproperty
public var aPolygons:Array

The array containing the polygon instances own by this primitive face

appearanceproperty 
appearance:Appearance  [read-write]Implementation
    public function get appearance():Appearance
    public function set appearance(value:Appearance):void
primitiveproperty 
primitive:Shape3D  [read-only]Implementation
    public function get primitive():Shape3D
Constructor detail
PrimitiveFace()constructor
public function PrimitiveFace(p_iPrimitive:Shape3D)

PrimitiveFace class This class is a tool for the primitives. It will stores all the polygons that are owned by the visible primitive face.

Parameters
p_iPrimitive:Shape3D — The primitive this face will be linked to
Method detail
addPolygon()method
public function addPolygon(p_oPolyId:uint):voidParameters
p_oPolyId:uint