Packageaway3d.core.mesh
Classpublic class Face
InheritanceFace Inheritance BaseMeshElement Inheritance LazyEventDispatcher

Mesh's triangle face

Public Properties
 PropertyDefined by
  area : Number
[read-only]
Face
  back : ITriangleMaterial
Face
  extra : Object
Face
  height : Number
Face
  material : ITriangleMaterial
Face
  maxX : Number
[read-only]
Face
  maxY : Number
[read-only]
Face
  maxZ : Number
[read-only]
Face
  minX : Number
[read-only]
Face
  minY : Number
[read-only]
Face
  minZ : Number
[read-only]
Face
  normal : Number3D
[read-only]
Face
  radius2 : Number
[read-only]
Face
  uv0 : UV
Face
  uv1 : UV
Face
  uv2 : UV
Face
  uv_u0 : Number
Face
  uv_u1 : Number
Face
  uv_u2 : Number
Face
  uv_v0 : Number
Face
  uv_v1 : Number
Face
  uv_v2 : Number
Face
  v0 : Vertex
Face
  v1 : Vertex
Face
  v2 : Vertex
Face
  vertices : Array
[read-only]
Face
 Inheritedvisible : Boolean
BaseMeshElement
  width : Number
Face
Public Methods
 MethodDefined by
  
Face
(v0:Vertex, v1:Vertex, v2:Vertex, material:ITriangleMaterial = null, uv0:UV = null, uv1:UV = null, uv2:UV = null)
Face
  
addOnMappingChange(listener:Function):void
Face
  
addOnMaterialChange(listener:Function):void
Face
 Inherited
addOnVertexChange(listener:Function):void
BaseMeshElement
 Inherited
addOnVertexValueChange(listener:Function):void
BaseMeshElement
 Inherited
addOnVisibleChange(listener:Function):void
BaseMeshElement
  
invert():void
Face
  
removeOnMappingChange(listener:Function):void
Face
  
removeOnMaterialChange(listener:Function):void
Face
 Inherited
removeOnVertexChange(listener:Function):void
BaseMeshElement
 Inherited
removeOnVertexValueChange(listener:Function):void
BaseMeshElement
 Inherited
removeOnVisibleChange(listener:Function):void
BaseMeshElement
Protected Methods
 MethodDefined by
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
LazyEventDispatcher
 Inherited
dispatchEvent(evt:Event):Boolean
LazyEventDispatcher
 Inherited
hasEventListener(type:String):Boolean
LazyEventDispatcher
  
Face
  
Face
 Inherited
BaseMeshElement
 Inherited
BaseMeshElement
 Inherited
BaseMeshElement
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
LazyEventDispatcher
 Inherited
willTrigger(type:String):Boolean
LazyEventDispatcher
Property detail
areaproperty
area:Number  [read-only]Implementation
    public function get area():Number
_backproperty 
arcane var _back:ITriangleMaterial
backproperty 
back:ITriangleMaterial  [read-write]Implementation
    public function get back():ITriangleMaterial
    public function set back(value:ITriangleMaterial):void
_dtproperty 
arcane var _dt:DrawTriangle
extraproperty 
public var extra:Object
heightproperty 
public var height:Number
_mappingmaterialproperty 
arcane var _mappingmaterial:IUVMaterial
_materialproperty 
arcane var _material:ITriangleMaterial
materialproperty 
material:ITriangleMaterial  [read-write]Implementation
    public function get material():ITriangleMaterial
    public function set material(value:ITriangleMaterial):void
maxXproperty 
maxX:Number  [read-only]Implementation
    public function get maxX():Number
maxYproperty 
maxY:Number  [read-only]Implementation
    public function get maxY():Number
maxZproperty 
maxZ:Number  [read-only]Implementation
    public function get maxZ():Number
minXproperty 
minX:Number  [read-only]Implementation
    public function get minX():Number
minYproperty 
minY:Number  [read-only]Implementation
    public function get minY():Number
minZproperty 
minZ:Number  [read-only]Implementation
    public function get minZ():Number
normalproperty 
normal:Number3D  [read-only]Implementation
    public function get normal():Number3D
radius2property 
radius2:Number  [read-only]Implementation
    public function get radius2():Number
_texturemappingproperty 
arcane var _texturemapping:Matrix
_uv0property 
arcane var _uv0:UV
uv0property 
uv0:UV  [read-write]Implementation
    public function get uv0():UV
    public function set uv0(value:UV):void
_uv1property 
arcane var _uv1:UV
uv1property 
uv1:UV  [read-write]Implementation
    public function get uv1():UV
    public function set uv1(value:UV):void
_uv2property 
arcane var _uv2:UV
uv2property 
uv2:UV  [read-write]Implementation
    public function get uv2():UV
    public function set uv2(value:UV):void
uv_u0property 
public var uv_u0:Number
uv_u1property 
public var uv_u1:Number
uv_u2property 
public var uv_u2:Number
uv_v0property 
public var uv_v0:Number
uv_v1property 
public var uv_v1:Number
uv_v2property 
public var uv_v2:Number
_v0property 
arcane var _v0:Vertex
v0property 
v0:Vertex  [read-write]Implementation
    public function get v0():Vertex
    public function set v0(value:Vertex):void
_v1property 
arcane var _v1:Vertex
v1property 
v1:Vertex  [read-write]Implementation
    public function get v1():Vertex
    public function set v1(value:Vertex):void
_v2property 
arcane var _v2:Vertex
v2property 
v2:Vertex  [read-write]Implementation
    public function get v2():Vertex
    public function set v2(value:Vertex):void
verticesproperty 
vertices:Array  [read-only]Implementation
    public function get vertices():Array
widthproperty 
public var width:Number
Constructor detail
Face()constructor
public function Face(v0:Vertex, v1:Vertex, v2:Vertex, material:ITriangleMaterial = null, uv0:UV = null, uv1:UV = null, uv2:UV = null)Parameters
v0:Vertex
 
v1:Vertex
 
v2:Vertex
 
material:ITriangleMaterial (default = null)
 
uv0:UV (default = null)
 
uv1:UV (default = null)
 
uv2:UV (default = null)
Init Parameters
Method detail
addOnMappingChange()method
public function addOnMappingChange(listener:Function):void Parameters
listener:Function
addOnMaterialChange()method 
public function addOnMaterialChange(listener:Function):void Parameters
listener:Function
front()method 
arcane function front(projection:Projection):Number Parameters
projection:Projection

Returns
Number
invert()method 
public function invert():void
mapping()method 
arcane function mapping(uvm:IUVMaterial):Matrix Parameters
uvm:IUVMaterial

Returns
Matrix
notifyMappingChange()method 
protected function notifyMappingChange():void
notifyMaterialChange()method 
protected function notifyMaterialChange():void
removeOnMappingChange()method 
public function removeOnMappingChange(listener:Function):void Parameters
listener:Function
removeOnMaterialChange()method 
public function removeOnMaterialChange(listener:Function):void Parameters
listener:Function
Wiki link
Click to go to the wiki page for 'away3d.core.mesh.Face'

Code examples

Comments