VS:CreateTextureBitmapN: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
Line 1: Line 1:
{{LocationMain|category=LocationVS|specific=}}
{{LocationMain|category=LocationVS|specific=}}
__TOC__
__TOC__
<vwDoc>
<vwDoc>

Latest revision as of 09:59, 14 October 2022

.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