Package | away3d.core.base |
Class | public class SkinnedSubGeometry |
Inheritance | SkinnedSubGeometry CompactSubGeometry SubGeometryBase Object |
Property | Defined By | ||
---|---|---|---|
animatedData : Vector.<Number> [read-only]
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. | SubGeometryBase | ||
autoDeriveVertexTangents : Boolean
True if the vertex tangents should be derived from the geometry, false if the vertex normals are set
explicitly. | SubGeometryBase | ||
autoGenerateDummyUVs : Boolean
Defines whether a UV buffer should be automatically generated to contain dummy UV coordinates. | SubGeometryBase | ||
condensedIndexLookUp : Vector.<uint> [read-only]
If indices have been condensed, this will contain the original index for each condensed index. | SkinnedSubGeometry | ||
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. | SubGeometryBase | ||
numVertices : uint [read-only] | CompactSubGeometry | ||
parentGeometry : Geometry | SubGeometryBase | ||
scaleU : Number [read-only]
Scales the uv coordinates
| SubGeometryBase | ||
scaleV : Number [read-only] | SubGeometryBase | ||
secondaryUVOffset : int [read-only] | CompactSubGeometry | ||
secondaryUVStride : uint [read-only] | CompactSubGeometry | ||
useFaceWeights : Boolean
Indicates whether or not to take the size of faces into account when auto-deriving vertex normals and tangents. | SubGeometryBase | ||
UVData : Vector.<Number> [override] [read-only] | CompactSubGeometry | ||
UVOffset : int [override] [read-only] | CompactSubGeometry | ||
UVStride : uint [override] [read-only] | CompactSubGeometry | ||
vertexData : Vector.<Number> [override] [read-only] | CompactSubGeometry | ||
vertexNormalData : Vector.<Number> [override] [read-only] | CompactSubGeometry | ||
vertexNormalOffset : int [override] [read-only] | CompactSubGeometry | ||
vertexNormalStride : uint [override] [read-only] | CompactSubGeometry | ||
vertexOffset : int [override] [read-only] | CompactSubGeometry | ||
vertexStride : uint [override] [read-only] | CompactSubGeometry | ||
vertexTangentData : Vector.<Number> [override] [read-only] | CompactSubGeometry | ||
vertexTangentOffset : int [override] [read-only] | CompactSubGeometry | ||
vertexTangentStride : uint [override] [read-only] | CompactSubGeometry |
Method | Defined By | ||
---|---|---|---|
SkinnedSubGeometry(jointsPerVertex:int)
Creates a new SkinnedSubGeometry object. | SkinnedSubGeometry | ||
activateJointIndexBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for joint indices
| SkinnedSubGeometry | ||
activateJointWeightsBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for joint weights
| SkinnedSubGeometry | ||
activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):void | CompactSubGeometry | ||
activateUVBuffer(index:int, stage3DProxy:Stage3DProxy):void | CompactSubGeometry | ||
activateVertexBuffer(index:int, stage3DProxy:Stage3DProxy):void | CompactSubGeometry | ||
activateVertexNormalBuffer(index:int, stage3DProxy:Stage3DProxy):void | CompactSubGeometry | ||
activateVertexTangentBuffer(index:int, stage3DProxy:Stage3DProxy):void | CompactSubGeometry | ||
applyTransformation(transform:Matrix3D):void [override] | CompactSubGeometry | ||
[override]
Clones the current object. | SkinnedSubGeometry | ||
CompactSubGeometry | |||
dispose():void [override]
Cleans up any resources used by this object. | SkinnedSubGeometry | ||
fromVectors(verts:Vector.<Number>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>):void | CompactSubGeometry | ||
getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D
Retrieves the VertexBuffer3D object that contains triangle indices. | SubGeometryBase | ||
scale(scale:Number):void [override] | CompactSubGeometry | ||
scaleUV(scaleU:Number = 1, scaleV:Number = 1):void [override] | CompactSubGeometry | ||
updateAnimatedData(value:Vector.<Number>):void | SkinnedSubGeometry | ||
updateData(data:Vector.<Number>):void
Updates the vertex data. | CompactSubGeometry | ||
updateIndexData(indices:Vector.<uint>):void
Updates the face indices of the SubGeometry. | SubGeometryBase |
Method | Defined By | ||
---|---|---|---|
createBuffer(contextIndex:int, context:Context3D):void | CompactSubGeometry | ||
disposeIndexBuffers(buffers:Vector.<IndexBuffer3D>):void
Disposes all buffers in a given vector. | SubGeometryBase | ||
disposeVertexBuffers(buffers:Vector.<VertexBuffer3D>):void [override] | CompactSubGeometry | ||
invalidateBounds():void | SubGeometryBase | ||
invalidateBuffers(invalid:Vector.<Boolean>):void [override] | CompactSubGeometry | ||
stripBuffer(offset:int, numEntries:int):Vector.<Number> | CompactSubGeometry | ||
updateActiveBuffer(contextIndex:int):void | CompactSubGeometry | ||
updateDummyUVs(target:Vector.<Number>):Vector.<Number> | SubGeometryBase | ||
updateFaceTangents():void
Updates the tangents for each face. | SubGeometryBase | ||
updateVertexNormals(target:Vector.<Number>):Vector.<Number> [override] | CompactSubGeometry | ||
updateVertexTangents(target:Vector.<Number>):Vector.<Number> [override] | CompactSubGeometry | ||
uploadData(contextIndex:int):void [override] | SkinnedSubGeometry |
animatedData | property |
animatedData:Vector.<Number>
[read-only] The animated vertex positions when set explicitly if the skinning transformations couldn't be performed on GPU.
public function get animatedData():Vector.<Number>
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.
|
activateJointIndexBuffer | () | method |
public function activateJointIndexBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for joint indices
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
activateJointWeightsBuffer | () | method |
public function activateJointWeightsBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for joint weights
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
clone | () | method |
override public function clone():ISubGeometry
Clones the current object.
ReturnsISubGeometry — 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.
updateAnimatedData | () | method |
public function updateAnimatedData(value:Vector.<Number>):void
Parameters
value:Vector.<Number> |
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> |
uploadData | () | method |
override protected function uploadData(contextIndex:int):void
Parameters
contextIndex:int |