Delta Engine
»
Support
»
UI
»
UI.Rotation.Does not do anything.
Joined: 8/22/2011(UTC) Posts: 170 Location: Moscow
Thanks: 3 times Was thanked: 2 time(s) in 2 post(s)
|
Hi. How i can rotate UI (buttons)? Does not do anything. i edit Label class add : Code:public new float Rotation = 0;
now : work,but rotate only text. How i can rotate LocalArea = Rectangle...? |
Russian game developer. Давайте делать игры в команде. Идет набор. |
|
|
|
Medals:  Joined: 8/20/2011(UTC) Posts: 1,421 Location: Hannover
Thanks: 18 times Was thanked: 97 time(s) in 92 post(s)
|
Sorry, rotation of UI elements is currently not fully supported. Code:
if (rotation != 0.0f)
{
Log.Info(
"TODO: The rotation of UI controls is currently not supported.");
rotation = 0.0f;
} // if
You could hack in your own solution in the Draw calls of the UI controls you want to be rotateable, but we currently have no time table on when UI rotation will be available for all UI controls (not planed for v0.9.4 or v0.9.5).
|
|
|
|
Joined: 8/22/2011(UTC) Posts: 170 Location: Moscow
Thanks: 3 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: Benjamin Nitschke (DeltaEngine)  Sorry, rotation of UI elements is currently not fully supported. Code:
if (rotation != 0.0f)
{
Log.Info(
"TODO: The rotation of UI controls is currently not supported.");
rotation = 0.0f;
} // if
You could hack in your own solution in the Draw calls of the UI controls you want to be rotateable, but we currently have no time table on when UI rotation will be available for all UI controls (not planed for v0.9.4 or v0.9.5). No problem, Thanks for the answer. |
Russian game developer. Давайте делать игры в команде. Идет набор. |
|
|
|
Delta Engine
»
Support
»
UI
»
UI.Rotation.Does not do anything.
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.