Procedure SetTextureTransp sets the degree of transparency applied to the referenced texture. The transparency value is expressed in the range of 0-100, with 0 equaling opaque and 100 equaling transparent.
PROCEDURE SetTextureTransp(
texture : HANDLE;
transparency : INTEGER);def vs.SetTextureTransp(texture, transparency):
return None| Name | Type | Description |
|---|---|---|
| texture | HANDLE | Handle to texture. |
| transparency | INTEGER | Transparency setting for texture. |
Percentage value - 0 equals opaque
SetTextureTransp(texture, 1);import vs
# Procedure SetTextureTransp sets the degree of transparency applied to the
# referenced texture.
texture = vs.FSActLayer() # handle to the first selected object on the active layer
transparency = 1
vs.SetTextureTransp(texture, transparency)SetTextureTransp is obsolete as of VectorWorks9.0
Availability: from VectorWorks8.0