VS:SetTextureShader

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

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

Parameters

texture HANDLE Handle to texture.
shaderIndex LONGINT Shader ID value for texture.

Remarks

Sets the shader to a LightWorks internal property ref.

Version

SetTextureShader is obsolete as of VectorWorks9.0


Availability: from VectorWorks8.0