
v9.0 (2011)
Moves an element up or down in the array relative to its current position. The new position of the parameter is calculated by adding in_lUpDown to the current index and clamping the result to the array boundaries (0 to ShaderArrayParameter.Count - 1).
ShaderArrayParameter.Move( Object& in_Param, Int32 in_upDown ); |
ShaderArrayParameter.Move( in_param, in_upDown ); |
| Parameter | Type | Description |
|---|---|---|
| in_param | Variant | The ShaderParameter to move |
| in_upDown | Long | Number of places to move the item. Use a positive value to move the item down the stack and a negative value to move the item up. |