SpriteBasecolor Field |
Namespace: (Default Namespace)
This member stores the actual data for all 4 of the Modulate properties that affect the sprite's color. Using the Modulate properties is easier to read and understand, but setting this property directly is simple and faster in terms of the amount of code.
This number consists of 4 bytes, which are, in order from least significant to most significant: Blue, Greed, Red, Alpha. To to retrieve the alpha component of this value, you would divide it by 16777216 or shift the bits rightward 24 places.