ColorInterpolationKit

class HPS.ColorInterpolationKit : public HPS.Kit

The HPS.ColorInterpolationKit class is a user space object, useful for carrying a group attribute settings. Calling HPS.ColorInterpolationKit.GetDefault() will return a kit with values found in this table.

Public Functions

ColorInterpolationKit ()

Initializes an empty kit.

ColorInterpolationKit (HPS.ColorInterpolationKit in_kit)

Copies the kit in_kit into this kit.

override void Dispose ()
override bool Empty ()

Returns whether this kit has any values currently set on it.

bool Equals (HPS.ColorInterpolationKit in_kit)

Compares the contents of in_kit and this kit.

override bool Equals (Object obj)
override int GetHashCode ()
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.

void Set (HPS.ColorInterpolationKit in_kit)

Copies the kit in_kit into this kit.

HPS.ColorInterpolationKit SetEdgeColor (bool in_state)

Controls whether edge colors will be interpolated.

Param in_state

Whether edge colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationKit SetEdgeIndex (bool in_state)

Controls whether edge index colors will be interpolated.

Param in_state

Whether edge index colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationKit SetFaceColor (bool in_state)

Controls whether face colors will be interpolated.

Param in_state

Whether face colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationKit SetFaceIndex (bool in_state)

Controls whether face colors index will be interpolated.

Param in_state

Whether face index colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationKit SetVertexColor (bool in_state)

Controls whether vertex colors will be interpolated.

Param in_state

Whether vertex colors will be interpolated.

Return

a reference to this object.

HPS.ColorInterpolationKit SetVertexIndex (bool in_state)

Controls whether vertex index colors will be interpolated.

Param in_state

Whether vertex index colors will be interpolated.

Return

a reference to this object.

void Show (out HPS.ColorInterpolationKit out_kit)

Copies this kit into out_kit.

bool ShowEdgeColor (out bool out_state)

Shows whether color interpolation for the edge color is set

Param out_state

The edge setting for the color interpolation

Return

true if the setting is valid, false otherwise.

bool ShowEdgeIndex (out bool out_state)

Shows whether color index interpolation for the edge index is set

Param out_state

The edge setting for the color index interpolation

Return

true if the setting is valid, false otherwise.

bool ShowFaceColor (out bool out_state)

Shows whether color interpolation for the face color is set

Param out_state

The face setting for the color interpolation

Return

true if the setting is valid, false otherwise.

bool ShowFaceIndex (out bool out_state)

Shows whether color index interpolation for the face index is set

Param out_state

The face setting for the color index interpolation

Return

true if the setting is valid, false otherwise.

bool ShowVertexColor (out bool out_state)

Shows whether color interpolation for the vertex color is set

Param out_state

The vertex setting for the color interpolation

Return

true if the setting is valid, false otherwise.

bool ShowVertexIndex (out bool out_state)

Shows whether color index interpolation for the vertex index is set

Param out_state

The vertex setting for the color index interpolation

Return

true if the setting is valid, false otherwise.

HPS.ColorInterpolationKit UnsetEdgeColor ()

Removes the edge color interpolation setting.

Return

a reference to this object.

HPS.ColorInterpolationKit UnsetEdgeIndex ()

Removes the edge index color interpolation setting.

Return

a reference to this object.

HPS.ColorInterpolationKit UnsetEverything ()

Unsets all settings in this kit.

Return

a reference to this object.

HPS.ColorInterpolationKit UnsetFaceColor ()

Removes the face color interpolation setting.

Return

a reference to this object.

HPS.ColorInterpolationKit UnsetFaceIndex ()

Removes the face index color interpolation setting.

Return

a reference to this object.

HPS.ColorInterpolationKit UnsetVertexColor ()

Removes the vertex color interpolation setting.

Return

a reference to this object.

HPS.ColorInterpolationKit UnsetVertexIndex ()

Removes the vertex index color interpolation setting.

Return

a reference to this object.

Public Static Functions

HPS.ColorInterpolationKit GetDefault ()
bool operator!= (HPS.ColorInterpolationKit a, HPS.ColorInterpolationKit b)
bool operator== (HPS.ColorInterpolationKit a, HPS.ColorInterpolationKit b)