Package | away3d.core.base |
Interface | public interface IRenderable extends IMaterialOwner |
Implementors | SegmentsBase, SkyBox, Sprite3D, SubMesh |
Property | Defined by | ||
---|---|---|---|
animation : AnimationBase
The animation used by the material to assemble the vertex code.
| IMaterialOwner | ||
animationState : AnimationStateBase | IMaterialOwner | ||
castsShadows : Boolean [read-only]
Indicates whether the renderable can cast shadows
| 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 | ||
modelViewProjection : Matrix3D [read-only]
The model-view-projection (MVP) matrix used to transform from model to homogeneous projection space.
| IRenderable | ||
mouseDetails : Boolean [read-only]
Indicates whether the IRenderable needs to provide mouse event details, such as position and uv coordinates.
| IRenderable | ||
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 | ||
sceneTransform : Matrix3D [read-only]
The transformation matrix that transforms from model to world space.
| IRenderable | ||
sourceEntity : Entity
[read-only]
The entity that that initially provided the IRenderable to the render pipeline.
| IRenderable | ||
zIndex : Number [read-only]
The distance of the IRenderable object to the view, used to sort per object.
| IRenderable |
Method | Defined by | ||
---|---|---|---|
getIndexBuffer(context:Context3D, contextIndex:uint):IndexBuffer3D
Retrieves the VertexBuffer3D object that contains triangle indices.
| IRenderable | ||
getUVBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains texture coordinates.
| IRenderable | ||
getVertexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex positions.
| IRenderable | ||
getVertexNormalBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex normals.
| IRenderable | ||
getVertexTangentBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex tangents.
| IRenderable |
castsShadows | property |
castsShadows:Boolean
[read-only]Indicates whether the renderable can cast shadows
Implementation public function get castsShadows():Boolean
inverseSceneTransform | property |
inverseSceneTransform:Matrix3D
[read-only]The inverse scene transform object that transforms from world to model space.
Implementation public function get inverseSceneTransform():Matrix3D
modelViewProjection | property |
modelViewProjection:Matrix3D
[read-only]The model-view-projection (MVP) matrix used to transform from model to homogeneous projection space.
Implementation public function get modelViewProjection():Matrix3D
mouseDetails | property |
mouseDetails:Boolean
[read-only]Indicates whether the IRenderable needs to provide mouse event details, such as position and uv coordinates.
Implementation public function get mouseDetails():Boolean
mouseEnabled | property |
mouseEnabled:Boolean
[read-only]Indicates whether the IRenderable should trigger mouse events, and hence should be rendered for hit testing.
Implementation public function get mouseEnabled():Boolean
numTriangles | property |
numTriangles:uint
[read-only]The amount of triangles that comprise the IRenderable geometry.
Implementation public function get numTriangles():uint
sceneTransform | property |
sceneTransform:Matrix3D
[read-only]The transformation matrix that transforms from model to world space.
Implementation public function get sceneTransform():Matrix3D
sourceEntity | property |
sourceEntity:Entity
[read-only]The entity that that initially provided the IRenderable to the render pipeline.
Implementation public function get sourceEntity():Entity
zIndex | property |
zIndex:Number
[read-only]The distance of the IRenderable object to the view, used to sort per object.
Implementation public function get zIndex():Number
getIndexBuffer | () | method |
public function getIndexBuffer(context:Context3D, contextIndex:uint):IndexBuffer3D
Retrieves the VertexBuffer3D object that contains triangle indices.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
IndexBuffer3D — The VertexBuffer3D object that contains triangle indices.
|
getUVBuffer | () | method |
public function getUVBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains texture coordinates.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
VertexBuffer3D — The VertexBuffer3D object that contains texture coordinates.
|
getVertexBuffer | () | method |
public function getVertexBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex positions.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
VertexBuffer3D — The VertexBuffer3D object that contains vertex positions.
|
getVertexNormalBuffer | () | method |
public function getVertexNormalBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex normals.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
VertexBuffer3D — The VertexBuffer3D object that contains vertex normals.
|
getVertexTangentBuffer | () | method |
public function getVertexTangentBuffer(context:Context3D, contextIndex:uint):VertexBuffer3D
Retrieves the VertexBuffer3D object that contains vertex tangents.
Parameterscontext:Context3D — The Context3D for which we request the buffer
|
|
contextIndex:uint |
VertexBuffer3D — The VertexBuffer3D object that contains vertex tangents.
|