c4d.TextureTag

class c4d.TextureTag
Represents the Texture Tag.
Holds the texture information associated with an object.

Methods Signatures

Magic Methods

TextureTag.__init__(self)
rtype:c4d.TextureTag

Get Methods

TextureTag.GetMaterial(self[, ignoredoc]) Get the current material associated with this tag.
TextureTag.GetMl(self) Get the texture projection’s coordinate system as a matrix.
TextureTag.GetPos(self) Get the position of the texture project.
TextureTag.GetRot(self) Get the rotation of the texture project.
TextureTag.GetScale(self) Get the scale of the texture project.

Set Methods

TextureTag.SetMaterial(self, mat) Set the material associated with this tag.
TextureTag.SetMl(self, m) Sets the texture projection’s coordinate system matrix.
TextureTag.SetPos(self, v) Sets the position of the texture projection.
TextureTag.SetRot(self, v) Sets the rotation of the texture projection.
TextureTag.SetScale(self, v) Sets the scale of the texture projection.

Inheritance

Parent Class:

Methods Documentation

TextureTag.__init__(self)
Return type:c4d.TextureTag
Returns:A new texture tag.
TextureTag.GetMaterial(self, ignoredoc=False)

Get the current material associated with this tag.

Parameters:ignoredoc (bool) –

New in version R18.020.

True to ignore the tag’s document (default), otherwise False.
True by default to keep backward compatibility.

Changed in version R21.204.

Changed default value to False to match C++.

Return type:c4d.BaseMaterial
Returns:The material or None.
TextureTag.GetMl(self)

Get the texture projection’s coordinate system as a matrix.

Return type:c4d.Vector
Returns:The texture projection’s coordinate system.
TextureTag.GetPos(self)

Get the position of the texture project.

Return type:c4d.Vector
Returns:The texture XYZ position.
TextureTag.GetRot(self)

Get the rotation of the texture project.

Return type:c4d.Vector
Returns:The rot of the texture.
TextureTag.GetScale(self)

Get the scale of the texture project.

Return type:c4d.Vector
Returns:The scale of the texture.
TextureTag.SetMaterial(self, mat)

Set the material associated with this tag.

Parameters:mat (c4d.BaseMaterial) – The material for this tag.
TextureTag.SetMl(self, m)

Sets the texture projection’s coordinate system matrix.

Parameters:v (c4d.Matrix) – The texture projection’s coordinate system.
TextureTag.SetPos(self, v)

Sets the position of the texture projection.

Parameters:v (c4d.Vector) – The position of the texture.
TextureTag.SetRot(self, v)

Sets the rotation of the texture projection.

Parameters:v (c4d.Vector) – The rotation of the texture.
TextureTag.SetScale(self, v)

Sets the scale of the texture projection.

Parameters:v (c4d.Vector) – The scale of the texture.