vcanim.gif (8357 bytes)2D Texture Attributes
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


Attributes Specific to 2D Textures

AttributeName Get Set Fcrvs AttributeType Description
Alternate Y Y N SAA_Boolean horz

SAA_Boolean vert

Controls the horizontal and vertical tiling of picture files.

 

Ambient Y Y t2amb float Controls the visibility of the texture on a model's ambient area of illumination. Values range from above 0 to 1.
Anim Y Y N SAA_AnimationType Type of texture map animation:

SAA_ANIM_STATIC

SAA_ANIM_SEQUENCE

SAA_ANIM_SCRIPT

See the PicName attribute.

Blending Y Y t2bld float Overall blending value. Controls the blending of the texture with the current material (0 = material only, 1 = texture only).
CropMax Y Y N int U

int V

CropMax and CropMin define the portion of a picture file used as the texture map.
CropMin Y Y N int U

int V

Diffuse Y Y t2diff float Controls the visibility of the texture on a model's diffuse area of illumination. Values range from above 0 to 1.
Interpolate Y Y N SAA_Boolean Enables and disables the Pixel Interpolation option.
Mapping Y Y N SAA_MappingType Mapping method:

SAA_MAP_XY

SAA_MAP_XZ

SAA_MAP_YZ

SAA_MAP_UV

SAA_MAP_CYLINDRICAL

SAA_MAP_SPHERICAL

SAA_MAP_RAYTR_REFL_MAP

SAA_MAP_NON_RAYTR_REFL_MAP

PicName Y[6] Y N char * Picture Name. Name of the picture files referenced by a texture map.
RefMap Y Y t2refm float Reflection map intensity.
Reflection Y Y t2refl float Controls the reflectivity effect of the Effect Value Alpha Channel and RGB Intensity options. Values range from -1 to 1.
Repeats Y Y N int U

int V

Number of times a picture file is repeated in each direction.
Rotation Y Y t2rot float Rotation (in degrees) of the reflection map around the global y-axis.
Roughness Y Y t2roug float Controls the roughness effect of the Effect Value Alpha Channel and RGB intensity options. Values range from -20 to 20.
SRotation Y Y t2Srtx

t2Srty

t2Srtz

float X

float Y

float Z

Rotation (in degrees) of the texture map in relation to a selected element.
SScaling Y Y t2Sslx

t2Ssly

t2Sslz

float X

float Y

float Z

Scaling of the texture map in relation to a selected element.
STranslat Y Y t2Strx

t2Stry

t2Strz

float X

float Y

float Z

Translation of the texture map in relation to a selected element.
Specular Y Y t2spec float Controls the visibility of the texture on a model's specular area of illumination. Values range from above 0 to 1.
Transparency Y Y t2trsp float Controls the transparency effect of the Effect Value Alpha Channel and RGB Intensity options. Values range from -1 to 1.
UOffset Y Y t2uoff float Offsets the texture map in the U direction.
UScale Y Y t2uscl float Scales the texture map in the U direction.
UVSwap Y Y N SAA_Boolean If TRUE, the U and V directions of the texture coordinates are exchanged.
VOffset Y Y t2voff float Offsets the texture map in the V direction.
VScale Y Y t2vscl float Scales the texture map in the V direction.

See Also

SW_set


 

Behaviors Overview ] Behavior Evaluate ] Behavior Edit ] Debugger ] Console ] Find ] SAA Library ] SW library ] SWC library ] SWN library index ] SWU library ] Attributes Index ] Scripting Examples ]

copyright Video-Collage Inc.