VS:SetTextureShader: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
(No difference)

Revision as of 22:21, 27 April 2008

.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