Main Index : Reference :
class TextureTag : BaseTag
{
public:
TextureTag();
[bool] SetMaterial([Marker] marker);
[Marker] GetMaterial();
[vector] GetPosition();
[vector] GetScale();
[vector] GetRotation();
[bool] SetPosition([vector] p);
[bool] SetScale([vector] s);
[bool] SetRotation([vector] r);
[Matrix] GetMl();
[Matrix] GetMln();
[bool] SetMl([Matrix] ml);
}
This is the class used for texture tags. In addition to the functions, it contains the following container values:
| Container ID | Type | Explanation |
TEXTURETAG_OX |
[float] |
Offset X |
TEXTURETAG_OY |
[float] |
Offset Y |
TEXTURETAG_LENX |
[float] |
Length X |
TEXTURETAG_LENY |
[float] |
Length Y |
TEXTURETAG_TILE |
[bool] |
Tile |
TEXTURETAG_SEAMLESS |
[bool] |
Seamless |
TEXTURETAG_MIX |
[bool] |
Mix |
TEXTURETAG_PROJECTION |
[int] |
Projection (see the dialog) |
TEXTURETAG_SIDE |
[int] |
Side (see the dialog) |
TEXTURETAG_RESTRICTION |
[string] |
Restrict to selection |
[bool] SetMaterial([Marker] marker);
Sets the material of the tag to the material with the passed marker.
[Marker] GetMaterial();
Returns the marker of the current material.
[vector] GetPosition();
Returns the position of the texture projection.
[vector] GetScale();
Returns the scale of the texture projection.
[vector] GetRotation();
Returns the rotation of the texture projection.
[bool] SetPosition([vector] p);
Sets the position of the texture projection to p.
[bool] SetScale([vector] s):
Sets the scale of the texture projection to s.
[bool] SetRotation([vector] r);
Sets the rotation of the texture projection to r.
[Matrix] GetMl();
Returns the texture projection's coordinate system as a matrix.
[Matrix] GetMln();
Returns the texture projection's coordinate system as a normalized matrix.
[bool] SetMl([Matrix] ml);
Sets the texture projection's coordinate system matrix to ml.