IsSupportedInstanceValue (Parameter)

Introduced

5.0

Description

Returns true if the value is supported by the parameter. For example, many shaders have a parameter of input type of siTextureSpaceParameterType (see Shader.GetShaderInputType) but may only support vertex color Property objects. This method will support passing the name of the property or the actual property itself.

Scripting Syntax

Parameter.IsSupportedInstanceValue( Object, Value )

C# Syntax

Boolean Parameter.IsSupportedInstanceValue( Object in_obj, Object );

Parameters

Parameter

Type

Description

Object

Object such as a X3DObject

Object using the shared property

Value

Variant

New value for instance.

Return Value

Boolean

See Also

Parameter.GetInstanceValue

Parameter.SetInstanceValue

Parameter.HasInstanceValue

Examples

• See Parameter.IsSupportedInstanceValue.1.js



Autodesk Softimage 2011