Packageaway3d.core.base
Classpublic class SkinnedSubGeometry
InheritanceSkinnedSubGeometry Inheritance SubGeometry

SkinnedSubGeometry provides a SubGeometry extension that contains data needed to skin vertices. In particular, it provides joint indices and weights.

Public Properties
 PropertyDefined by
  animatedNormalData : Vector
The animated vertex normals when set explicitly if the skinning transformations couldn't be performed on GPU.
SkinnedSubGeometry
  animatedTangentData : Vector
The animated vertex tangents when set explicitly if the skinning transformations couldn't be performed on GPU.
SkinnedSubGeometry
  animatedVertexData : Vector
The animated vertex positions when set explicitly if the skinning transformations couldn't be performed on GPU.
SkinnedSubGeometry
 Inheritedanimation : AnimationBase
The animation that affects the geometry.
SubGeometry
 InheritedautoDeriveVertexNormals : Boolean
True if the vertex normals should be derived from the geometry, false if the vertex normals are set explicitly.
SubGeometry
 InheritedautoDeriveVertexTangents : Boolean
True if the vertex tangents should be derived from the geometry, false if the vertex normals are set explicitly.
SubGeometry
 InheritednumTriangles : uint
The total amount of triangles in the SubGeometry.
SubGeometry
 InheritednumVertices : uint
The total amount of vertices in the SubGeometry.
SubGeometry
 InheriteduseFaceWeights : Boolean
Indicates whether or not to take the size of faces into account when auto-deriving vertex normals and tangents.
SubGeometry
 InheritedUVData : Vector
The raw texture coordinate data.
SubGeometry
 InheritedvertexData : Vector
The raw vertex position data.
SubGeometry
 InheritedvertexNormalData : Vector
The raw vertex normal data.
SubGeometry
Protected Properties
 PropertyDefined by
 Inherited_faceNormalsData : Vector
SubGeometry
 Inherited_faceNormalsDirty : Boolean = true
SubGeometry
 Inherited_faceTangents : Vector
SubGeometry
 Inherited_faceTangentsDirty : Boolean = true
SubGeometry
 Inherited_faceWeights : Vector
SubGeometry
 Inherited_indexBuffer : Vector
SubGeometry
 Inherited_indexBufferDirty : Vector
SubGeometry
 Inherited_indices : Vector
SubGeometry
 Inherited_maxIndex : int = -1
SubGeometry
 Inherited_numIndices : uint
SubGeometry
 Inherited_numTriangles : uint
SubGeometry
 Inherited_numVertices : uint
SubGeometry
 Inherited_uvBuffer : Vector
SubGeometry
 Inherited_uvBufferDirty : Vector
SubGeometry
 Inherited_uvs : Vector
SubGeometry
 Inherited_vertexBuffer : Vector
SubGeometry
 Inherited_vertexBufferDirty : Vector
SubGeometry
 Inherited_vertexNormalBuffer : Vector
SubGeometry
 Inherited_vertexNormalBufferDirty : Vector
SubGeometry
 Inherited_vertexNormals : Vector
SubGeometry
 Inherited_vertexNormalsDirty : Boolean = true
SubGeometry
 Inherited_vertexTangentBuffer : Vector
SubGeometry
 Inherited_vertexTangentBufferDirty : Vector
SubGeometry
 Inherited_vertexTangents : Vector
SubGeometry
 Inherited_vertexTangentsDirty : Boolean = true
SubGeometry
 Inherited_vertices : Vector
SubGeometry
Public Methods
 MethodDefined by
  
SkinnedSubGeometry
(jointsPerVertex:int)
Creates a new SkinnedSubGeometry object.
SkinnedSubGeometry
  
Clones the current object.
SkinnedSubGeometry
  
dispose():void
Cleans up any resources used by this object.
SkinnedSubGeometry
 Inherited
getIndexBuffer(context:Context3D, contextIndex:uint):IndexBuffer3D
Retrieves the VertexBuffer3D object that contains triangle indices.
SubGeometry
  
getJointIndexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains joint indices.
SkinnedSubGeometry
  
getJointWeightsBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains joint weights.
SkinnedSubGeometry
 Inherited
getUVBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains texture coordinates.
SubGeometry
  
getVertexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex positions.
SkinnedSubGeometry
  
getVertexNormalBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex normals.
SkinnedSubGeometry
  
getVertexTangentBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex tangents.
SkinnedSubGeometry
 Inherited
scale(scale:Number):void
Scales the geometry.
SubGeometry
 Inherited
