<Color888> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
<Color888>Color888Constructs a <Color888> object with the specified red, green, blue, and alpha values.
int32AssignAssigns the right-hand object to the left-hand object.
int32CompareReturns true if the left-hand color is equal to the right-hand color. Otherwise returns false.
int32ElementSizeReturns the size of the <Color888> object's component element size, which is 3 bytes. This is because the <Color888> object is packed, and doesn't store single-byte-per-color values internally.
int32GetComponentReturns the component value at the specified index.
doubleGetComponentAsFloat32Returns the component at the specified index as a normalized <float32> value. This value is between 0.0 and 1.0.
int32SetComponentSets the <Color888> component at the specified index to the specified value.
int32SetRGBSets the red, green and blue values of a <Color888> object.
int32SizeInBytesReturns the size of the <Color888> object, which is 3 bytes.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<Color888>ValueGets or sets the value of the <Color888> object. Useful for when you want to copy color values with assignment expressions such as myColorA.Value = myColorB.Value.
int32BGets or sets the blue value of the color.
int32GGets or sets the green value of the color.
int32RGets or sets the red value of the color.