vecSkill41, vecSkill45, vecSkill49, vecSkill53, vecSkill57

General purpose float4 vectors that contain the content of entity skill41 .. skill44, skill45 .. skill48, A8.40 skill49 .. skill52, skill53 .. skill56, and skill57 .. skill60.

Type

float4

Remarks:

Use the floatv() function for setting entity and material skills to a float value in lite-C; alternatively you can prevent a float->var conversion by casting a float value to a pointer, f.i. (void*).

Example:

my.skill41 = floatv(1.5); // lite-C: pass a floating point value to skill41
float4 vecSkill41; // shader code: define the vector
...
float fValue = vecSkill41.x; // fValue now contains 1.5

See also:

MATERIAL, shaders, effect parameters

► latest version online