PatchData class to provide base patch generation from control points and caching for faster updates.
public var controlPoints:Array
public var generatedPatch:Array
nodes:Array
Implementation public function get nodes():Array
public function set nodes(value:Array):void
patchInfo:Array
Implementation public function get patchInfo():Array
public function set patchInfo(value:Array):void
uvs:Array
Implementation public function get uvs():Array
public function set uvs(value:Array):void
vertices:Array
Implementation public function get vertices():Array
public function set vertices(value:Array):void
public function PatchData(nodesPrms:Array, verticesPrms:Array, uvsPrms:Array, patchInfoPrms:Array, resize:Number = 1)
Creates a new PatchData
object to be used in a BezierPatch primitive.
Parameters | nodesPrms:Array — Multi-dimensional array of nodes that reference the vertices.
|
|
| verticesPrms:Array — Multi-dimensional array of vertices that define the control points of the patches.
|
|
| uvsPrms:Array — Multi-dimensional array of UV coordinates for the patches.
|
|
| patchInfoPrms:Array — Array of parameters to define the patch.
|
|
| resize:Number (default = 1 ) — Scaling parameter to resize the patch coordinates.
|
####INIT####
public function build(refresh:Boolean = false):void
Parameters
| refresh:Boolean (default = false )
|
public function objClone(source:Object):*
Parameters
Returns
Tue Jun 7 2011, 11:27 PM +01:00