Display module control method and electronic device for carrying out same
An electronic device, may comprise: a display module including a display; at least one processor, comprising processing circuitry; and memory stores instructions executable by the processor, when the instructions are executed by the at least one processor, control the display module to, in a determined location in at least one among the real world and a virtual world, display first information on at least one first surface of a virtual object, and display second information on at least one second surface of the virtual object; determine the gaze direction of a user based on the location of the user in at least one among the real world and the virtual world; and based on the gaze direction of the user, control the display module to display the first information on the at least one second surface.
1 . An electronic device, comprising:
a display module, including a display;
at least one processor, comprising processing circuitry; and
memory electrically storing instructions executable by the at least one processor,
wherein, when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
control the display module to display first information on at least one first surface of a first virtual object and second information on at least one second surface of the first virtual object, at a determined position in at least one of a real world or a virtual world;
determine a gaze direction of a user, based on a position of the user in the real world or the virtual world;
determine a changed gaze position of the user in the real world or the virtual world upon movement of the user; and
control the display module based on the changed gaze position,
to generate a second virtual object for providing at least one of the first information and the second information, or
to display the first information on the second surface of the first virtual object.
2 . The electronic device of claim 1 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
control the display module to display the first information using the second virtual object substantially identical to the first virtual object, in response to movement of the user exceeding a specified first range.
3 . The electronic device of claim 2 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
receive an input from the user using the second virtual object; and
in response to the input, control the display module to display third information using the second virtual object or terminate outputting the second virtual object.
4 . The electronic device of claim 1 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
control the display module to display the second virtual object at a position determined based on the changed gaze position of the user in at least one of the real world or the virtual world.
5 . The electronic device of claim 1 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
control the display module such that a direction in which the at least one second surface is displayed is changed based on the changed gaze position of the user or a size in which the at least one second surface is displayed is changed based on the a distance between the determined position and the changed gaze position.
6 . The electronic device of claim 1 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
based on content comprised in the first information changing, control the display module to display the first information that is changed on the at least one second surface.
7 . An electronic device, comprising:
a display module including a display;
at least one processor, comprising processing circuitry; and
memory storing instructions executable by at least one processor,
wherein when the instructions are executed by the at least one processor
individually or collectively, cause the electronic device to:
identify a first position of a user in at least one of a real world or a virtual world;
control the display module to display first information on at least one first surface of a first virtual object and second information on at least one second surface of the first virtual object, at a determined position in the real world or the virtual world, in response to the first position;
identify a second position of the user in the real world or the virtual world resulting from movement of the user; and
control the display module based on at least one of a distance between the determined position and the second position and a changed gaze position according to the movement,
to generate a second virtual object for providing at least one of the first information andor the second information or
to display the first information on the second surface of the first virtual object.
8 . The electronic device of claim 7 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
in response to the distance between the second position and the determined position exceeding a specified first range, control the display module to display the first information using the second virtual object substantially identical to the virtual object.
9 . The electronic device of claim 8 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
receive an input from the user, using the second virtual object; and
in response to the input, control the display module to display third information using the second virtual object or terminate outputting the second virtual object.
10 . The electronic device of claim 7 , wherein when the instructions are executed by the at least one processor individually or collectively, cause the electronic device to:
control the display module to display the second virtual object at a position determined based on the second position of the user in at least one of the real world or the virtual world.
11 . A method of controlling a display module, comprising:
controlling a display module to display first information on at least one first surface of a first virtual object and second information on at least one second surface of the first virtual object, at a determined position in at least one of a real world or a virtual world;
determining a gaze direction of a user, based on a position of the user in the real world or the virtual world;
determine a changed gaze position of the user in the real world or the virtual world upon movement of the user; and
controlling the display module, based on the changed gaze position,
to generate a second virtual object for providing at least one of the first information and the second information or
to display the first information on the second surface of the first virtual object.
12 . The method of claim 11 , wherein the controlling the display module to display the first information on the at least one second surface comprises:
controlling the display module to display the first information using a second virtual object substantially identical to the virtual object, in response to a distance between the position of the user and the determined position exceeding a specified first range.
13 . The method of claim 12 , further comprising:
receiving an input from the user, using the second virtual object; and
in response to the input, controlling the display module to display third information using the second virtual object or terminate outputting the second virtual object.
14 . The method of claim 11 , wherein the controlling the display module to display the at least one of the first information and the second information on the at least one second surface of the second virtual object comprises:
controlling the display module to display the second virtual object at a position determined based on the changed position of the user in at least one of the real world or the virtual world.
15 . The method of claim 11 , wherein the controlling the display module to display the at least one of the first information and the second information on the at least one second surface of the second virtual object comprises:
controlling the display module such that a direction in which the at least one second surface of the second virtual object is displayed is changed based on the position of the user or a size in which the at least one second surface of the second virtual object is displayed is changed based on the distance between the changed position of the user and the determined position.