Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 |
|
Метод | Описание | |
---|---|---|
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 | |
Результат |
public CreateBillboard ( Vector3 position, |
||
position | Vector3 | |
color | ||
Результат |
protected GenerateBillboardAxes ( Vector3 &x, Vector3 &y ) : void | ||
x | Vector3 | |
y | Vector3 | |
Результат | void |
protected GenerateBillboardAxes ( Vector3 &x, Vector3 &y, |
||
x | Vector3 | |
y | Vector3 | |
bb | ||
Результат | 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 | |
Результат | void |
protected GenerateVertices ( Vector3 offsets, |
||
offsets | Vector3 | |
bb | ||
Результат | void |
protected GetBillboard ( int index ) : |
||
index | int | |
Результат |
protected GetParametricOffsets ( float &left, float &right, float &top, float &bottom ) : void | ||
left | float | |
right | float | |
top | float | |
bottom | float | |
Результат | void |
protected IsBillboardVisible ( |
||
camera | ||
billboard | ||
Результат | bool |
protected NotifyBillboardResized ( ) : void | ||
Результат | void |
protected NotifyBillboardRotated ( ) : void | ||
Результат | void |
protected NotifyBillboardTextureCoordsModified ( ) : void | ||
Результат | void |
protected RemoveBillboard ( |
||
bill | ||
Результат | void |
protected RemoveBillboard ( int index ) : void | ||
index | int | |
Результат | void |
protected SetBounds ( |
||
box | ||
radius | float | |
Результат | void |
protected SetTextureStacksAndSlices ( int stacks, int slices ) : void | ||
stacks | int | |
slices | int | |
Результат | void |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
Результат | void |
protected IndexData,Axiom.Graphics indexData | ||
Результат |
protected HardwareVertexBuffer,Axiom.Graphics mainBuffer | ||
Результат |
protected Material,Axiom.Graphics material | ||
Результат |
protected BillboardRotationType rotationType | ||
Результат | BillboardRotationType |
protected VertexData,Axiom.Graphics vertexData | ||
Результат |