Packageaway3d.core.utils
Classpublic class ViewSourceObject
InheritanceViewSourceObject Inheritance Object



Public Properties
 PropertyDefined By
  screenIndices : Vector.<int>
ViewSourceObject
  screenUVTs : Vector.<Number>
ViewSourceObject
  screenVertices : Vector.<Number>
ViewSourceObject
  source : Object3D
ViewSourceObject
Public Methods
 MethodDefined By
  
ViewSourceObject
  
contains(priIndex:uint, renderer:Renderer, x:Number, y:Number):Boolean
ViewSourceObject
  
fivepointcut(priIndex:uint, renderer:Renderer, i0:Number, v01x:Number, v01y:Number, v01z:Number, i1:Number, v12x:Number, v12y:Number, v12z:Number, i2:Number, uv0:UV, uv01:UV, uv1:UV, uv12:UV, uv2:UV):Array
ViewSourceObject
  
getArea(startIndex:uint):Number
ViewSourceObject
  
getUVT(priIndex:uint, renderer:Renderer, x:Number, y:Number):Vector3D
ViewSourceObject
  
onepointcut(priIndex:uint, renderer:Renderer, v01x:Number, v01y:Number, v01z:Number):Array
ViewSourceObject
  
quarter(priIndex:uint, renderer:Renderer):Array
ViewSourceObject
Property Detail
screenIndicesproperty
public var screenIndices:Vector.<int>

screenUVTsproperty 
public var screenUVTs:Vector.<Number>

screenVerticesproperty 
public var screenVertices:Vector.<Number>

sourceproperty 
public var source:Object3D

Constructor Detail
ViewSourceObject()Constructor
public function ViewSourceObject(source:Object3D)



Parameters
source:Object3D
####INIT####
Method Detail
contains()method
public function contains(priIndex:uint, renderer:Renderer, x:Number, y:Number):Boolean

Parameters

priIndex:uint
 
renderer:Renderer
 
x:Number
 
y:Number

Returns
Boolean
fivepointcut()method 
public function fivepointcut(priIndex:uint, renderer:Renderer, i0:Number, v01x:Number, v01y:Number, v01z:Number, i1:Number, v12x:Number, v12y:Number, v12z:Number, i2:Number, uv0:UV, uv01:UV, uv1:UV, uv12:UV, uv2:UV):Array

Parameters

priIndex:uint
 
renderer:Renderer
 
i0:Number
 
v01x:Number
 
v01y:Number
 
v01z:Number
 
i1:Number
 
v12x:Number
 
v12y:Number
 
v12z:Number
 
i2:Number
 
uv0:UV
 
uv01:UV
 
uv1:UV
 
uv12:UV
 
uv2:UV

Returns
Array
getArea()method 
public function getArea(startIndex:uint):Number

Parameters

startIndex:uint

Returns
Number
getUVT()method 
public function getUVT(priIndex:uint, renderer:Renderer, x:Number, y:Number):Vector3D

Parameters

priIndex:uint
 
renderer:Renderer
 
x:Number
 
y:Number

Returns
Vector3D
onepointcut()method 
public function onepointcut(priIndex:uint, renderer:Renderer, v01x:Number, v01y:Number, v01z:Number):Array

Parameters

priIndex:uint
 
renderer:Renderer
 
v01x:Number
 
v01y:Number
 
v01z:Number

Returns
Array
quarter()method 
public function quarter(priIndex:uint, renderer:Renderer):Array

Parameters

priIndex:uint
 
renderer:Renderer

Returns
Array