classHAttrProperty 03
="md" data-valign="top"> )
|
| |
Retrieves a pointer to the HFloatProperty which contains the current Index of Refraction (IOR) of the surface at hit point.
The IOR is that of the surface properties no matter if the ray hits from inside or outside. |
| |
Retrieves a pointer to the HFloatProperty which contains the current Roughness of the surface at hit point.
Roughness is a turbulence function that perturbs the surface of the objects. Thus is Roughness in not 0, the surface normal retrieved from the HShading and HTexInfo classes will already have been perturbed accordingly. |
| |
Retrieves a pointer to the HFloatProperty which contains the current Roughness Scale of the surface at hit point.
Roughness Scale controls the size of the roughness. Small values show high frequency patterns. |
| |
Retrieves a pointer to the HColorProperty which contains the current Specular Color of the surface at hit point.
If the specular color is Not Set, then the specular color will be set to match the diffuse color even if that color ultimately comes from a decal. |
|
|
| |
If you call GetSpecularColor you will get those actual properties just like it always use to be. If the user leaves the specular color marked as "Not Set" in the PWS then when the render is invoked it will use the diffuse color for specular Color. So the GetSpecularColorForRead will return one of two properties : If Specular color is marked as "not set" it will actually return the Diffuse Color property, not the Specular Color Property. So with that being said you should only use this property for read purposes, because if you call StoreValue on it you will actually be changing the Diffuse Color not the Specular color property. |
|
|
| |
Retrieves a pointer to the HFloatProperty which contains the current Specular Intensity of the surface at hit point. |
| |
Retrieves a pointer to the HFloatProperty which contains the current Specular Size of the surface at hit point.
By convention, if Specular Size is 0, there should be no highlight at all. |
|
|
| |
Retrieves a pointer to the HFloatProperty which contains the current Translucency of the surface at hit point. |
| |
Retrieves a pointer to the HFloatProperty which contains the current Transparency of the surface at hit point.
A value of 0 means the surface is totally opaque. A value of 1 means the surface is fully transparent. |
| BOOL HAttrProperty::IsBump |
( |
|
) |
|
|
|
|
| |
Tells whether any of the materials on a pre-composited attr had bump on. |
| BOOL HAttrProperty::IsComplex |
( |
|
) |
|
|
|
|
| |
Tells whether a pre-composited attr is complex (Combiners etc..). |
| BOOL HAttrProperty::IsDisplace |
( |
|
) |
|
|
|
|
| |
Tells whether any of the materials on a pre-composited attr had displace on. |
| BOOL HAttrProperty::IsInvariant |
( |
|
) |
|
|
|
|
| |
Tells whether any of the materials on a pre-composited attr were invariant. |
The documentation for this class was generated from the following files: