VS:CreateTextureBitmapN

From Vectorworks Developer
Jump to navigation Jump to search

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

Description

Creates a texture bitmap object for the chosen shader record. Brings up dialog to choose the image file. Returns nil if user clicked Cancel or if the shader is not an image-based shader.

FUNCTION CreateTextureBitmapN(
shaderRecord :HANDLE) : HANDLE;
def vs.CreateTextureBitmapN(shaderRecord):
    return HANDLE

Parameters

shaderRecord HANDLE Handle to shader record.

Version

Availability: from VectorWorks10.1