Property | Type | Description | |
---|---|---|---|
aab | |||
accurateFacing | bool | ||
activeBillboards | List |
||
allDefaultRotation | bool | ||
allDefaultSize | bool | ||
autoExtendPool | bool | ||
billboardPool | List |
||
billboardType | BillboardType | ||
boundingRadius | float | ||
camPos | Vector3 | ||
camQ | |||
camX | Vector3 | ||
colorIndex | int | ||
commonDirection | Vector3 | ||
commonUpVector | Vector3 | ||
cullIndividual | bool | ||
currentCamera | |||
customParams | List |
||
defaultParticleHeight | float | ||
defaultParticleWidth | float | ||
fixedTextureCoords | bool | ||
freeBillboards | List |
||
indexData | |||
leftOff | float | ||
lockPtr | |||
mainBuffer | |||
material | |||
materialName | string | ||
numVisibleBillboards | int | ||
originType | BillboardOrigin | ||
pointRendering | bool | ||
posIndex | int | ||
ptrOffset | int | ||
rotationType | BillboardRotationType | ||
sphere | |||
texIndex | int | ||
vOffset | Vector3[] | ||
vertexData | |||
world | Axiom.Math.Matrix4[] | ||
worldSpace | bool |
Method | Description | |
---|---|---|
Clear ( ) : void |
Empties all of the active billboards from this set.
|
|
CreateBillboard ( Vector3 position ) : |
Overloaded method.
|
|
CreateBillboard ( Vector3 position, |
Creates a new billboard and adds it to this set.
|
|
UpdateBounds ( ) : void |
Update the bounds of the BillboardSet.
|
Method | Description | |
---|---|---|
GenerateBillboardAxes ( Vector3 &x, Vector3 &y ) : void |
Overloaded method.
|
|
GenerateBillboardAxes ( Vector3 &x, Vector3 &y, |
Generates billboard corners. Billboard param only required for type OrientedSelf |
|
GenerateVertexOffsets ( float left, float right, float top, float bottom, float width, float height, Vector3 &x, Vector3 &y, Vector3 destVec ) : void |
Generates vertex offsets. Takes in parametric offsets as generated from GetParametericOffsets, width and height values and billboard x and y axes as generated from GenerateBillboardAxes. Fills output array of 4 vectors with vector offsets from origin for left-top, right-top, left-bottom, right-bottom corners. |
|
GenerateVertices ( Vector3 offsets, |
||
GetBillboard ( int index ) : |
||
GetParametricOffsets ( float &left, float &right, float &top, float &bottom ) : void |
Generate parametric offsets based on the origin.
|
|
IncreasePool ( int size ) : void |
Internal method for increasing pool size.
|
|
IsBillboardVisible ( |
Determines whether the supplied billboard is visible in the camera or not.
|
|
NotifyBillboardResized ( ) : void |
Callback used by Billboards to notify their parent that they have been resized.
|
|
NotifyBillboardRotated ( ) : void |
Callback used by Billboards to notify their parent that they have been resized.
|
|
NotifyBillboardTextureCoordsModified ( ) : void |
Notifies the billboardset that texture coordinates will be modified for this set.
|
|
RemoveBillboard ( |
||
RemoveBillboard ( int index ) : void | ||
SetBounds ( |
||
SetTextureStacksAndSlices ( int stacks, int slices ) : void | ||
dispose ( bool disposeManagedResources ) : void |
|
Method | Description | |
---|---|---|
BeginBillboards ( ) : void |
Generate the vertices for all the billboards relative to the camera Also take the opportunity to update the vertex colours May as well do it here to save on loops elsewhere
|
|
BillboardSet ( string name, int poolSize ) : System |
Public constructor. Should not be created manually, must be created using a SceneManager.
|
|
BillboardSet ( string name, int poolSize, bool externalData ) : System |
Public constructor. Should not be created manually, must be created using a SceneManager.
|
|
CreateBuffers ( ) : void |
Allocate / reallocate vertex data Note that we allocate enough space for ALL the billboards in the pool, but only issue rendering operations for the sections relating to the active billboards
|
|
DestroyBuffers ( ) : void | ||
EndBillboards ( ) : void | ||
IndexData ( ) : System | ||
InjectBillboard ( |
||
VertexData ( ) : System |
public CreateBillboard ( Vector3 position ) : |
||
position | Vector3 | |
return |
public CreateBillboard ( Vector3 position, |
||
position | Vector3 | |
color | ||
return |
protected GenerateBillboardAxes ( Vector3 &x, Vector3 &y ) : void | ||
x | Vector3 | |
y | Vector3 | |
return | void |
protected GenerateBillboardAxes ( Vector3 &x, Vector3 &y, |
||
x | Vector3 | |
y | Vector3 | |
bb | ||
return | void |
protected GenerateVertexOffsets ( float left, float right, float top, float bottom, float width, float height, Vector3 &x, Vector3 &y, Vector3 destVec ) : void | ||
left | float | |
right | float | |
top | float | |
bottom | float | |
width | float | |
height | float | |
x | Vector3 | |
y | Vector3 | |
destVec | Vector3 | |
return | void |
protected GenerateVertices ( Vector3 offsets, |
||
offsets | Vector3 | |
bb | ||
return | void |
protected GetBillboard ( int index ) : |
||
index | int | |
return |
protected GetParametricOffsets ( float &left, float &right, float &top, float &bottom ) : void | ||
left | float | |
right | float | |
top | float | |
bottom | float | |
return | void |
protected IsBillboardVisible ( |
||
camera | ||
billboard | ||
return | bool |
protected NotifyBillboardTextureCoordsModified ( ) : void | ||
return | void |
protected RemoveBillboard ( |
||
bill | ||
return | void |
protected RemoveBillboard ( int index ) : void | ||
index | int | |
return | void |
protected SetBounds ( |
||
box | ||
radius | float | |
return | void |
protected SetTextureStacksAndSlices ( int stacks, int slices ) : void | ||
stacks | int | |
slices | int | |
return | void |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
return | void |
protected IndexData,Axiom.Graphics indexData | ||
return |
protected HardwareVertexBuffer,Axiom.Graphics mainBuffer | ||
return |
protected Material,Axiom.Graphics material | ||
return |
protected BillboardRotationType rotationType | ||
return | BillboardRotationType |
protected VertexData,Axiom.Graphics vertexData | ||
return |