# class ShadingTextureNode

TextureNode describes a texture source node in a shading network.

# Properties

Property Description
OffsetU The OffsetU value, which is will be added to the U-coordinate when sampling.
OffsetV The OffsetV value, which is will be added to the V-coordinate when sampling.
Rotation The rotation value, which is used to rotate the UV coordinates when sampling.
TexCoordLevel The texture texture coordinate level. The texture level is used during casting if the TexCoordName has not been set. Setting the TexCoordName is still required for generating shader code.
TexCoordName The name of the texture coordinate. If not set, the material uses the texture level (index) instead. The TexCoordName is required when generating shader data.
TextureName The name of the texture in the texture table used for casting. If both this and texture image is set, the casting uses the texture image.
TextureWrapMode The texture wrap mode in both U and V direction, which determines what happens to texture samples outside the 0-1 range. Setting this property affects both U and V direction, and getting this property returns the wrap mode in U direction in the case when they are different.
TextureWrapModeU The texture wrap mode in U direction, which determines what happens to texture samples outside the 0-1 range.
TextureWrapModeV The texture wrap mode in V direction, which determines what happens to texture samples outside the 0-1 range.
TileU The TileU value, which is multiplied into the U-coordinate when sampling.
TileV The TileV value, which is multiplied into the U-coordinate when sampling.
UseSRGB The use of sRGB when decoding the texture into an RGBA value.

# Methods

Method Description
GetClass Get the name of the ShadingTextureNode class.
GetDefaultParameterAlpha The default parameter values.
GetDefaultParameterBlue The default parameter values.
GetDefaultParameterGreen The default parameter values.
GetDefaultParameterRed The default parameter values.
GetParameterCount The input count.
GetParameterName The name of a parameter.
IsA Returns true if ShadingTextureNode is a or is a descendant of the class named as the type parameter.
IsNull Returns true if the ShadingTextureNode object is invalid.
SetDefaultParameter The default parameter values.

# Static methods

Method Description
IsClassA Returns true if the class is a or is a descendant of the class named as the type parameter.
SafeCast SafeCast makes sure the input object is of a class that can be cast into spShadingTextureNode, and if this is the case, returns the object cast into spShadingTextureNode.

# Properties details

# OffsetU

The OffsetU value, which is will be added to the U-coordinate when sampling.

    # OffsetV

    The OffsetV value, which is will be added to the V-coordinate when sampling.

      # Rotation

      The rotation value, which is used to rotate the UV coordinates when sampling.

        # TexCoordLevel

        The texture texture coordinate level. The texture level is used during casting if the TexCoordName has not been set. Setting the TexCoordName is still required for generating shader code.

          # TexCoordName

          The name of the texture coordinate. If not set, the material uses the texture level (index) instead. The TexCoordName is required when generating shader data.

            # TextureName

            The name of the texture in the texture table used for casting. If both this and texture image is set, the casting uses the texture image.

              # TextureWrapMode

              The texture wrap mode in both U and V direction, which determines what happens to texture samples outside the 0-1 range. Setting this property affects both U and V direction, and getting this property returns the wrap mode in U direction in the case when they are different.

                # TextureWrapModeU

                The texture wrap mode in U direction, which determines what happens to texture samples outside the 0-1 range.

                  # TextureWrapModeV

                  The texture wrap mode in V direction, which determines what happens to texture samples outside the 0-1 range.

                    # TileU

                    The TileU value, which is multiplied into the U-coordinate when sampling.

                      # TileV

                      The TileV value, which is multiplied into the U-coordinate when sampling.

                        # UseSRGB

                        The use of sRGB when decoding the texture into an RGBA value.

                          # Methods details

                          # GetClass

                          Get the name of the ShadingTextureNode class.

                            # GetDefaultParameterAlpha

                            The default parameter values.

                              # GetDefaultParameterBlue

                              The default parameter values.

                                # GetDefaultParameterGreen

                                The default parameter values.

                                  # GetDefaultParameterRed

                                  The default parameter values.

                                    # GetParameterCount

                                    The input count.

                                      # GetParameterName

                                      The name of a parameter.

                                        # IsA

                                        Returns true if ShadingTextureNode is a or is a descendant of the class named as the type parameter.

                                          # IsNull

                                          Returns true if the ShadingTextureNode object is invalid.

                                            # SetDefaultParameter

                                            The default parameter values.

                                              # Static methods details

                                              # IsClassA

                                              Returns true if the class is a or is a descendant of the class named as the type parameter.

                                                # SafeCast

                                                SafeCast makes sure the input object is of a class that can be cast into spShadingTextureNode, and if this is the case, returns the object cast into spShadingTextureNode.