AttachDefaultTextureSpace Textures 

Declaration:

PROCEDURE   AttachDefaultTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) ;

Description:

Procedure AttachDefaultTextureSpace deletes any pre-existing space attached to the referenced object and creates a new one with the default object texture.

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).



  CreateTexture Textures 

Declaration:

FUNCTION   CreateTexture
:HANDLE ;

Description:

Function CreateTexture creates a new texture object with default values.



  CreateTextureBitmap Textures 

Declaration:

FUNCTION   CreateTextureBitmap
:HANDLE ;

Description:

Function CreateTextureBitmap creates a new default texture bitmap in a VectorWorks document.



  DeleteTextureSpace Textures 

Declaration:

PROCEDURE   DeleteTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) ;

Description:

Function DeleteTextureSpace deletes the texture space attached to the referenced object or object part.

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).



  EditTexture Textures 

Declaration:

FUNCTION   EditTexture
( texture:HANDLE ) :BOOLEAN ;

Description:

Function EditTexture opens the Edit Texture dialog for the referenced texture.

Parameters:

texture Handle to texture.



  EditTextureBitmap Textures 

Declaration:

FUNCTION   EditTextureBitmap
( textureBitmap:HANDLE ) :BOOLEAN ;

Description:

Function EditTextureBitmap opens the Edit Texture Bitmap dialog box to the referenced texture bitmap. The function returns TRUE if texture bitmap was modified.

Parameters:

textureBitmap Handle to texture bitmap.



  EditTextureSpace Textures 

Declaration:

FUNCTION   EditTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) :BOOLEAN ;

Description:

Function EditTextureSpace edits the mapping of a specified texture space for the referenced object. Calling this function opens the Edit Mapping dialog for textures.

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).

Result:

Returns TRUE if the texture space was modified.



  GetClTextureC Textures 

Declaration:

FUNCTION   GetClTextureC
( className:STRING ) :INTEGER ;

Description:

Function GetClTextureC returns the wall center texture of the specified class.

Parameters:

className Class name.



  GetClTextureD Textures 

Declaration:

FUNCTION   GetClTextureD
( className:STRING ) :INTEGER ;

Description:

Function GetClTextureD returns the roof dormer texture of the specified class.

Parameters:

className Class name.



  GetClTextureG Textures 

Declaration:

FUNCTION   GetClTextureG
( className:STRING ) :INTEGER ;

Description:

Function GetClTextureG returns the generic texture of the specified class.

Parameters:

className Class name.



  GetClTextureL Textures 

Declaration:

FUNCTION   GetClTextureL
( className:STRING ) :INTEGER ;

Description:

Function GetClTextureL returns the left side wall texture of the specified class.

Parameters:

className Class name.



  GetClTextureR Textures 

Declaration:

FUNCTION   GetClTextureR
( className:STRING ) :INTEGER ;

Description:

Function GetClTextureR returns the right side wall texture of the specified class.

Parameters:

className Class name.



  GetClTextureT Textures 

Declaration:

FUNCTION   GetClTextureT
( className:STRING ) :INTEGER ;

Description:

Function GetClTextureT returns the roof top texture of the specified class.

Parameters:

className Class name.



  GetClUseTexture Textures 

Declaration:

FUNCTION   GetClUseTexture
( className:STRING ) :BOOLEAN ;

Description:

Function GetClUseTexture returns whether a classes' texture attributes will be used at object creation.

Parameters:

className Class name.



  GetObjExpandTexture Textures 

Declaration:

FUNCTION   GetObjExpandTexture
( obj:HANDLE ) :BOOLEAN ;

Description:

Function GetObjExpandTexture returns whether the referenced objects' textures have been "expanded". When a texture is expanded, different components of an object can have different textures.

Parameters:

obj Handle to object.



  GetTexBFeatureEnd Textures 

Declaration:

PROCEDURE   GetTexBFeatureEnd
(   textureBitmap :HANDLE;
  VAR  featureEndX :INTEGER;
  VAR  featureEndY :INTEGER
) ;

Description:

Procedure GetTexBFeatureEnd returns the "feature endpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureEndX Returns X coordinate of feature end point.
featureEndY Returns Y coordinate of feature end point.



  GetTexBFeatureStart Textures 

Declaration:

PROCEDURE   GetTexBFeatureStart
(   textureBitmap :HANDLE;
  VAR  featureStartX :INTEGER;
  VAR  featureStartY :INTEGER
) ;

