Packagelaya.webgl.shader.d2.skinAnishader
Classpublic class SkinMesh
InheritanceSkinMesh Inheritance Object

这里销毁的问题,后面待确认



Public Properties
 PropertyDefined By
  transform : Matrix
SkinMesh
Public Methods
 MethodDefined By
  
SkinMesh
  
getData(vb:VertexBuffer2D, ib:IndexBuffer2D, start:int):void
SkinMesh
  
getData2(vb:VertexBuffer2D, ib:IndexBuffer2D, start:int):void
SkinMesh
  
init(texture:Texture, vs:Array, ps:Array):void
SkinMesh
  
init2(texture:Texture, vs:Array, ps:Array, verticles:Array, uvs:Array):void
SkinMesh
  
render(context:*, x:Number, y:Number):void
SkinMesh
Property Detail
transformproperty
public var transform:Matrix

Constructor Detail
SkinMesh()Constructor
public function SkinMesh()



Method Detail
getData()method
public function getData(vb:VertexBuffer2D, ib:IndexBuffer2D, start:int):void

Parameters

vb:VertexBuffer2D
 
ib:IndexBuffer2D
 
start:int

getData2()method 
public function getData2(vb:VertexBuffer2D, ib:IndexBuffer2D, start:int):void

Parameters

vb:VertexBuffer2D
 
ib:IndexBuffer2D
 
start:int

init()method 
public function init(texture:Texture, vs:Array, ps:Array):void

Parameters

texture:Texture
 
vs:Array
 
ps:Array

init2()method 
public function init2(texture:Texture, vs:Array, ps:Array, verticles:Array, uvs:Array):void

Parameters

texture:Texture
 
vs:Array
 
ps:Array
 
verticles:Array
 
uvs:Array

render()method 
public function render(context:*, x:Number, y:Number):void

Parameters

context:*
 
x:Number
 
y:Number