Package | away3d.core.base |
Class | public class SkinnedSubGeometry |
Inheritance | SkinnedSubGeometry SubGeometry |
Property | Defined 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 | ||
animation : AnimationBase
The animation that affects the geometry.
| SubGeometry | ||
autoDeriveVertexNormals : Boolean
True if the vertex normals should be derived from the geometry, false if the vertex normals are set
explicitly.
| SubGeometry | ||
autoDeriveVertexTangents : Boolean
True if the vertex tangents should be derived from the geometry, false if the vertex normals are set
explicitly.
| SubGeometry | ||
numTriangles : uint
The total amount of triangles in the SubGeometry.
| SubGeometry | ||
numVertices : uint
The total amount of vertices in the SubGeometry.
| SubGeometry | ||
useFaceWeights : Boolean
Indicates whether or not to take the size of faces into account when auto-deriving vertex normals and tangents.
| SubGeometry | ||
UVData : Vector
The raw texture coordinate data.
| SubGeometry | ||
vertexData : Vector
The raw vertex position data.
| SubGeometry | ||
vertexNormalData : Vector
The raw vertex normal data.
| SubGeometry |
Method | Defined 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 | ||
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 | ||
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 | ||
scale(scale:Number):void
Scales the geometry.
| SubGeometry | ||
scaleUV(scale:Number):void
Scales the uv coordinates.
| SubGeometry | ||
updateIndexData(indices:Vector):void
Updates the face indices of the SubGeometry.
| SubGeometry | ||
updateUVData(uvs:Vector):void
Updates the uv coordinates of the SubGeometry.
| SubGeometry | ||
updateVertexData(vertices:Vector):void
Updates the vertex data of the SubGeometry.
| SubGeometry | ||
updateVertexNormalData(vertexNormals:Vector):void
Updates the vertex normals of the SubGeometry.
| SubGeometry | ||
updateVertexTangentData(vertexTangents:Vector):void
Updates the vertex tangents of the SubGeometry.
| SubGeometry |
animatedNormalData | property |
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
animatedTangentData | property |
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
animatedVertexData | property |
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
jointIndexData | property |
jointIndexData:Vector
[read-write]The raw joint index data.
Implementation arcane function get jointIndexData():Vector
arcane function set jointIndexData(value:Vector):void
jointWeightsData | property |
jointWeightsData:Vector
[read-write]The raw joint weights data.
Implementation arcane function get jointWeightsData():Vector
arcane function set jointWeightsData(value:Vector):void
SkinnedSubGeometry | () | constructor |
public function SkinnedSubGeometry(jointsPerVertex:int)
Parameters
jointsPerVertex:int — The amount of joints that can be assigned per vertex.
|
clone | () | method |
public override function clone():SubGeometry
Clones the current object.
ReturnsSubGeometry —
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.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
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.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
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.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
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.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
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.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
VertexBuffer3D — The VertexBuffer3D object that contains vertex tangents.
|