Packageaway3d.primitives.data
Classpublic class PatchData

PatchData definition for constructing BezierPatches.

Public Properties
 PropertyDefined by
  controlPoints : Array
PatchData
  generatedPatch : Array
PatchData
  nodes : Array
The nodes which represent the vertices making up the patch.
PatchData
  patchInfo : Array
Patch information to define segments, connectors, fills and orientations
PatchData
  uvs : Array
UV definitions for the orientations for the patch
PatchData
  vertices : Array
The vertices of the patch tha are referenced by the nodes
PatchData
Public Methods
 MethodDefined by
  
PatchData
(nodesPrms:Array, verticesPrms:Array, uvsPrms:Array, patchInfoPrms:Array, resize:Number = 1)
Set up the patch data
PatchData
  
build(refresh:Boolean = false):void
PatchData
  
objClone(source:Object):*
PatchData
Property detail
controlPointsproperty
public var controlPoints:Array
generatedPatchproperty 
public var generatedPatch:Array
nodesproperty 
nodes:Array  [read-write]

The nodes which represent the vertices making up the patch.

Implementation
    public function get nodes():Array
    public function set nodes(value:Array):void
patchInfoproperty 
patchInfo:Array  [read-write]

Patch information to define segments, connectors, fills and orientations

Implementation
    public function get patchInfo():Array
    public function set patchInfo(value:Array):void
uvsproperty 
uvs:Array  [read-write]

UV definitions for the orientations for the patch

Implementation
    public function get uvs():Array
    public function set uvs(value:Array):void
verticesproperty 
vertices:Array  [read-write]

The vertices of the patch tha are referenced by the nodes

Implementation
    public function get vertices():Array
    public function set vertices(value:Array):void
Constructor detail
PatchData()constructor
public function PatchData(nodesPrms:Array, verticesPrms:Array, uvsPrms:Array, patchInfoPrms:Array, resize:Number = 1)Parameters
nodesPrms:Array
 
verticesPrms:Array
 
uvsPrms:Array
 
patchInfoPrms:Array
 
resize:Number (default = 1)
Init Parameters
Method detail
build()method
public function build(refresh:Boolean = false):void Parameters
refresh:Boolean (default = false)
objClone()method 
public function objClone(source:Object):* Parameters
source:Object

Returns
*
Wiki link
Click to go to the wiki page for 'away3d.primitives.data.PatchData'

Code examples

Comments