protected var _autoDeriveVertexNormals:Boolean = true
protected var _autoDeriveVertexTangents:Boolean = true
protected var _autoGenerateUVs:Boolean = false
protected var _faceNormals:Vector.<Number>
protected var _faceNormalsDirty:Boolean = true
protected var _faceTangents:Vector.<Number>
protected var _faceTangentsDirty:Boolean = true
protected var _faceWeights:Vector.<Number>
protected var _indexBuffer:Vector.<IndexBuffer3D>
protected var _indexBufferContext:Vector.<Context3D>
protected var _indices:Vector.<uint>
protected var _indicesInvalid:Vector.<Boolean>
protected var _numIndices:uint
protected var _numTriangles:uint
protected var _uvsDirty:Boolean = true
protected var _vertexData:Vector.<Number>
protected var _vertexNormalsDirty:Boolean = true
protected var _vertexTangentsDirty:Boolean = true
autoDeriveVertexNormals:Boolean
True if the vertex normals should be derived from the geometry, false if the vertex normals are set
explicitly.
Implementation public function get autoDeriveVertexNormals():Boolean
public function set autoDeriveVertexNormals(value:Boolean):void
autoDeriveVertexTangents:Boolean
True if the vertex tangents should be derived from the geometry, false if the vertex normals are set
explicitly.
Implementation public function get autoDeriveVertexTangents():Boolean
public function set autoDeriveVertexTangents(value:Boolean):void
autoGenerateDummyUVs:Boolean
Defines whether a UV buffer should be automatically generated to contain dummy UV coordinates.
Set to true if a geometry lacks UV data but uses a material that requires it, or leave as false
in cases where UV data is explicitly defined or the material does not require UV data.
Implementation public function get autoGenerateDummyUVs():Boolean
public function set autoGenerateDummyUVs(value:Boolean):void
numTriangles:uint
[read-only]
The total amount of triangles in the SubGeometry.
Implementation public function get numTriangles():uint
parentGeometry:Geometry
Implementation public function get parentGeometry():Geometry
public function set parentGeometry(value:Geometry):void
scaleU:Number
[read-only]
Scales the uv coordinates
Implementation public function get scaleU():Number
scaleV:Number
[read-only]
Implementation public function get scaleV():Number
useFaceWeights:Boolean
Indicates whether or not to take the size of faces into account when auto-deriving vertex normals and tangents.
Implementation public function get useFaceWeights():Boolean
public function set useFaceWeights(value:Boolean):void
UVData:Vector.<Number>
[read-only]
Implementation public function get UVData():Vector.<Number>
UVOffset:int
[read-only]
Implementation public function get UVOffset():int
UVStride:uint
[read-only]
Implementation public function get UVStride():uint
vertexData:Vector.<Number>
[read-only]
Implementation public function get vertexData():Vector.<Number>
vertexNormalData:Vector.<Number>
[read-only]
Implementation public function get vertexNormalData():Vector.<Number>
vertexNormalOffset:int
[read-only]
Implementation public function get vertexNormalOffset():int
vertexNormalStride:uint
[read-only]
Implementation public function get vertexNormalStride():uint
vertexOffset:int
[read-only]
Implementation public function get vertexOffset():int
vertexStride:uint
[read-only]
Implementation public function get vertexStride():uint
vertexTangentData:Vector.<Number>
[read-only]
Implementation public function get vertexTangentData():Vector.<Number>
vertexTangentOffset:int
[read-only]
Implementation public function get vertexTangentOffset():int
vertexTangentStride:uint
[read-only]
Implementation public function get vertexTangentStride():uint
public function SubGeometryBase()
public function applyTransformation(transform:Matrix3D):void
Parameters
public function dispose():void
protected function disposeIndexBuffers(buffers:Vector.<IndexBuffer3D>):void
Disposes all buffers in a given vector.
Parameters
| buffers:Vector.<IndexBuffer3D> — The vector of buffers to dispose.
|
protected function disposeVertexBuffers(buffers:Vector.<VertexBuffer3D>):void
Disposes all buffers in a given vector.
Parameters
| buffers:Vector.<VertexBuffer3D> — The vector of buffers to dispose.
|
public function getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D
Retrieves the VertexBuffer3D object that contains triangle indices.
Parameters
| stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
Returns | IndexBuffer3D — The VertexBuffer3D object that contains triangle indices.
|
protected function invalidateBounds():void
protected function invalidateBuffers(invalid:Vector.<Boolean>):void
Invalidates all buffers in a vector, causing them the update when they are first requested.
Parameters
| invalid:Vector.<Boolean> — The vector of buffers to invalidate.
|
public function scale(scale:Number):void
Scales the geometry.
Parameters
| scale:Number — The amount by which to scale.
|
public function scaleUV(scaleU:Number = 1, scaleV:Number = 1):void
Parameters
| scaleU:Number (default = 1 )
|
|
| scaleV:Number (default = 1 )
|
protected function updateDummyUVs(target:Vector.<Number>):Vector.<Number>
Parameters
Returns protected function updateFaceTangents():void
Updates the tangents for each face.
public function updateIndexData(indices:Vector.<uint>):void
Updates the face indices of the SubGeometry.
Parameters
| indices:Vector.<uint> — The face indices to upload.
|
protected function updateVertexNormals(target:Vector.<Number>):Vector.<Number>
Updates the vertex normals based on the geometry.
Parameters
Returns protected function updateVertexTangents(target:Vector.<Number>):Vector.<Number>
Updates the vertex tangents based on the geometry.
Parameters
Returns
Thu Nov 15 2012, 12:08 PM Z