Procedure GetTexSpaceOrientU returns the vector that describes the u-axis of the referenced texture (from world space to texture space).
PROCEDURE GetTexSpaceOrientU(
textureSpace : HANDLE;
VAR uXAxis : REAL;
VAR uYAxis : REAL;
VAR uZAxis : REAL);def vs.GetTexSpaceOrientU(textureSpace):
return (uXAxis, uYAxis, uZAxis)| Name | Type | Description |
|---|---|---|
| textureSpace | HANDLE | Handle to texture space. |
| uXAxis | REAL | Returns u-axis vector X component. |
| uYAxis | REAL | Returns u-axis vector Y component. |
| uZAxis | REAL | Returns u-axis vector Z component. |
Returns the vector that describes the u-axis of the texture (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.
GetTexSpaceOrientU( wallTextureSpace, xAxis, yAxis, zAxis );import vs
# Procedure GetTexSpaceOrientU returns the vector that describes the u-axis
# of the referenced texture (from world space to texture space).
textureSpace = vs.FSActLayer() # handle to the first selected object on the active layer
uXAxis, uYAxis, uZAxis = vs.GetTexSpaceOrientU(textureSpace)
vs.Message('GetTexSpaceOrientU returned: ' + str((uXAxis, uYAxis, uZAxis)))Availability: from VectorWorks8.0