Template:I FuncMoveLinear: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{IO|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}} {{IO|Close|Move the brush to the starting position.}} {{IO|SetPositi...")
 
({{minititle|FuncMoveLinear}})
Line 1: Line 1:
{{minititle|FuncMoveLinear}}
{{IO|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}}
{{IO|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}}
{{IO|Close|Move the brush to the starting position.}}
{{IO|Close|Move the brush to the starting position.}}
{{IO|SetPosition|param=float|Move the brush to a specific position, where 0 is the starting position and 1 is the starting position + (''move direction * move distance'').}}
{{IO|SetPosition|param=float|Move the brush to a specific position, where 0 is the starting position and 1 is the starting position + (''move direction * move distance'').}}
{{IO|SetSpeed|param=float|Set the speed and update immediately.}}
{{IO|SetSpeed|param=float|Set the speed and update immediately.}}

Revision as of 02:41, 9 September 2018

FuncMoveLinear:

Open
Move the brush to the end position (starting position + (move direction * move distance)).
Close
Move the brush to the starting position.
SetPosition <float>
Move the brush to a specific position, where 0 is the starting position and 1 is the starting position + (move direction * move distance).
SetSpeed <float>
Set the speed and update immediately.