AnimationRegisterCache
AnimationRegisterCache Inherited from ShaderRegisterCache
Created AnimationRegisterCache object has properties:
|
colorAddTarget |
|
|
colorAddVary |
|
|
colorMulTarget |
|
|
colorMulVary |
|
|
fragmentConstantData |
Vector array of Floats |
|
hasBillboard |
Boolean |
|
hasColorAddNode |
Boolean |
|
hasColorMulNode |
Boolean |
|
hasUVNode |
Boolean |
|
needFragmentAnimation |
Boolean |
|
needUVAnimation |
Boolean |
|
needVelocity |
Boolean |
|
numFragmentConstant |
[read-only] Int |
|
numVertexConstant |
[read-only] Int |
|
positionAttribute |
|
|
positionTarget |
|
|
rotationRegisters |
Vector array of (ShaderRegisterElement) |
|
scaleAndRotateTarget |
|
|
sourceRegisters |
Vector array of strings |
|
targetRegisters |
Vector array of strings |
|
uvAttribute |
|
|
uvTarget |
|
|
uvVar |
|
|
velocityTarget |
|
|
vertexConstantData |
Vector array of Floats |
|
vertexLife |
|
|
vertexOneConst |
|
|
vertexTime |
|
|
vertexTwoConst |
|
|
vertexZeroConst |
methods:
|
getColorCombinationCode(shadedTarget) |
Return string |
shadedTarget - String |
|
getColorPassCode() |
Return string |
|
|
getCombinationCode() |
Return string |
|
|
getInitCode() |
Return string |
|
|
getRegisterIndex(node, parameterIndex) |
Return Int |
node - (AnimationNodeBase) parameterIndex - Int |
|
initColorRegisters() |
Return string |
|
|
reset() |
[override] |
|
|
setDataLength() |
|
|
|
setFragmentConst(index, x, y, z, w) |
|
index - Int x - Float (default = 0) y - Float (default = 0) z - Float (default = 0) w - Float (default = 0) |
|
setRegisterIndex(node, parameterIndex, registerIndex) |
|
node - (AnimationNodeBase) parameterIndex - Int registerIndex - Iint |
|
setUVSourceAndTarget(UVAttribute, UVVaring) |
|
UVAttribute - String UVVaring - String |
|
setVertexConst(index, x, y, z, w) |
|
index - Int x - Float (default = 0) y - Float (default = 0) z - Float (default = 0) w - Float (default = 0) |
|
setVertexConstFromMatrix(index, matrix) |
|
index - Int matrix - Matrix3D |
|
setVertexConstFromVector(index, data) |
|
index - Int data - Vector array of Floats |
Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents