![]() |
Public API Reference |
#include <efvector4.h>
Public Methods | |
csEffectVector4 () | |
Initialize X, Y, Z to 0, W to 1. More... | |
csEffectVector4 (float value) | |
Initialize X, Y, Z to value, W to 1. More... | |
csEffectVector4 (float _x, float _y, float _z) | |
Initialize X, Y, Z to with the given values, W to 1. More... | |
csEffectVector4 (float _x, float _y, float _z, float _w) | |
Initialize X, Y, Z, W with the given values. More... | |
csEffectVector4 (const csVector3 &vec) | |
Copy X, Y, Z from the vector, set W to 1. More... | |
csEffectVector4 (const csRGBpixel &color) | |
Copy from the color: X = R, Y = G, Z = B, W = A. More... | |
csEffectVector4 (const csEffectVector4 &vec) | |
Copy components from given effect vector. More... | |
Public Attributes | |
float | x |
X component. More... | |
float | y |
Y component. More... | |
float | z |
Z component. More... | |
float | w |
W component. More... |
Definition at line 37 of file efvector4.h.
|
Initialize X, Y, Z to 0, W to 1.
Definition at line 49 of file efvector4.h. |
|
Initialize X, Y, Z to value, W to 1.
Definition at line 51 of file efvector4.h. |
|
Initialize X, Y, Z to with the given values, W to 1.
Definition at line 53 of file efvector4.h. |
|
Initialize X, Y, Z, W with the given values.
Definition at line 55 of file efvector4.h. |
|
Copy X, Y, Z from the vector, set W to 1.
Definition at line 57 of file efvector4.h. References w, csVector3::x, x, csVector3::y, y, csVector3::z, and z. |
|
Copy from the color: X = R, Y = G, Z = B, W = A.
Definition at line 59 of file efvector4.h. References csRGBpixel::alpha, csRGBpixel::blue, csRGBpixel::green, csRGBpixel::red, w, x, y, and z. |
|
Copy components from given effect vector.
Definition at line 61 of file efvector4.h. |
|
W component.
Definition at line 46 of file efvector4.h. Referenced by csEffectVector4. |
|
X component.
Definition at line 40 of file efvector4.h. Referenced by csEffectVector4. |
|
Y component.
Definition at line 42 of file efvector4.h. Referenced by csEffectVector4. |
|
Z component.
Definition at line 44 of file efvector4.h. Referenced by csEffectVector4. |