Sprite3D
Sprite3D is a 3D billboard, a renderable rectangular area that is always aligned with the projection plane.
As a result, no perspective transformation occurs on a Sprite3D object.
Inherited from Entity -> ObjectContainer3D -> Object3D -> NamedAssetBase -> EventDispatcher.
Can be created using method new:
Lib.Away3D.Entities.Sprite3D.new(material, width, height) |
Create a new Sprite3D object. |
material - The material with which to render the Mesh. (MaterialBase) width - Sprite3D width height - Sprite3D height |
Created Sprite3D object has properties:
width |
Sprite3D width |
height |
Sprite3D height |
numTriangles |
[read-only] Int |
sourceEntity |
[read-only] Entity |
material |
|
animator |
[read-only] IAnimator can be one of ParticleAnimator, SkeletonAnimator, SpriteSheetAnimator, UVAnimator, VertexAnimator |
castsShadows |
[read-only] true/false |
uvTransform |
[read-only] Matrix |
uvTransform2 |
[read-only] Matrix |
vertexData |
[read-only] table of numbers |
indexData |
[read-only] table of integers |
UVData |
[read-only] table of numbers |
numVertices |
[read-only] integer |
vertexStride |
[read-only] integer |
vertexNormalData |
[read-only] table of numbers |
vertexTangentData |
[read-only] table of numbers |
vertexOffset |
[read-only] integer |
vertexNormalOffset |
[read-only] integer |
vertexTangentOffset |
[read-only] integer |
methods:
activateVertexBuffer(index, stage3DProxy) |
void |
index - Int stage3DProxy - (Stage3DProxy) |
activateUVBuffer(index, stage3DProxy) |
void |
index - Int stage3DProxy - (Stage3DProxy) |
activateSecondaryUVBuffer(index, stage3DProxy) |
void |
index - Int stage3DProxy - (Stage3DProxy) |
activateVertexNormalBuffer(index, stage3DProxy) |
void |
index - Int stage3DProxy - (Stage3DProxy) |
activateVertexTangentBuffer(index, stage3DProxy) |
void |
index - Int stage3DProxy - (Stage3DProxy) |
getIndexBuffer(stage3DProxy) |
Returns (IndexBuffer3D) |
stage3DProxy - (Stage3DProxy) |
Created with the Personal Edition of HelpNDoc: Free PDF documentation generator