|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CVegetableShapeBuild Class ReferenceA vegetable shape.
More...
#include <vegetable_shape.h>
List of all members.
Detailed Description
A vegetable shape.
Ie not deformed by instanciation. -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2001
Definition at line 46 of file vegetable_shape.h.
Member Enumeration Documentation
enum NL3D::CVegetableShapeBuild::TBendCenterMode
|
|
|
Bend center controls how each vertex is bended.
BendCenterNull: For each Center of bend is made on (0,0,0). BendCenterZ: Center of bend is made on (vertx, verty, 0), perfect for "comb-like" vegetation. -
Enumeration values:
-
BendCenterNull |
|
BendCenterZ |
|
BendCenterModeCount |
|
Definition at line 54 of file vegetable_shape.h. |
Constructor & Destructor Documentation
NL3D::CVegetableShapeBuild::CVegetableShapeBuild |
( |
|
) |
[inline] |
|
Member Data Documentation
bool NL3D::CVegetableShapeBuild::AlphaBlend
|
|
|
If this shape must be AlphaBlended (and hence ZSorted).
NB: valid ONLY if (!Lighted || PreComputeLighting) && DoubleSided.
Definition at line 74 of file vegetable_shape.h.
Referenced by CVegetableShapeBuild. |
bool NL3D::CVegetableShapeBuild::BestSidedPreComputeLighting
|
|
|
true If this shape must take one sided lighting.
ie max(normal, -normal) is computed during ligthing compute NB: valid ONLY if (PreComputeLighting)
Definition at line 79 of file vegetable_shape.h.
Referenced by CVegetableShapeBuild. |
bool NL3D::CVegetableShapeBuild::DoubleSided
|
|
bool NL3D::CVegetableShapeBuild::Lighted
|
|
float NL3D::CVegetableShapeBuild::MaxBendWeight
|
|
bool NL3D::CVegetableShapeBuild::PreComputeLighting
|
|
|
The standard input vertexBuffer If it has vertexColor, then BendWeight is read from color.R, and scale to take MaxBendWeight at max.
else, BendWeight is read from pos.z (clamped to (0, maxZ), and scaled to take MaxBendWeight at max. If it has normal, and Lighted==true, then it is lighted. Must have TexCoord0.
Definition at line 62 of file vegetable_shape.h. |
The documentation for this class was generated from the following file:
|
|