siTextureEffectsComputation

Description

Texture effects bit flags, to be used in conjunction with Texture.GetTransformValues

C# Syntax

siTextureEffectsComputation.siTextureComputeTransformation                  // 1
siTextureEffectsComputation.siTextureComputeCropping                        // 2
siTextureEffectsComputation.siTextureComputeUVRemap                         // 4
siTextureEffectsComputation.siTextureComputeFlip                            // 8
siTextureEffectsComputation.siTextureComputeRepeats                         // 16
siTextureEffectsComputation.siTextureComputeAlternate                       // 32
siTextureEffectsComputation.siTextureComputeWrapping                        // 64

Constant

Value

Description

siTextureComputeTransformation

1

Uses the transformation of the Texture projection definition.

siTextureComputeCropping

2

Uses the Image effect applied to the image clip.

siTextureComputeUVRemap

4

Remaps the UVW domains using the data stored into the Advanced tab of the texture shader.

siTextureComputeFlip

8

Uses the Flip information on the image clipto swap the UV values.

siTextureComputeRepeats

16

Uses the repeat information of the texture shader.

This flag applies to polygon mesh objects only. Artifacts may appear if the texture ends in the middle of a polygon.

siTextureComputeAlternate

32

Only applies if the Repeat is on.

Uses the alternate flag stored on the texture shader. This flag applies to polygon mesh objects only.

siTextureComputeWrapping

64

Uses the flags stored on the Texture projection definition.

This flag applies to polygon mesh objects only. Artifacts may appear if the texture ends in the middle of a polygon.

Applies To

Texture.GetTransformValues

Texture::GetTransformValues



Autodesk Softimage v7.5