Difference between revisions of "SourceShaderEditor/Ref controls"

From Valve Developer Community
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:Source Shader Editor - Controls}} Use {{key|F3}} to toggle visibility on the editor root panel, {{key|F1}} will toggle the size between half- and fullscreen and {...")
 
m (links)
Line 1: Line 1:
 
{{DISPLAYTITLE:Source Shader Editor - Controls}}
 
{{DISPLAYTITLE:Source Shader Editor - Controls}}
  
Use {{key|F3}} to toggle visibility on the editor root panel, {{key|F1}} will toggle the size between half- and fullscreen and {{key|F2}} allows you to change whether the input is directed towards the editor or the game in halfscreen mode.
+
Use {{key|F3}} to toggle visibility on the [[:Category:SourceShaderEditor|editor]] root panel, {{key|F1}} will toggle the size between half- and fullscreen and {{key|F2}} allows you to change whether the input is directed towards the editor or the game in halfscreen mode.
  
 
== View controls ==
 
== View controls ==
 
* Click and drag with the {{RMB}} to pan the view.
 
* Click and drag with the {{RMB}} to pan the view.
 
* {{MW}} to change the zoom level.
 
* {{MW}} to change the zoom level.
* Use the button '''View reset''' (bottom left corner) to center the view on all nodes.
+
* Use the button '''View reset''' (bottom left corner) to center the view on all [[SourceShaderEditor/Ref_vocabulary#Node|nodes]].
  
 
== Context menu ==
 
== Context menu ==
Use the {{RMB}} somewhere on the canvas to open the context menu.
+
Use the {{RMB}} somewhere on the [[SourceShaderEditor/Ref_vocabulary#Canvas|canvas]] to open the context menu.
 
* Spawn a new node by selecting the desired operation in the ''New node'' submenu.
 
* Spawn a new node by selecting the desired operation in the ''New node'' submenu.
 
* Copy, cut and delete will perform the respective operation on all currently selected nodes.
 
* Copy, cut and delete will perform the respective operation on all currently selected nodes.
 
* Paste will duplicate any copied nodes at the cursor position.
 
* Paste will duplicate any copied nodes at the cursor position.
* Disconnect will remove all bridges from the currently selected nodes.
+
* Disconnect will remove all [[[[SourceShaderEditor/Ref_vocabulary#Bridge|bridges]] from the currently selected nodes.
 
* Properties will open a node-specific options dialog.
 
* Properties will open a node-specific options dialog.
  

Revision as of 00:25, 21 July 2011


Use F3 to toggle visibility on the editor root panel, F1 will toggle the size between half- and fullscreen and F2 allows you to change whether the input is directed towards the editor or the game in halfscreen mode.

View controls

  • Click and drag with the Template-RMB.png right mouse button to pan the view.
  • Template-MW.png scroll mouse wheel to change the zoom level.
  • Use the button View reset (bottom left corner) to center the view on all nodes.

Context menu

Use the Template-RMB.png right mouse button somewhere on the canvas to open the context menu.

  • Spawn a new node by selecting the desired operation in the New node submenu.
  • Copy, cut and delete will perform the respective operation on all currently selected nodes.
  • Paste will duplicate any copied nodes at the cursor position.
  • Disconnect will remove all [[bridges from the currently selected nodes.
  • Properties will open a node-specific options dialog.

Node interaction

  • Select a node with the Template-LMB.png left mouse button.
  • Click and drag with the Template-LMB.png left mouse button over the canvas to select nodes with a selection box.
  • When selecting nodes, use Shift to add nodes to the current selection or Ctrl to toggle the selection status on the respective nodes.
  • Press Del to delete all selected nodes.
  • Click and drag with the Template-LMB.png left mouse button on a node to drag the current selection. When pointing on the boundaries of a container node, this operation will allow you to change the size of the container.
  • Doubleclick a node with the Template-LMB.png left mouse button to open its properties dialog.
  • Click and drag with the Template-LMB.png left mouse button on a jack to create a new bridge. Let go of the button while pointing on the destination jack to finalize the operation.
  • Use the Template-RMB.png right mouse button on a jack to destroy all of its bridges.

Preview controls

  • Click and drag with the Template-LMB.png left mouse button to rotate the view.
  • Click and drag with the Template-MMB.png middle mouse button to pan the view.
  • Template-MW.png scroll mouse wheel to zoom in and out.
  • Click and drag with the Template-RMB.png right mouse button to rotate the light around the view axes.
    Note:only visible if the shader supports lighting!