ShaderArrayParameter.Move
 
 
 

ShaderArrayParameter.Move operator

Introduced

v9.0 (2011)

Description

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).

C# Syntax

ShaderArrayParameter.Move( Object& in_Param, Int32 in_upDown );

Scripting Syntax

ShaderArrayParameter.Move( in_param, in_upDown );

Parameters

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.