Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.26 KB

File metadata and controls

53 lines (41 loc) · 1.26 KB

SetTexSpace2DRadius

Description

Procedure SetTexSpace2DRadius sets the radius of the referenced texture space for applicable mapping types.

PROCEDURE SetTexSpace2DRadius(
				textureSpace : HANDLE;
				radius       : REAL);
def vs.SetTexSpace2DRadius(textureSpace, radius):
    return None

Parameters

Name Type Description
textureSpace HANDLE Handle to texture space.
radius REAL Radius of texture space.

Remarks

For applicable mapping types, sets the radius of the texture space.

Note: SetTexMapXXX routines replace the older SetTexSpaceXXX routines. It is recommended that all developers transition to the newer versions.

Examples

BEGIN
	SetTexSpaceKind(temp2_h, 1);
	SetTexSpace2DRadius(temp2_h, JoistMapRadius);
END;

tmpReal := GetTexSpace2DRadius( wallTextureSpace );
SetTexSpace2DRadius( objTextureSpace, tmpReal );
import vs

# Procedure SetTexSpace2DRadius sets the radius of the referenced texture
# space for applicable mapping types.
textureSpace = vs.FSActLayer()  # handle to the first selected object on the active layer
radius = 1.0

vs.SetTexSpace2DRadius(textureSpace, radius)

Version

Availability: from VectorWorks8.0

Category