v1.5
v9.0 (2011)--see SetReference2
Sets reference parameter values for a shader. Reference
parameter values occur only for shaders and are specified with
'type = reference;' in the SPDL file.
Use this command when you need to set a reference to a scene object
when applying a shader that uses object references. For example,
the Lightning shader defines start and end points that you link to
items in the scene explorer.
SetReference( Target, Value, [Time] ); |
Parameter | Type | Description |
---|---|---|
Target | String | The parameter to set. |
Value | SafeArray of IUnknowns | New parameter values. |
Time | Integer | Frame at which to set the values.
Default Value: Current frame. |