Package | away3d.core.base |
Class | public class SkinnedSubGeometry |
Inheritance | SkinnedSubGeometry SubGeometry Object |
Property | Defined By | ||
---|---|---|---|
animatedNormalData : Vector.<Number>
The animated vertex normals when set explicitly if the skinning transformations couldn't be performed on GPU. | SkinnedSubGeometry | ||
animatedTangentData : Vector.<Number>
The animated vertex tangents when set explicitly if the skinning transformations couldn't be performed on GPU. | SkinnedSubGeometry | ||
animatedVertexData : Vector.<Number>
The animated vertex positions when set explicitly if the skinning transformations couldn't be performed on GPU. | SkinnedSubGeometry | ||
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 | ||
autoGenerateDummyUVs : Boolean
Defines whether a UV buffer should be automatically generated to contain dummy UV coordinates. | SubGeometry | ||
condensedIndexLookUp : Vector.<uint> [read-only]
If indices have been condensed, this will contain the original index for each condensed index. | SkinnedSubGeometry | ||
normalBufferOffset : int [read-only] | SubGeometry | ||
numCondensedJoints : uint [read-only]
The amount of joints used when joint indices have been condensed. | SkinnedSubGeometry | ||
numTriangles : uint [read-only]
The total amount of triangles in the SubGeometry. | SubGeometry | ||
numVertices : uint [read-only]
The total amount of vertices in the SubGeometry. | SubGeometry | ||
scaleU : Number [read-only] | SubGeometry | ||
scaleV : Number [read-only] | SubGeometry | ||
secondaryUVBufferOffset : int [read-only] | SubGeometry | ||
secondaryUVData : Vector.<Number> [read-only] | SubGeometry | ||
tangentBufferOffset : int [read-only] | SubGeometry | ||
useFaceWeights : Boolean
Indicates whether or not to take the size of faces into account when auto-deriving vertex normals and tangents. | SubGeometry | ||
UVBufferOffset : int [read-only] | SubGeometry | ||
UVData : Vector.<Number> [read-only]
The raw texture coordinate data. | SubGeometry | ||
vertexBufferOffset : int [read-only] | SubGeometry | ||
vertexData : Vector.<Number> [read-only]
The raw vertex position data. | SubGeometry | ||
vertexNormalData : Vector.<Number> [read-only]
The raw vertex normal data. | SubGeometry |
Method | Defined By | ||
---|---|---|---|
SkinnedSubGeometry(jointsPerVertex:int)
Creates a new SkinnedSubGeometry object. | SkinnedSubGeometry | ||
applyTransformation(transform:Matrix3D):void | SubGeometry | ||
[override]
Clones the current object. | SkinnedSubGeometry | ||
dispose():void [override]
Cleans up any resources used by this object. | SkinnedSubGeometry | ||
getCustomBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
A buffer allowing you any sort of data. | SubGeometry | ||
getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D
Retrieves the VertexBuffer3D object that contains triangle indices. | SubGeometry | ||
getJointIndexBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains joint indices. | SkinnedSubGeometry | ||
getJointWeightsBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains joint weights. | SkinnedSubGeometry | ||
getSecondaryUVBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D | SubGeometry | ||
getUVBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains texture coordinates. | SubGeometry | ||
getVertexBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D [override]
Retrieves the VertexBuffer3D object that contains vertex positions. | SkinnedSubGeometry | ||
getVertexNormalBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D [override]
Retrieves the VertexBuffer3D object that contains vertex normals. | SkinnedSubGeometry | ||
getVertexTangentBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D [override]
Retrieves the VertexBuffer3D object that contains vertex tangents. | SkinnedSubGeometry | ||
initCustomBuffer(numVertices:int, elementsPerVertex:int):void | SubGeometry | ||
scale(scale:Number):void
Scales the geometry. | SubGeometry | ||
scaleUV(scaleU:Number = 1, scaleV:Number = 1):void | SubGeometry | ||
updateCustomData(data:Vector.<Number>):void | SubGeometry | ||
updateIndexData(indices:Vector.<uint>):void
Updates the face indices of the SubGeometry. | SubGeometry | ||
updateSecondaryUVData(uvs:Vector.<Number>):void | SubGeometry | ||
updateUVData(uvs:Vector.<Number>):void
Updates the uv coordinates of the SubGeometry. | SubGeometry | ||
updateVertexData(vertices:Vector.<Number>):void
Updates the vertex data of the SubGeometry. | SubGeometry | ||
updateVertexNormalData(vertexNormals:Vector.<Number>):void
Updates the vertex normals of the SubGeometry. | SubGeometry | ||
updateVertexTangentData(vertexTangents:Vector.<Number>):void
Updates the vertex tangents of the SubGeometry. | SubGeometry |
Method | Defined By | ||
---|---|---|---|
disposeAllVertexBuffers():void | SubGeometry | ||
disposeForStage3D(stage3DProxy:Stage3DProxy):void [override] | SkinnedSubGeometry | ||
disposeIndexBuffers(buffers:Vector.<IndexBuffer3D>):void
Disposes all buffers in a given vector. | SubGeometry | ||
disposeVertexBuffers(buffers:Vector.<VertexBuffer3D>):void
Disposes all buffers in a given vector. | SubGeometry | ||
invalidateBuffers(buffers:Vector.<Context3D>):void
Invalidates all buffers in a vector, causing them the update when they are first requested. | SubGeometry |
animatedNormalData | property |
animatedNormalData:Vector.<Number>
The animated vertex normals when set explicitly if the skinning transformations couldn't be performed on GPU.
public function get animatedNormalData():Vector.<Number>
public function set animatedNormalData(value:Vector.<Number>):void
animatedTangentData | property |
animatedTangentData:Vector.<Number>
The animated vertex tangents when set explicitly if the skinning transformations couldn't be performed on GPU.
public function get animatedTangentData():Vector.<Number>
public function set animatedTangentData(value:Vector.<Number>):void
animatedVertexData | property |
animatedVertexData:Vector.<Number>
The animated vertex positions when set explicitly if the skinning transformations couldn't be performed on GPU.
public function get animatedVertexData():Vector.<Number>
public function set animatedVertexData(value:Vector.<Number>):void
condensedIndexLookUp | property |
condensedIndexLookUp:Vector.<uint>
[read-only] If indices have been condensed, this will contain the original index for each condensed index.
public function get condensedIndexLookUp():Vector.<uint>
jointIndexData | property |
jointIndexData:Vector.<Number>
[read-only] The raw joint index data.
arcane function get jointIndexData():Vector.<Number>
jointWeightsData | property |
jointWeightsData:Vector.<Number>
[read-only] The raw joint weights data.
arcane function get jointWeightsData():Vector.<Number>
numCondensedJoints | property |
numCondensedJoints:uint
[read-only] The amount of joints used when joint indices have been condensed.
public function get numCondensedJoints():uint
SkinnedSubGeometry | () | Constructor |
public function SkinnedSubGeometry(jointsPerVertex:int)
Creates a new SkinnedSubGeometry object.
ParametersjointsPerVertex:int — The amount of joints that can be assigned per vertex.
|
clone | () | method |
override public function clone():SubGeometry
Clones the current object.
ReturnsSubGeometry — An exact duplicate of the current object.
|
condenseIndexData | () | method |
arcane function condenseIndexData():void
dispose | () | method |
override public function dispose():void
Cleans up any resources used by this object.
disposeForStage3D | () | method |
override protected function disposeForStage3D(stage3DProxy:Stage3DProxy):void
Parameters
stage3DProxy:Stage3DProxy |
getJointIndexBuffer | () | method |
public function getJointIndexBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains joint indices.
Parameters
stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
VertexBuffer3D — The VertexBuffer3D object that contains joint indices.
|
getJointWeightsBuffer | () | method |
public function getJointWeightsBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains joint weights.
Parameters
stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
VertexBuffer3D — The VertexBuffer3D object that contains joint weights.
|
getVertexBuffer | () | method |
override public function getVertexBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex positions.
Parameters
stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
VertexBuffer3D — The VertexBuffer3D object that contains vertex positions.
|
getVertexNormalBuffer | () | method |
override public function getVertexNormalBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex normals.
Parameters
stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
VertexBuffer3D — The VertexBuffer3D object that contains vertex normals.
|
getVertexTangentBuffer | () | method |
override public function getVertexTangentBuffer(stage3DProxy:Stage3DProxy):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex tangents.
Parameters
stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
VertexBuffer3D — The VertexBuffer3D object that contains vertex tangents.
|
updateJointIndexData | () | method |
arcane function updateJointIndexData(value:Vector.<Number>):void
Parameters
value:Vector.<Number> |
updateJointWeightsData | () | method |
arcane function updateJointWeightsData(value:Vector.<Number>):void
Parameters
value:Vector.<Number> |