AnimationRegisterCache Inherited from ShaderRegisterCache


Created AnimationRegisterCache object has properties:

colorAddTarget

(ShaderRegisterElement)

colorAddVary

(ShaderRegisterElement)

colorMulTarget

(ShaderRegisterElement)

colorMulVary

(ShaderRegisterElement)

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

(ShaderRegisterElement)

positionTarget

(ShaderRegisterElement)

rotationRegisters

Vector array of (ShaderRegisterElement)

scaleAndRotateTarget

(ShaderRegisterElement)

sourceRegisters

Vector array of strings

targetRegisters

Vector array of strings

uvAttribute

(ShaderRegisterElement)

uvTarget

(ShaderRegisterElement)

uvVar

(ShaderRegisterElement)

velocityTarget

(ShaderRegisterElement)

vertexConstantData

Vector array of Floats

vertexLife

(ShaderRegisterElement)

vertexOneConst

(ShaderRegisterElement)

vertexTime

(ShaderRegisterElement)

vertexTwoConst

(ShaderRegisterElement)

vertexZeroConst

(ShaderRegisterElement)


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