TransformableMember

Concrete class that implements the $(U Transformable) interface.

This class is provided for convenience, so that a $(U Transformable) object can be used as a member of a class instead of inheriting from $(U Transformable).

class TransformableMember : Transformable {}

Members

Mixins

__anonymous
mixin NormalTransformable
Undocumented in source.

Mixed In Members

From mixin NormalTransformable

origin
Vector2f origin [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
origin
Vector2f origin [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
Vector2f position [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
Vector2f position [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rotation
float rotation [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
rotation
float rotation [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
Vector2f scale [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
Vector2f scale [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
getInverseTransform
const(Transform) getInverseTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
getTransform
const(Transform) getTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(Vector2f offset)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Transformable

origin
Vector2f origin [@property setter]
Vector2f origin [@property getter]

The local origin of the object.

position
Vector2f position [@property setter]
Vector2f position [@property getter]

The position of the object. The default is (0, 0).

rotation
float rotation [@property setter]
float rotation [@property getter]

The orientation of the object, in degrees. The default is 0 degrees.

scale
Vector2f scale [@property setter]
Vector2f scale [@property getter]

The scale factors of the object. The default is (1, 1).

getTransform
const(Transform) getTransform()

Get the inverse of the combined transform of the object.

getInverseTransform
const(Transform) getInverseTransform()

Get the combined transform of the object.

move
void move(Vector2f offset)

Move the object by a given offset.

Meta