Struct agb::display::object::ObjectAffine [−][src]
pub struct ObjectAffine<'a> { /* fields omitted */ }
Expand description
The affine object, with potential for using a transformation matrix to alter how the sprite is rendered to screen.
Implementations
Commits the object to OAM such that the updated version is displayed on screen. Recommend to do this during VBlank.
Sets the index of the tile to use as the sprite. Potentially a temporary function.
Sets the sprite size, will read tiles in x major order to construct this.
Sets the affine matrix to use. Changing the affine matrix will change how the sprite is rendered.
Sets the x and y position of the object, performing casts as nessesary to fit within the bits allocated for this purpose.
Auto Trait Implementations
impl<'a> !Send for ObjectAffine<'a>
impl<'a> !Sync for ObjectAffine<'a>
impl<'a> Unpin for ObjectAffine<'a>