User Tools

Site Tools


show_toolbar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
show_toolbar [2017/05/27 12:07] – external edit 127.0.0.1show_toolbar [2021/04/21 18:52] (current) justin
Line 1: Line 1:
-======Hide Toolbar======+======Show Toolbar======
 ---- ----
  
-Hides the toolbar containing the inventory button, etc.+Shows the toolbar containing the [[inventory]] button, etc.
  
 +====Signature:====
 <code python> <code python>
-hide_toolbar()+show_toolbar()
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |  (No arguments for this function)  |||| |  (No arguments for this function)  ||||
- 
-<WRAP center round info 100%> 
-This function must be called to put the camera into a locked state before using any of the camera movement functions: [[Move Camera]], [[Move Camera At Speed]], [[Move Camera Over Time]], [[Look At Target]], [[Look At Target Over Time]], [[Rotate Camera]], and [[Rotate Camera Over Time]]. 
-</WRAP> 
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-hide_toolbar()+show_toolbar();
 </code> </code>
-//Results:// The camera is locked into its current position within the scene and the player's movements no longer affect the camera until it has been reset. Zooming and rotating of the camera are also disabled.+//Results:// The toolbar buttons will now be visible.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Hide Toolbar** function to force a static view of the current map or to freeze the camera in place for the duration of a cutscene.+Use the **Show Toolbar** function to restore the visibility of the toolbar if it was previously hidden by the [[Hide Toolbar]] function.
 </WRAP> </WRAP>
  
Line 30: Line 27:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:wiki:hide_toolbar_node.png?nolink|}}+{{:wiki:show_toolbar_node.png?nolink|}}
 </WRAP> </WRAP>
  
show_toolbar.1495912025.txt.gz · Last modified: 2017/05/27 12:07 by 127.0.0.1