| Package | away3d.core.base |
| Interface | public interface ISubGeometry |
| Implementors | CompactSubGeometry, SubGeometry |
| Property | Defined By | ||
|---|---|---|---|
| autoDeriveVertexNormals : Boolean | ISubGeometry | ||
| autoDeriveVertexTangents : Boolean | ISubGeometry | ||
| faceNormals : Vector.<Number> [read-only] | ISubGeometry | ||
| indexData : Vector.<uint> [read-only]
Retrieves the object's indices as a uint array. | ISubGeometry | ||
| numTriangles : uint [read-only]
The amount of triangles that comprise the IRenderable geometry. | ISubGeometry | ||
| numVertices : uint [read-only]
The total amount of vertices in the SubGeometry. | ISubGeometry | ||
| parentGeometry : Geometry | ISubGeometry | ||
| scaleU : Number [read-only] | ISubGeometry | ||
| scaleV : Number [read-only] | ISubGeometry | ||
| secondaryUVOffset : int [read-only]
The offset into SecondaryUVData vector where the UVs are placed
| ISubGeometry | ||
| secondaryUVStride : uint [read-only]
The distance between two secondary UV elements
| ISubGeometry | ||
| UVData : Vector.<Number> [read-only]
Retrieves the object's uvs as a Number array. | ISubGeometry | ||
| UVOffset : int [read-only]
The offset into UVData vector where the UVs are placed
| ISubGeometry | ||
| UVStride : uint [read-only]
The distance between two consecutive UV elements
| ISubGeometry | ||
| vertexData : Vector.<Number> [read-only]
Retrieves the object's vertices as a Number array. | ISubGeometry | ||
| vertexNormalData : Vector.<Number> [read-only]
Retrieves the object's normals as a Number array. | ISubGeometry | ||
| vertexNormalOffset : int [read-only]
The offset into vertexNormalData where the normals are placed
| ISubGeometry | ||
| vertexNormalStride : uint [read-only]
The distance between two consecutive normal elements
This always applies to vertices, normals and tangents. | ISubGeometry | ||
| vertexOffset : int [read-only]
The offset into vertexData where the vertices are placed
| ISubGeometry | ||
| vertexPositionData : Vector.<Number> [read-only] | ISubGeometry | ||
| vertexStride : uint [read-only]
The distance between two consecutive vertex, normal or tangent elements
This always applies to vertices, normals and tangents. | ISubGeometry | ||
| vertexTangentData : Vector.<Number> [read-only]
Retrieves the object's tangents as a Number array. | ISubGeometry | ||
| vertexTangentOffset : int [read-only]
The offset into vertexTangentData where the tangents are placed
| ISubGeometry | ||
| vertexTangentStride : uint [read-only]
The distance between two consecutive tangent elements
This always applies to vertices, normals and tangents. | ISubGeometry | ||
| Method | Defined By | ||
|---|---|---|---|
activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for a secondary set of UV coordinates
| ISubGeometry | ||
activateUVBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for UV coordinates
| ISubGeometry | ||
activateVertexBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for vertex positions. | ISubGeometry | ||
activateVertexNormalBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for vertex normals
| ISubGeometry | ||
activateVertexTangentBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for vertex tangents
| ISubGeometry | ||
applyTransformation(transform:Matrix3D):void | ISubGeometry | ||
| ISubGeometry | |||
| ISubGeometry | |||
dispose():void | ISubGeometry | ||
fromVectors(vertices:Vector.<Number>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>):void | ISubGeometry | ||
getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D
Retrieves the IndexBuffer3D object that contains triangle indices. | ISubGeometry | ||
scale(scale:Number):void | ISubGeometry | ||
scaleUV(scaleU:Number = 1, scaleV:Number = 1):void | ISubGeometry | ||
| autoDeriveVertexNormals | property |
autoDeriveVertexNormals:Boolean public function get autoDeriveVertexNormals():Boolean public function set autoDeriveVertexNormals(value:Boolean):void| autoDeriveVertexTangents | property |
autoDeriveVertexTangents:Boolean public function get autoDeriveVertexTangents():Boolean public function set autoDeriveVertexTangents(value:Boolean):void| faceNormals | property |
faceNormals:Vector.<Number> [read-only] public function get faceNormals():Vector.<Number>| indexData | property |
indexData:Vector.<uint> [read-only] Retrieves the object's indices as a uint array.
public function get indexData():Vector.<uint>| numTriangles | property |
numTriangles:uint [read-only] The amount of triangles that comprise the IRenderable geometry.
public function get numTriangles():uint| numVertices | property |
numVertices:uint [read-only] The total amount of vertices in the SubGeometry.
public function get numVertices():uint| parentGeometry | property |
parentGeometry:Geometry public function get parentGeometry():Geometry public function set parentGeometry(value:Geometry):void| scaleU | property |
scaleU:Number [read-only] public function get scaleU():Number| scaleV | property |
scaleV:Number [read-only] public function get scaleV():Number| secondaryUVOffset | property |
secondaryUVOffset:int [read-only] The offset into SecondaryUVData vector where the UVs are placed
public function get secondaryUVOffset():int| secondaryUVStride | property |
secondaryUVStride:uint [read-only] The distance between two secondary UV elements
public function get secondaryUVStride():uint| UVData | property |
UVData:Vector.<Number> [read-only] Retrieves the object's uvs as a Number array.
public function get UVData():Vector.<Number>| UVOffset | property |
UVOffset:int [read-only] The offset into UVData vector where the UVs are placed
public function get UVOffset():int| UVStride | property |
UVStride:uint [read-only] The distance between two consecutive UV elements
public function get UVStride():uint| vertexData | property |
vertexData:Vector.<Number> [read-only] Retrieves the object's vertices as a Number array.
public function get vertexData():Vector.<Number>| vertexNormalData | property |
vertexNormalData:Vector.<Number> [read-only] Retrieves the object's normals as a Number array.
public function get vertexNormalData():Vector.<Number>| vertexNormalOffset | property |
vertexNormalOffset:int [read-only] The offset into vertexNormalData where the normals are placed
public function get vertexNormalOffset():int| vertexNormalStride | property |
vertexNormalStride:uint [read-only] The distance between two consecutive normal elements This always applies to vertices, normals and tangents.
public function get vertexNormalStride():uint| vertexOffset | property |
vertexOffset:int [read-only] The offset into vertexData where the vertices are placed
public function get vertexOffset():int| vertexPositionData | property |
vertexPositionData:Vector.<Number> [read-only] public function get vertexPositionData():Vector.<Number>| vertexStride | property |
vertexStride:uint [read-only] The distance between two consecutive vertex, normal or tangent elements This always applies to vertices, normals and tangents.
public function get vertexStride():uint| vertexTangentData | property |
vertexTangentData:Vector.<Number> [read-only] Retrieves the object's tangents as a Number array.
public function get vertexTangentData():Vector.<Number>| vertexTangentOffset | property |
vertexTangentOffset:int [read-only] The offset into vertexTangentData where the tangents are placed
public function get vertexTangentOffset():int| vertexTangentStride | property |
vertexTangentStride:uint [read-only] The distance between two consecutive tangent elements This always applies to vertices, normals and tangents.
public function get vertexTangentStride():uint| activateSecondaryUVBuffer | () | method |
public function activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):voidAssigns the attribute stream for a secondary set of UV coordinates
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
| activateUVBuffer | () | method |
public function activateUVBuffer(index:int, stage3DProxy:Stage3DProxy):voidAssigns the attribute stream for UV coordinates
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
| activateVertexBuffer | () | method |
public function activateVertexBuffer(index:int, stage3DProxy:Stage3DProxy):voidAssigns the attribute stream for vertex positions.
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
| activateVertexNormalBuffer | () | method |
public function activateVertexNormalBuffer(index:int, stage3DProxy:Stage3DProxy):voidAssigns the attribute stream for vertex normals
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
| activateVertexTangentBuffer | () | method |
public function activateVertexTangentBuffer(index:int, stage3DProxy:Stage3DProxy):voidAssigns the attribute stream for vertex tangents
Parameters
index:int — The attribute stream index for the vertex shader
| |
stage3DProxy:Stage3DProxy — The Stage3DProxy to assign the stream to
|
| applyTransformation | () | method |
public function applyTransformation(transform:Matrix3D):voidParameters
transform:Matrix3D |
| clone | () | method |
| cloneWithSeperateBuffers | () | method |
| dispose | () | method |
public function dispose():void| fromVectors | () | method |
public function fromVectors(vertices:Vector.<Number>, uvs:Vector.<Number>, normals:Vector.<Number>, tangents:Vector.<Number>):voidParameters
vertices:Vector.<Number> | |
uvs:Vector.<Number> | |
normals:Vector.<Number> | |
tangents:Vector.<Number> |
| getIndexBuffer | () | method |
public function getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3DRetrieves the IndexBuffer3D object that contains triangle indices.
Parameters
stage3DProxy:Stage3DProxy — The Context3D for which we request the buffer
|
IndexBuffer3D — The VertexBuffer3D object that contains triangle indices.
|
| scale | () | method |
public function scale(scale:Number):voidParameters
scale:Number |
| scaleUV | () | method |
public function scaleUV(scaleU:Number = 1, scaleV:Number = 1):voidParameters
scaleU:Number (default = 1) | |
scaleV:Number (default = 1) |