Image is a sub-class of Object and shares all of its members and methods.
Image is a reference type. This means it has no constructor and can only be passed around by handle (Image@).
bool flip (Property)
bool mirror (Property)
string GetTexture() const
Returns the name of the image's texture asset.
Vector4 GetClipping() const
Returns the image clipping (x, y, width, height).
string GetShape() const
Returns the name of the image's shape asset.
Vector2 GetTiling() const
Returns the image tiling (x, y).
Mask@ GetMask() const
Returns a handle to the image's mask.
bool HasMask() const
Returns true if the image has a mask.
uint GetAnimationCount() const
Returns the number of animation sequences for this image.
// Casting an Object handle to an Image handle Image@ image = Scene.GetObject("An image object") as Image;