Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.07 KB

File metadata and controls

47 lines (36 loc) · 1.07 KB

SetTextureTransp

Description

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

Parameters

Name Type Description
texture HANDLE Handle to texture.
transparency INTEGER Transparency setting for texture.

Remarks

Percentage value - 0 equals opaque

Examples

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)

Version

SetTextureTransp is obsolete as of VectorWorks9.0

Availability: from VectorWorks8.0

Category