#include <hps.h>
|
static const HPS::Type | staticType = HPS::Type::LightingAttributeKit |
|
static const HPS::Type | staticType = HPS::Type::Kit |
|
static const HPS::Type | staticType = HPS::Type::None |
|
The HPS::LightingAttributeKit class is a user space object, useful for carrying a group attribute settings. Calling HPS::LightingAttributeKit::GetDefault() will return a kit with values found in this table.
HPS::LightingAttributeKit::LightingAttributeKit |
( |
| ) |
|
Initializes an empty kit.
The copy constructor creates a new LightingAttributeKit object that contains the same settings as the source object.
- Parameters
-
in_kit | The source object to copy. |
virtual HPS::LightingAttributeKit::~LightingAttributeKit |
( |
| ) |
|
|
virtual |
bool HPS::LightingAttributeKit::Empty |
( |
| ) |
const |
|
virtual |
Indicates whether this object has any values set on it.
- Returns
- true if no values are set on this object, false otherwise.
Reimplemented from HPS::Object.
Check if the source LightingAttributeKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
Creates a LightingAttributeKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
- Returns
- A LightingAttributeKit with the default settings.
HPS::Type HPS::LightingAttributeKit::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS::Kit.
Check if the source LightingAttributeKit is not equivalent to this object.
- Parameters
-
- Returns
- true if the objects are not equivalent, false otherwise.
Copies the source LightingAttributeKit into this object.
- Parameters
-
- Returns
- A reference to this object.
Check if the source LightingAttributeKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
Sets the interpolation algorithm that will be used for rendering lit faces.
- Parameters
-
in_interpolation | The algorithm that will be used for rendering lit faces. |
- Returns
- A reference to this object.
Shows the interpolation algorithm that will be used for rendering lit faces.
- Parameters
-
out_interpolation | The algorithm that will be used for rendering lit faces. |
- Returns
- true if the setting is valid, false otherwise.
Removes all settings from this object.
- Returns
- A reference to this object.
Removes the interpolation algorithm setting.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file: