Package | away3d.core.base |
Interface | public interface IRenderable extends IMaterialOwner |
Implementors | SegmentSet, SkyBox, Sprite3D, SubMesh |
Property | Defined By | ||
---|---|---|---|
animator : IAnimator [read-only]
The animation used by the material to assemble the vertex code. | IMaterialOwner | ||
castsShadows : Boolean [read-only]
Indicates whether the renderable can cast shadows
| IRenderable | ||
indexData : Vector.<uint> [read-only]
Retrieves the object's indices as a uint array. | IRenderable | ||
inverseSceneTransform : Matrix3D [read-only]
The inverse scene transform object that transforms from world to model space. | IRenderable | ||
material : MaterialBase
The material with which to render the object. | IMaterialOwner | ||
mouseEnabled : Boolean [read-only]
Indicates whether the IRenderable should trigger mouse events, and hence should be rendered for hit testing. | IRenderable | ||
numTriangles : uint [read-only]
The amount of triangles that comprise the IRenderable geometry. | IRenderable | ||
numVertices : uint [read-only]
The total amount of vertices in the SubGeometry. | IRenderable | ||
sceneTransform : Matrix3D [read-only]
The transformation matrix that transforms from model to world space. | IRenderable | ||
shaderPickingDetails : Boolean [read-only] | IRenderable | ||
sourceEntity : Entity [read-only]
The entity that that initially provided the IRenderable to the render pipeline. | IRenderable | ||
UVData : Vector.<Number> [read-only]
Retrieves the object's uvs as a Number array. | IRenderable | ||
uvTransform : Matrix [read-only]
Provides a Matrix object to transform the uv coordinates, if the material supports it. | IRenderable | ||
vertexData : Vector.<Number> [read-only]
Retrieves the object's vertices as a Number array. | IRenderable | ||
vertexNormalData : Vector.<Number> [read-only]
Retrieves the object's normals as a Number array. | IRenderable | ||
vertexStride : uint [read-only]
The number of data elements in the buffers per vertex. | IRenderable | ||
vertexTangentData : Vector.<Number> [read-only]
Retrieves the object's tangents as a Number array. | IRenderable |
Method | Defined By | ||
---|---|---|---|
activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for a secondary set of UV coordinates
| IRenderable | ||
activateUVBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for UV coordinates
| IRenderable | ||
activateVertexBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for vertex positions. | IRenderable | ||
activateVertexNormalBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for vertex normals
| IRenderable | ||
activateVertexTangentBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns the attribute stream for vertex tangents
| IRenderable | ||
getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D
Retrieves the IndexBuffer3D object that contains triangle indices. | IRenderable | ||
getRenderSceneTransform(camera:Camera3D):Matrix3D
The transformation matrix that transforms from model to world space, adapted with any special operations needed to render. | IRenderable |
castsShadows | property |
castsShadows:Boolean
[read-only] Indicates whether the renderable can cast shadows
public function get castsShadows():Boolean
indexData | property |
indexData:Vector.<uint>
[read-only] Retrieves the object's indices as a uint array.
public function get indexData():Vector.<uint>
inverseSceneTransform | property |
inverseSceneTransform:Matrix3D
[read-only] The inverse scene transform object that transforms from world to model space.
public function get inverseSceneTransform():Matrix3D
mouseEnabled | property |
mouseEnabled:Boolean
[read-only] Indicates whether the IRenderable should trigger mouse events, and hence should be rendered for hit testing.
public function get mouseEnabled():Boolean
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
sceneTransform | property |
sceneTransform:Matrix3D
[read-only] The transformation matrix that transforms from model to world space.
public function get sceneTransform():Matrix3D
shaderPickingDetails | property |
shaderPickingDetails:Boolean
[read-only] public function get shaderPickingDetails():Boolean
sourceEntity | property |
sourceEntity:Entity
[read-only] The entity that that initially provided the IRenderable to the render pipeline.
public function get sourceEntity():Entity
UVData | property |
UVData:Vector.<Number>
[read-only] Retrieves the object's uvs as a Number array.
public function get UVData():Vector.<Number>
uvTransform | property |
uvTransform:Matrix
[read-only] Provides a Matrix object to transform the uv coordinates, if the material supports it. For TextureMaterial and TextureMultiPassMaterial, the animateUVs property should be set to true.
public function get uvTransform():Matrix
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>
vertexStride | property |
vertexStride:uint
[read-only] The number of data elements in the buffers per vertex. 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>
activateSecondaryUVBuffer | () | method |
public function activateSecondaryUVBuffer(index:int, stage3DProxy:Stage3DProxy):void
Assigns 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):void
Assigns 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):void
Assigns 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):void
Assigns 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):void
Assigns 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
|
getIndexBuffer | () | method |
public function getIndexBuffer(stage3DProxy:Stage3DProxy):IndexBuffer3D
Retrieves 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.
|
getRenderSceneTransform | () | method |
public function getRenderSceneTransform(camera:Camera3D):Matrix3D
The transformation matrix that transforms from model to world space, adapted with any special operations needed to render. For example, assuring certain alignedness which is not inherent in the scene transform. By default, this would return the scene transform.
Parameters
camera:Camera3D |
Matrix3D |