Procedure GetTexSpaceOrigin returns the offset of the referenced texture space that takes coordinates from world space to texture space.
PROCEDURE GetTexSpaceOrigin(
textureSpace : HANDLE;
VAR offsetX,offsetY,offsetZ : REAL);def vs.GetTexSpaceOrigin(textureSpace):
return offset| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
| offset | REAL | Returns texture space offset value. |
Returns the offset that takes coordinates from world space to texture space
Note: GetTexMapXXX routines replace the older GetTexSpaceXXX routines. It is recommended that all developers transition to the newer versions.
Begin
GetTexSpaceOrigin( wallTextureSpace, xOffset, yOffset, zOffset );
xOffset := -xOffset;
yOffset := -yOffset;
zOffset := -zOffset;import vs
# Procedure GetTexSpaceOrigin returns 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
result = vs.GetTexSpaceOrigin(textureSpace)Availability: from VectorWorks8.0