<Color4444> 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
<Color4444>Color4444Constructs a <Color4444> 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 <Color4444> object's component element size, which is 2 bytes. This is because the <Color4444> 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 <Color4444> component at the specified index to the specified value.
int32SetRGBSets the red, green and blue values of a <Color4444> object.
int32SetRGBASets the specified red, green, blue, and alpha values.
int32SizeInBytesReturns the size of the <Color4444> object, which is 2 bytes.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<Color4444>ValueGets or sets the value of the <Color4444> object. Useful for when you want to copy color values with assignment expressions such as myColorA.Value = myColorB.Value.
int32AGets or sets the alpha value of the color.
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.