Gradients
Gradients contains all the data to interpolate u,v texture coordinates and z coordinates across a planar surface.
Public Functions
Public Attributes
float | dOneOverZdX |
d(1/z)/dX | |
float | dOneOverZdY |
d(1/z)/dY | |
fixed16_16 | dUdXModifier |
The dUdX x coordinate modifier. | |
float | dUOverZdX |
d(u/z)/dX | |
float | dUOverZdY |
d(u/z)/dY | |
fixed16_16 | dVdXModifier |
The dVdX x coordinate modifier. | |
float | dVOverZdX |
d(v/z)/dX | |
float | dVOverZdY |
d(v/z)/dY | |
float | oneOverZ |
1/z for each vertex | |
float | UOverZ |
u/z for each vertex | |
float | VOverZ |
v/z for each vertex | |
Public Functions Documentation
Gradients
Initializes a new instance of the TextureMapTypes class.
Construct the gradients using three 3D vertices.
Parameters:
vertices | The vertices. |
See also:
Public Attributes Documentation
dOneOverZdX
float dOneOverZdX
d(1/z)/dX
dOneOverZdY
float dOneOverZdY
d(1/z)/dY
dUdXModifier
fixed16_16 dUdXModifier
The dUdX x coordinate modifier.
dUOverZdX
float dUOverZdX
d(u/z)/dX
dUOverZdY
float dUOverZdY
d(u/z)/dY
dVdXModifier
fixed16_16 dVdXModifier
The dVdX x coordinate modifier.
dVOverZdX
float dVOverZdX
d(v/z)/dX
dVOverZdY
float dVOverZdY
d(v/z)/dY
oneOverZ
float oneOverZ
1/z for each vertex
UOverZ
float UOverZ
u/z for each vertex
VOverZ
float VOverZ
v/z for each vertex