Constructor

new()

Variables

read onlyUVData:Vector<Float>

read onlyUVOffset:Int

read onlyUVStride:Int

read onlynumTriangles:Int

read onlyscaleU:Float

read onlyscaleV:Float

read onlyvertexData:Vector<Float>

read onlyvertexNormalData:Vector<Float>

read onlyvertexNormalOffset:Int

read onlyvertexNormalStride:Int

read onlyvertexOffset:Int

read onlyvertexPositionData:Vector<Float>

read onlyvertexStride:Int

read onlyvertexTangentData:Vector<Float>

read onlyvertexTangentOffset:Int

read onlyvertexTangentStride:Int

Methods

applyTransformation(transform:Matrix3D):Void

dispose():Void

getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D

Retrieves the VertexBuffer3D object that contains triangle indices.

Parameters:

context

The Context3D for which we request the buffer

Returns:

The VertexBuffer3D object that contains triangle indices.

scale(scale:Float):Void

Scales the geometry.

Parameters:

scale

The amount by which to scale.

@:value({ scaleV : 1, scaleU : 1 })scaleUV(scaleU:Float = 1, scaleV:Float = 1):Void

updateIndexData(indices:Vector<UInt>):Void

Updates the face indices of the SubGeometry.

Parameters:

indices

The face indices to upload.