MirrorArea

┗> Event > Object > Class


Creates a region in the Overworld that reflects characters inside it.
MirrorArea is an Event - naming an object mirror on an objects layer in a map creates this object.
See this object's Fields for the configurable properties on this object.
To customise how mirror sprites are displayed, refer to Actors and their mirror_sprites table and functions: getMirrorSprites, getMirrorSprite


Constructor


MirrorArea(x: any, y: any, shape: any, properties: any)

Arguments:

x: any
y: any
shape: any
properties: any




Methods




MirrorArea:drawCharacter(chara: Character)

Draws a character's reflection

Arguments:

chara: Character

All types of character in the overworld inherit from the Character class.
This class is not to be confused with the psuedo-event NPC that is used for characters placed in the overworld.



MirrorArea:drawMirror()

Finds and draws all character's reflections




Fields



MirrorArea.offset: number

[Property offset] The y-offset for reflections drawn in this mirror (Defaults to 0)


MirrorArea.opacity: number

[Property opacity] The opacity of reflections drawn in the mirror (Defaults to 1)



Undocumented