sandy.core.data.PrimitiveFace

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

Constructor

new(p_iPrimitive : sandy.core.scenegraph.Shape3D)
parameters
p_iPrimitive The primitive this face will be linked to
PrimitiveFace class This class is a tool for the primitives. It will stores all the polygons that are owned by the visible primitive face.

Instance Variables

aPolygons : Array<Polygon>

The array containing the polygon instances own by this primitive face

appearance(__getAppearance,__setAppearance) : sandy.materials.Appearance

The appearance of this face.

primitive(__getPrimitive,null) : sandy.core.scenegraph.Shape3D

Instance Methods

addPolygon(p_oPolyId : Int) : Void