Description:

Procedure GetTexBFeatureStart returns the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureStartX Returns X coordinate of feature start point.
featureStartY Returns Y coordinate of feature start point.



  GetTexBitFeatureSize Textures 

Declaration:

FUNCTION   GetTexBitFeatureSize
( textureBitmap:HANDLE ) :REAL ;

Description:

Function GetTexBitFeatureSize returns the feature size of the referenced bitmap in real world inches.

Parameters:

textureBitmap Handle to texture bitmap.



  GetTexBitmapOrigin Textures 

Declaration:

PROCEDURE   GetTexBitmapOrigin
(   textureBitmap :HANDLE;
  VAR  originX :INTEGER;
  VAR  originY :INTEGER
) ;

Description:

Procedure GetTexBitmapOrigin returns the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).

Parameters:

textureBitmap Handle to texture bitmap.
originX Returns X coordinate of bitmap origin.
originY Returns Y coordinate of bitmap origin.



  GetTexBitPaintNode Textures 

Declaration:

FUNCTION   GetTexBitPaintNode
( textureBitmap:HANDLE ) :HANDLE ;

Description:

Function GetTexBitPaintNode returns the paint node of the referenced texture bitmap.

Parameters:

textureBitmap Handle to texture bitmap.



  GetTexBitRepHoriz Textures 

Declaration:

FUNCTION   GetTexBitRepHoriz
( textureBitmap:HANDLE ) :BOOLEAN ;

Description:

Function GetTexBitRepHoriz returns whether the referenced texture bitmap is set to repeat horizontally.

Parameters:

textureBitmap Handle to texture bitmap.

Result:

The function returns TRUE if the texture bitmap is set to repeat.



  GetTexBitRepVert Textures 

Declaration:

FUNCTION   GetTexBitRepVert
( textureBitmap:HANDLE ) :BOOLEAN ;

Description:

Function GetTexBitRepVert returns whether the referenced texture bitmap is set to repeat vertically.

Parameters:

textureBitmap Handle to texture bitmap.

Result:

The function returns TRUE if the texture bitmap is set to repeat.



  GetTexSpace2DOffset Textures 

Declaration:

PROCEDURE   GetTexSpace2DOffset
(   textureSpace :HANDLE;
  VAR  offsetU :REAL;
  VAR  offsetV :REAL
) ;

Description:

Procedure GetTexSpace2DOffset returns the 2D offset for the referenced texture space in real-world inches.

Parameters:

textureSpace Handle to texture space.
offsetU Returns texture offset U component.
offsetV returns texture offset V component.



  GetTexSpace2DRadius Textures 

Declaration:

FUNCTION   GetTexSpace2DRadius
( textureSpace:HANDLE ) :REAL ;

Description:

Function GetTexSpace2DRadius returns the radius of the referenced texture space for applicable mapping types.

Parameters:

textureSpace Handle to texture space.



  GetTexSpace2DRot Textures 

Declaration:

FUNCTION   GetTexSpace2DRot
( textureSpace:HANDLE ) :REAL ;

Description:

Function GetTexSpace2DRot returns the rotation of the referenced texture space (in degrees).

Parameters:

textureSpace Handle to texture space.



  GetTexSpace2DScale Textures 

Declaration:

FUNCTION   GetTexSpace2DScale
( textureSpace:HANDLE ) :REAL ;

Description:

Function GetTexSpace2DScale returns the 2D scale for the referenced texture space.

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceEndCap Textures 

Declaration:

FUNCTION   GetTexSpaceEndCap
( textureSpace:HANDLE ) :BOOLEAN ;

Description:

Function GetTexSpaceEndCap returns whether the end cap of the referenced extrude or sweep is textured.

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceKind Textures 

Declaration:

FUNCTION   GetTexSpaceKind
( textureSpace:HANDLE ) :INTEGER ;

Description:

Function GetTexSpaceKind returns the object type for texture mapping space.

Table - Texture Mapping Spaces

Date Style Constant
Plane 0
Sphere 1
Cylinder 2
Algorithmic 3

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceOrientU Textures 

Declaration:

PROCEDURE   GetTexSpaceOrientU
(   textureSpace :HANDLE;
  VAR  uXAxis :REAL;
  VAR  uYAxis :REAL;
  VAR  uZAxis :REAL
) ;

Description:

