Procedure SetTextureBitmap sets the bitmap object attached to the referenced texture. If no texture is desired then set textureBitmap to NIL.
PROCEDURE SetTextureBitmap(
shaderRecord : HANDLE;
textureBitmap : HANDLE);def vs.SetTextureBitmap(shaderRecord, textureBitmap):
return None| Name | Type | Description |
|---|---|---|
| shaderRecord | HANDLE | Handle to shader record. |
| textureBitmap | HANDLE | Handle to texture bitmap. |
Sets the bitmap for a shader record, use NIL for no bitmap
SetTextureBitmap(shaderRecord, textureBitmap);import vs
# Procedure SetTextureBitmap sets the bitmap object attached to the
# referenced texture.
shaderRecord = vs.GetObject('MyRecord') # handle to a record format
textureBitmap = vs.NextSObj(vs.FSActLayer()) # handle to the next selected object
vs.SetTextureBitmap(shaderRecord, textureBitmap)Availability: from VectorWorks8.0