|
| enum | { Smooth,
Flat
} |
| |
| enum | { Front,
Back,
FrontAndBack
} |
| |
| enum | {
None,
Always,
Equal,
GreaterThanOrEqual,
GreaterThan,
LessThanOrEqual,
LessThan,
Never,
NotEqual
} |
| |
| enum | { TR_FID,
TR_SMC,
TR_STP,
TR_SWC
} |
| |
| Enumerator |
|---|
| Front |
|
| Back |
|
| FrontAndBack |
|
| Enumerator |
|---|
| None |
|
| Always |
|
| Equal |
|
| GreaterThanOrEqual |
|
| GreaterThan |
|
| LessThanOrEqual |
|
| LessThan |
|
| Never |
|
| NotEqual |
|
Set an attribute (e.g. fid/smc)
| Enumerator |
|---|
| TR_FID |
|
| TR_SMC |
|
| TR_STP |
|
| TR_SWC |
|
| trpgMaterial::trpgMaterial |
( |
void |
| ) |
|
| trpgMaterial::~trpgMaterial |
( |
void |
| ) |
|
| void trpgMaterial::SetColor |
( |
const trpgColor & |
| ) |
|
| void trpgMaterial::SetAmbient |
( |
const trpgColor & |
| ) |
|
| void trpgMaterial::SetDiffuse |
( |
const trpgColor & |
| ) |
|
Diffuse color (the most commonly used)
| void trpgMaterial::SetSpecular |
( |
const trpgColor & |
| ) |
|
Specular color used in lighting.
| void trpgMaterial::SetEmission |
( |
const trpgColor & |
| ) |
|
Emissive color used in lighting.
| void trpgMaterial::SetShininess |
( |
float64 |
| ) |
|
Shininess used in lighting.
| void trpgMaterial::SetShadeModel |
( |
int |
| ) |
|
| void trpgMaterial::SetPointSize |
( |
float64 |
| ) |
|
| void trpgMaterial::SetLineWidth |
( |
float64 |
| ) |
|
| void trpgMaterial::SetCullMode |
( |
int |
| ) |
|
Cull mode. See GetCullMode.
| void trpgMaterial::SetAlphaFunc |
( |
int |
| ) |
|
Alpha Function. See GetAlphaFunc.
| void trpgMaterial::SetAlphaRef |
( |
float64 |
| ) |
|
Alpha Ref value. See GetAlphaRef.
| void trpgMaterial::SetAlpha |
( |
float64 |
| ) |
|
Alpha value for any polygon using this material.
| void trpgMaterial::SetAutoNormal |
( |
bool |
| ) |
|
Generate normals automatically from geometry.
| void trpgMaterial::SetNumTexture |
( |
int |
| ) |
|
| void trpgMaterial::SetNumTiles |
( |
int |
| ) |
|
Number of tiles this material is used in.
| int trpgMaterial::AddTile |
( |
void |
| ) |
|
Adds a count to the number of tiles this material is used in and returns that number.
| void trpgMaterial::SetIsBumpMap |
( |
bool |
| ) |
|
Sets bump map status (color etc... isn't important)
| void trpgMaterial::SetAttr |
( |
int |
attrCode, |
|
|
int |
val |
|
) |
| |
Return the current color.
Returns the ambient color.
Returns the diffuse color (the most commonly used color)
Specular color used for lighting.
Emissive color used for lighting.
Shininess used for lighting.
| bool trpgMaterial::GetShadeModel |
( |
int & |
| ) |
const |
The shading model can be either Smooth or Flat.
| bool trpgMaterial::GetCullMode |
( |
int & |
| ) |
const |
| bool trpgMaterial::GetAlphaFunc |
( |
int & |
| ) |
const |
| bool trpgMaterial::GetAutoNormal |
( |
bool & |
| ) |
const |
Whether or not to generate normals from geometry.
A single Alpha value that applies to any polygons using this material.
| bool trpgMaterial::GetNumTile |
( |
int & |
| ) |
const |
| bool trpgMaterial::GetNumTexture |
( |
int & |
| ) |
const |
| bool trpgMaterial::GetIsBumpMap |
( |
bool & |
| ) |
const |
Return whether or not this material is a bump map.
| bool trpgMaterial::GetAttr |
( |
int |
attrCode, |
|
|
int & |
val |
|
) |
| const |
| bool trpgMaterial::isValid |
( |
void |
| ) |
const |
| void trpgMaterial::Reset |
( |
void |
| ) |
|
|
virtual |
| bool trpgMaterial::isBump |
|
protected |
Note: Need to do equality operator.
| int trpgMaterial::shadeModel |
|
protected |
| int trpgMaterial::cullMode |
|
protected |
| int trpgMaterial::alphaFunc |
|
protected |
| bool trpgMaterial::autoNormal |
|
protected |
| int32 trpgMaterial::numTile |
|
protected |
| std::vector<int> trpgMaterial::texids |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/osgdb_vrftxp/trpage_geom.h