Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.23 KB

File metadata and controls

49 lines (38 loc) · 1.23 KB

SetTexSpaceOrigin

Description

Procedure SetTexSpaceOrigin sets the offset of the referenced texture space that takes coordinates from world space to texture space.

PROCEDURE SetTexSpaceOrigin(
				textureSpace            : HANDLE;
				offsetX,offsetY,offsetZ : REAL);
def vs.SetTexSpaceOrigin(textureSpace, offset):
    return None

Parameters

Name Type Description
textureSpace HANDLE Handle to texture space.
offset REAL Texture space offset value.

Remarks

Sets the offset that takes coordinates from world space to texture space

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

Examples

SetTexSpaceOrigin( objTextureSpace, 	-xOffset,
									-yOffset,
									-zOffset );
import vs

# Procedure SetTexSpaceOrigin sets the offset of the referenced texture space
# that takes coordinates from world space to texture space.
textureSpace = vs.FSActLayer()  # handle to the first selected object on the active layer
offset = 0.0

vs.SetTexSpaceOrigin(textureSpace, offset)

Version

Availability: from VectorWorks8.0

Category