Procedure GetTexSpaceOrientU returns the vector that describes the u-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
uXAxis Returns u-axis vector X component.
uYAxis Returns u-axis vector Y component.
uZAxis Returns u-axis vector Z component.



  GetTexSpaceOrientV Textures 

Declaration:

PROCEDURE   GetTexSpaceOrientV
(   textureSpace :HANDLE;
  VAR  vXAxis :REAL;
  VAR  vYAxis :REAL;
  VAR  vZAxis :REAL
) ;

Description:

Procedure GetTexSpaceOrientV returns the vector that describes the v-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
vXAxis Returns v-axis vector X component.
vYAxis Returns v-axis vector Y component.
vZAxis Returns v-axis vector Z component.



  GetTexSpaceOrientW Textures 

Declaration:

PROCEDURE   GetTexSpaceOrientW
(   textureSpace :HANDLE;
  VAR  wXAxis :REAL;
  VAR  wYAxis :REAL;
  VAR  wZAxis :REAL
) ;

Description:

Procedure GetTexSpaceOrientW returns the vector that describes the w-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
wXAxis Returns w-axis vector X component.
wYAxis Returns w-axis vector Y component.
wZAxis Returns w-axis vector Z component.



  GetTexSpaceOrigin Textures 

Declaration:

PROCEDURE   GetTexSpaceOrigin
(   textureSpace :HANDLE;
  VAR  offsetX :REAL;
  VAR  offsetY :REAL;
  VAR  offsetZ :REAL
) ;

Description:

Procedure GetTexSpaceOrigin returns the offset of the referenced texture space that takes coordinates from world space to texture space.

Parameters:

textureSpace Handle to texture space.
offset Returns texture space offset value.



  GetTexSpacePartID Textures 

Declaration:

FUNCTION   GetTexSpacePartID
( textureSpace:HANDLE ) :INTEGER ;

Description:

Function GetTexSpacePartID returns the parent of the referenced texture space in an expanded object (walls or roofs).

Table - Texture Space Objects

Object Constant
Primary 0
Secondary 1
Tertiary 2

Parameters:

textureSpace Handle to texture space.



  GetTexSpaceStartCap Textures 

Declaration:

FUNCTION   GetTexSpaceStartCap
( textureSpace:HANDLE ) :BOOLEAN ;

Description:

Function GetTexSpaceStartCap returns whether the start cap of an extrude or sweep is textured.

Parameters:

textureSpace Handle to texture space.



  GetTextureBitmap Textures 

Declaration:

FUNCTION   GetTextureBitmap
( texture:HANDLE ) :HANDLE ;

Description:

Function GetTextureBitmap returns the bitmap object attached to the referenced texture.

Parameters:

texture Handle to texture.

Result:

If there is no texture applied to an object the function returns NIL.



  GetTextureRef Textures 

Declaration:

FUNCTION   GetTextureRef
(   obj :HANDLE;
    partID :INTEGER;
    resolveByClass :BOOLEAN
) :LONGINT ;

Description:

Function GetTextureRef returns the texture reference ID for the referenced object. The integer returned is the internal index of the texture node used by this object.

Parameters:

obj Handle to object.
partID Identifies texture to be returned by part ID.
resolveByClass Resolve texture reference by class.



  GetTextureShader Textures 

Declaration:

FUNCTION   GetTextureShader
( texture:HANDLE ) :LONGINT ;

Description:

Function GetTextureShader returns the LightWorks internal property reference ID for the shader attached to the referenced texture.

Parameters:

texture Handle to texture.



  GetTextureShininess Textures 

Declaration:

FUNCTION   GetTextureShininess
( texture:HANDLE ) :INTEGER ;

Description:

Function GetTextureShininess returns the shininess value of the referenced texture. The value is expressed as a percentage value with 0 equaling "Dull".

Parameters:

texture Handle to texture.



  GetTextureSpace Textures 

Declaration:

FUNCTION   GetTextureSpace
(   obj :HANDLE;
    partID :INTEGER
) :HANDLE ;

Description:

Function GetTextureSpace returns a handle to the texture space attached to the referenced object(or object part).

Parameters:

obj Handle to object.
partID Part ID (pass 1 for non-supporting objects).



  GetTextureTransp Textures 

Declaration:

FUNCTION   GetTextureTransp
( texture:HANDLE ) :INTEGER ;

Description:

Function GetTextureTransp returns the degree of transparency applied to the referenced texture. It is expressed as a percentage with 0 creating an opaque texture.

Parameters:

