VS:SetTextureShader

From Vectorworks Developer
Revision as of 14:38, 12 August 2013 by Root (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

.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