The TextureOffset
property of the MeshFace
class in the Editor.MeshEditor
namespace represents the offset of the texture applied to a mesh face. This property is of type Vector2
, which means it contains two floating-point values that define the horizontal and vertical shift of the texture.
This property is part of the "Texture State" group and is labeled as "Shift" for better understanding in the context of texture manipulation. The TextureOffset
is useful for adjusting the position of the texture on the mesh face, allowing for precise control over how the texture is displayed.
Note that this property is marked with the JsonIgnore
attribute, indicating that it will not be serialized when converting the object to JSON format.