texture Handle to texture.



  IsTextureableObject Textures 

Declaration:

FUNCTION   IsTextureableObject
( obj:HANDLE ) :BOOLEAN ;

Description:

Function IsTextureableObject returns whether the referenced object supports texture mapping.

Parameters:

obj Handle to object.

Result:

Returns TRUE if object supports texture mapping.



  ResolveByClassTextureRef Textures 

Declaration:

FUNCTION   ResolveByClassTextureRef
(   obj :HANDLE;
    partID :INTEGER
) :INTEGER ;

Description:

Function ResolveByClassTextureRef returns the internal index, or name, of the texture assigned to the referenced object.

Primary, secondary, or tertiary texture assignments can be returned for objects that support multiple textures, such as roofs or walls. For objects that do not support multiple textures, pass 0 to the partID parameter.

Table - Object Texture Reference

Texture Index Value
Primary 0
Secondary 1
Tertiary 2

Parameters:

obj Handle to object.
partID Primary, secondary, or tertiary texture ID to be returned.

Example:

textureID:=ResolveByClassTextureRef(handleToObject,0);

See Also:

SetTextureRef   GetTextureRef  



  SetClTextureC Textures 

Declaration:

PROCEDURE   SetClTextureC
(   className :STRING;
    textureRef :INTEGER
) ;

Description:

Procedure SetClTextureC sets the wall center texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureD Textures 

Declaration:

PROCEDURE   SetClTextureD
(   className :STRING;
    textureRef :INTEGER
) ;

Description:

Procedure SetClTextureD sets the roof dormer texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureG Textures 

Declaration:

PROCEDURE   SetClTextureG
(   className :STRING;
    textureRef :INTEGER
) ;

Description:

Procedure SetClTextureG sets the generic texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureL Textures 

Declaration:

PROCEDURE   SetClTextureL
(   className :STRING;
    textureRef :INTEGER
) ;

Description:

Procedure SetClTextureL sets the left side wall texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureR Textures 

Declaration:

PROCEDURE   SetClTextureR
(   className :STRING;
    textureRef :INTEGER
) ;

Description:

Procedure SetClTextureR sets the right side wall texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetClTextureT Textures 

Declaration:

PROCEDURE   SetClTextureT
(   className :STRING;
    textureRef :INTEGER
) ;

Description:

Procedure SetClTextureT sets the roof top texture of the specified class.

Parameters:

className Class name.
textureRef Texture reference index value.



  SetDefaultTextureSpace Textures 

Declaration:

PROCEDURE   SetDefaultTextureSpace
(   obj :HANDLE;
    texSpace :HANDLE;
    partID :INTEGER
) ;

Description:

Procedure SetDefaultTextureSpace sets the texture space for the referenced object to the VectorWorks object defaults.

Parameters:

obj Handle to object.
texSpace Handle to texture space.
partID Part ID (pass 1 for non-supporting objects).



  SetObjExpandTexture Textures 

Declaration:

PROCEDURE   SetObjExpandTexture
(   obj :HANDLE;
    expanded :BOOLEAN
) ;

Description:

Procedure SetObjExpandTexture sets the "expanded" state of the referenced objects' texture. When a texture is expanded, different components of an object can have different textures.

Parameters:

obj Handle to object.
expanded Use expanded textures setting.



  SetTexBFeatureEnd Textures 

Declaration:

PROCEDURE   SetTexBFeatureEnd
(   textureBitmap :HANDLE;
    featureEndX :INTEGER;
    featureEndY :INTEGER
) ;

Description:

Procedure SetTexBFeatureEnd sets the "feature endpoint" of the referenced texture bitmap. Parameters featureEndX and featureEndY specify the end point. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureEndX X coordinate of feature end point.
featureEndY Y coordinate of feature end point.



  SetTexBFeatureStart Textures 

Declaration:

PROCEDURE   SetTexBFeatureStart
(   textureBitmap :HANDLE;
    featureStartX :INTEGER;
    featureStartY :INTEGER
) ;

Description:

Procedure SetTexBFeatureStart sets the "feature startpoint" of the referenced texture bitmap. The point is expressed in pixels from the top left corner of the bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
featureStartX X coordinate of feature start point.
featureStartY Y coordinate of feature start point.



  SetTexBitFeatureSize Textures 

Declaration:

PROCEDURE   SetTexBitFeatureSize
(   textureBitmap :HANDLE;
    featureSize :REAL
) ;

