Procedure SetTextureShader sets the LightWorks internal property reference ID for the shader attached to the referenced texture.
PROCEDURE SetTextureShader(
texture : HANDLE;
shaderIndex : LONGINT);def vs.SetTextureShader(texture, shaderIndex):
return None| Name | Type | Description |
|---|---|---|
| texture | HANDLE | Handle to texture. |
| shaderIndex | LONGINT | Shader ID value for texture. |
Sets the shader to a LightWorks internal property ref.
SetTextureShader(texture, 1);import vs
# Procedure SetTextureShader sets the LightWorks internal property reference
# ID for the shader attached to the referenced texture.
texture = vs.FSActLayer() # handle to the first selected object on the active layer
shaderIndex = 1
vs.SetTextureShader(texture, shaderIndex)SetTextureShader is obsolete as of VectorWorks9.0
Availability: from VectorWorks8.0