scaleUV(scale:Number):void
Scales the uv coordinates.
SubGeometry
 Inherited
updateIndexData(indices:Vector):void
Updates the face indices of the SubGeometry.
SubGeometry
 Inherited
updateUVData(uvs:Vector):void
Updates the uv coordinates of the SubGeometry.
SubGeometry
 Inherited
updateVertexData(vertices:Vector):void
Updates the vertex data of the SubGeometry.
SubGeometry
 Inherited
updateVertexNormalData(vertexNormals:Vector):void
Updates the vertex normals of the SubGeometry.
SubGeometry
 Inherited
updateVertexTangentData(vertexTangents:Vector):void
Updates the vertex tangents of the SubGeometry.
SubGeometry
Protected Methods
 MethodDefined by
 Inherited
disposeIndexBuffers(buffers:Vector):void
Disposes all buffers in a given vector.
SubGeometry
 Inherited
disposeVertexBuffers(buffers:Vector):void
Disposes all buffers in a given vector.
SubGeometry
 Inherited
invalidateBuffers(buffers:Vector):void
Invalidates all buffers in a vector, causing them the update when they are first requested.
SubGeometry
Property detail
animatedNormalDataproperty
animatedNormalData:Vector  [read-write]

The animated vertex normals when set explicitly if the skinning transformations couldn't be performed on GPU.

Implementation
    public function get animatedNormalData():Vector
    public function set animatedNormalData(value:Vector):void
animatedTangentDataproperty 
animatedTangentData:Vector  [read-write]

The animated vertex tangents when set explicitly if the skinning transformations couldn't be performed on GPU.

Implementation
    public function get animatedTangentData():Vector
    public function set animatedTangentData(value:Vector):void
animatedVertexDataproperty 
animatedVertexData:Vector  [read-write]

The animated vertex positions when set explicitly if the skinning transformations couldn't be performed on GPU.

Implementation
    public function get animatedVertexData():Vector
    public function set animatedVertexData(value:Vector):void
jointIndexDataproperty 
jointIndexData:Vector  [read-write]

The raw joint index data.

Implementation
    arcane function get jointIndexData():Vector
    arcane function set jointIndexData(value:Vector):void
jointWeightsDataproperty 
jointWeightsData:Vector  [read-write]

The raw joint weights data.

Implementation
    arcane function get jointWeightsData():Vector
    arcane function set jointWeightsData(value:Vector):void
Constructor detail
SkinnedSubGeometry()constructor
public function SkinnedSubGeometry(jointsPerVertex:int)Parameters
jointsPerVertex:int — The amount of joints that can be assigned per vertex.
Init Parameters
Method detail
clone()method
public override function clone():SubGeometry

Clones the current object.

Returns
SubGeometry — An exact duplicate of the current object.
dispose()method 
public override function dispose():void

Cleans up any resources used by this object.

getJointIndexBuffer()method 
public function getJointIndexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D

Retrieves the VertexBuffer3D object that contains joint indices.

Parameters
context:Context3D — The Context3D for which we request the buffer
 
contextIndex:uint

Returns
VertexBuffer3D — The VertexBuffer3D object that contains joint indices.
getJointWeightsBuffer()method 
public function getJointWeightsBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D

Retrieves the VertexBuffer3D object that contains joint weights.

Parameters
context:Context3D — The Context3D for which we request the buffer
 
contextIndex:uint

Returns
VertexBuffer3D — The VertexBuffer3D object that contains joint weights.
getVertexBuffer()method 
public override function getVertexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D

Retrieves the VertexBuffer3D object that contains vertex positions.

Parameters
context:Context3D — The Context3D for which we request the buffer
 
contextIndex:uint

Returns
VertexBuffer3D — The VertexBuffer3D object that contains vertex positions.
getVertexNormalBuffer()method 
public override function getVertexNormalBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D

Retrieves the VertexBuffer3D object that contains vertex normals.

Parameters
context:Context3D — The Context3D for which we request the buffer
 
contextIndex:uint

Returns
VertexBuffer3D — The VertexBuffer3D object that contains vertex normals.
getVertexTangentBuffer()method 
public override function getVertexTangentBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D

Retrieves the VertexBuffer3D object that contains vertex tangents.

Parameters
context:Context3D — The Context3D for which we request the buffer
 
contextIndex:uint

Returns
VertexBuffer3D — The VertexBuffer3D object that contains vertex tangents.
Wiki link
Click to go to the wiki page for 'away3d.core.base.SkinnedSubGeometry'

Code examples

Comments