Description:

Procedure SetTexBitFeatureSize sets the feature size of the referenced bitmap. Parameter featureSize specifies the size in real world inches.

Parameters:

textureBitmap Handle to texture bitmap.
featureSize Feature size value.



  SetTexBitmapOrigin Textures 

Declaration:

PROCEDURE   SetTexBitmapOrigin
(   textureBitmap :HANDLE;
    originX :INTEGER;
    originY :INTEGER
) ;

Description:

Procedure SetTexBitmapOrigin sets the origin of the bitmap applied to the referenced texture bitmap. The origin is measured in pixels, with the top left corner as (0,0).

Parameters:

textureBitmap Handle to texture bitmap.
originX X coordinate of bitmap origin.
originY Y coordinate of bitmap origin.



  SetTexBitPaintNode Textures 

Declaration:

PROCEDURE   SetTexBitPaintNode
(   textureBitmap :HANDLE;
    paintNode :HANDLE
) ;

Description:

Procedure SetTexBitPaintNode sets the paint node of the referenced texture bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
paintNode Paint node for texture bitmap.



  SetTexBitRepHoriz Textures 

Declaration:

PROCEDURE   SetTexBitRepHoriz
(   textureBitmap :HANDLE;
    repeatHoriz :BOOLEAN
) ;

Description:

Procedure SetTexBitRepHoriz sets the horizontal repeat flag for the referenced texture bitmap.

Parameters:

textureBitmap Handle to texture bitmap.
repeatHoriz Horizontal tiling setting.



  SetTexBitRepVert Textures 

Declaration:

PROCEDURE   SetTexBitRepVert
(   textureBitmap :HANDLE;
    repeatVert :BOOLEAN
) ;

Description:

Procedure SetTexBitRepVert sets the vertical repeat flag for the referenced texture bitmap. Parameter repeatVert toggles vertical tiling.

Parameters:

textureBitmap Handle to texture bitmap.
repeatVert Vertical tiling setting.



  SetTexSpace2DOffset Textures 

Declaration:

PROCEDURE   SetTexSpace2DOffset
(   textureSpace :HANDLE;
    offsetU :REAL;
    offsetV :REAL
) ;

Description:

Procedure SetTexSpace2DOffset sets the 2D offset for the referenced texture space in real-world inches.

Parameters:

textureSpace Handle to texture space.
offsetU Texture offset U component.
offsetV Texture offset V component.



  SetTexSpace2DRadius Textures 

Declaration:

PROCEDURE   SetTexSpace2DRadius
(   textureSpace :HANDLE;
    radius :REAL
) ;

Description:

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

Parameters:

textureSpace Handle to texture space.
radius Radius of texture space.



  SetTexSpace2DRot Textures 

Declaration:

PROCEDURE   SetTexSpace2DRot
(   textureSpace :HANDLE;
    rotationDegrees :REAL
) ;

Description:

Procedure SetTexSpace2DRot sets the rotation of the referenced texture space.

Parameters:

textureSpace Handle to texture space.
rotationDegrees Rotation of texture space(in degrees).



  SetTexSpace2DScale Textures 

Declaration:

PROCEDURE   SetTexSpace2DScale
(   textureSpace :HANDLE;
    scale :REAL
) ;

Description:

Procedure SetTexSpace2DScale sets the 2D scale for the referenced texture space. Parameter scale specifies the new scale value.

Parameters:

textureSpace Handle to texture space.
scale Scale for texture space.



  SetTexSpaceEndCap Textures 

Declaration:

PROCEDURE   SetTexSpaceEndCap
(   textureSpace :HANDLE;
    endCapTextured :BOOLEAN
) ;

Description:

Procedure SetTexSpaceEndCap sets whether the end cap of a referenced extrude or sweep is textured.

Parameters:

textureSpace Handle to texture space.
endCapTextured Texture end cap status.



  SetTexSpaceKind Textures 

Declaration:

PROCEDURE   SetTexSpaceKind
(   textureSpace :HANDLE;
    kind :INTEGER
) ;

Description:

Procedure SetTexSpaceKind sets the object type for referenced texture mapping space.

Table - Texture Mapping Spaces

Date Style Constant
Plane 0
Sphere 1
Cylinder 2
Algorithmic 3

Parameters:

textureSpace Handle to texture space.
kind Texture mapping space type.



  SetTexSpaceOrientU Textures 

Declaration:

