LightingAttributeControl
- class HPS.LightingAttributeControl : public HPS.Control
The HPS.LightingAttributeControl class is a smart pointer that is tied to a database object. This control is used to set the lighting interpolation algorithm.
This table lists default values for the various segment attributes accessible from HPS.LightingAttributeControl.
Public Functions
- override void Dispose ()
- LightingAttributeControl (HPS.LightingAttributeControl in_that)
Initializes a control tied to the same object as in_that.
- LightingAttributeControl (HPS.SegmentKey in_seg)
Initializes a control tied to the segment in_seg.
- override HPS.Type ObjectType ()
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).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- HPS.LightingAttributeControl SetInterpolationAlgorithm (HPS.Lighting.InterpolationAlgorithm in_interpolation)
Sets the interpolation algorithm that will be used for rendering lit faces.
- Param in_interpolation
The algorithm that will be used for rendering lit faces.
- Return
A reference to this object.
- bool ShowInterpolationAlgorithm (out HPS.Lighting.InterpolationAlgorithm out_interpolation)
Shows the interpolation algorithm that will be used for rendering lit faces.
- Param out_interpolation
The algorithm that will be used for rendering lit faces.
- Return
true if the setting is valid, false otherwise.
- HPS.LightingAttributeControl UnsetEverything ()
Removes all settings from this object. If the control is attached to a WindowKey this function restores the default settings of this control as specified by LightingAttributeKit.GetDefault().
- Return
A reference to this object.
- HPS.LightingAttributeControl UnsetInterpolationAlgorithm ()
Removes the interpolation algorithm setting. If the control is attached to a WindowKey this function restores the default value of this setting as specified by LightingAttributeKit.GetDefault().
- Return
A reference to this object.