PROCEDURE   SetTexSpaceOrientU
(   textureSpace :HANDLE;
    uXAxis :REAL;
    uYAxis :REAL;
    uZAxis :REAL
) ;

Description:

Procedure SetTexSpaceOrientU specifies the vector that describes the u-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
uXAxis Sets u-axis vector X component.
uYAxis Sets u-axis vector Y component.
uZAxis Sets u-axis vector Z component.



  SetTexSpaceOrientV Textures 

Declaration:

PROCEDURE   SetTexSpaceOrientV
(   textureSpace :HANDLE;
    vXAxis :REAL;
    vYAxis :REAL;
    vZAxis :REAL
) ;

Description:

Procedure SetTexSpaceOrientV specifies the vector that describes the v-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
vXAxis Sets v-axis vector X component.
vYAxis Sets v-axis vector Y component.
vZAxis Sets v-axis vector Z component.



  SetTexSpaceOrientW Textures 

Declaration:

PROCEDURE   SetTexSpaceOrientW
(   textureSpace :HANDLE;
    wXAxis :REAL;
    wYAxis :REAL;
    wZAxis :REAL
) ;

Description:

Procedure SetTexSpaceOrientW specifies the vector that describes the w-axis of the referenced texture (from world space to texture space).

Parameters:

textureSpace Handle to texture space.
wXAxis Sets w-axis vector X component.
wYAxis Sets w-axis vector Y component.
wZAxis Sets w-axis vector Z component.



  SetTexSpaceOrigin Textures 

Declaration:

PROCEDURE   SetTexSpaceOrigin
(   textureSpace :HANDLE;
    offsetX :REAL;
    offsetY :REAL;
    offsetZ :REAL
) ;

Description:

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

Parameters:

textureSpace Handle to texture space.
offset Texture space offset value.



  SetTexSpacePartID Textures 

Declaration:

PROCEDURE   SetTexSpacePartID
(   textureSpace :HANDLE;
    partID :INTEGER
) ;

Description:

Procedure SetTexSpacePartID sets the parent of the referenced texture space in an expanded object (walls or roofs).

Table - Texture Space Objects

Object Constant
Primary 0
Secondary 1
Tertiary 2

Parameters:

textureSpace Handle to texture space.
partID Part ID of texture space parent.



  SetTexSpaceStartCap Textures 

Declaration:

PROCEDURE   SetTexSpaceStartCap
(   textureSpace :HANDLE;
    startCapTextured :BOOLEAN
) ;

Description:

Procedure SetTexSpaceStartCap sets the texture status of a referenced sweep or extrude.

Parameters:

textureSpace Handle to texture space.
startCapTextured Texture start cap status.



  SetTextureBitmap Textures 

Declaration:

PROCEDURE   SetTextureBitmap
(   texture :HANDLE;
    textureBitmap :HANDLE
) ;

Description:

Procedure SetTextureBitmap sets the bitmap object attached to the referenced texture. If no texture is desired then set textureBitmap to NIL.

Parameters:

texture Handle to texture.
textureBitmap Handle to texture bitmap.



  SetTextureRef Textures 

Declaration:

PROCEDURE   SetTextureRef
(   obj :HANDLE;
    textureRef :LONGINT;
    partID :INTEGER
) ;

Description:

Function SetTextureRef sets the texture reference ID for the referenced object.

Parameters:

obj Handle to object.
textureRef Texture reference ID.
partID Part ot be assigned texture reference.



  SetTextureShader Textures 

Declaration:

PROCEDURE   SetTextureShader
(   texture :HANDLE;
    shaderIndex :LONGINT
) ;

Description:

Procedure SetTextureShader sets the LightWorks internal property reference ID for the shader attached to the referenced texture.

Parameters:

texture Handle to texture.
shaderIndex Shader ID value for texture.



  SetTextureShininess Textures 

Declaration:

PROCEDURE   SetTextureShininess
(   texture :HANDLE;
    shininess :INTEGER
) ;

Description:

Procedure SetTextureShininess sets the shininess value of the referenced texture. The value is expressed as a percentage value in a range of 0-100 with 0 equaling "Dull".

Parameters:

texture Handle to texture.
shininess Shininess setting for texture.



  SetTextureTransp Textures 

Declaration:

PROCEDURE   SetTextureTransp
(   texture :HANDLE;
    transparency :INTEGER
) ;

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.

Parameters:

texture Handle to texture.
transparency Transparency setting for texture.