docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureTransform

    KHR_texture_transform glTF extension

    Inheritance
    object
    TextureTransform
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class TextureTransform

    Properties

    Offset

    The offset of the UV coordinate origin as a factor of the texture dimensions.

    Declaration
    [JsonPropertyName("offset")]
    [JsonConverter(typeof(Float2Converter))]
    public float2? Offset { get; set; }
    Property Value
    Type Description
    float2?

    Rotation

    Rotate the UVs by this many radians counter-clockwise around the origin. This is equivalent to a similar rotation of the image clockwise.

    Declaration
    [JsonPropertyName("rotation")]
    public float Rotation { get; set; }
    Property Value
    Type Description
    float

    Scale

    The scale factor applied to the components of the UV coordinates.

    Declaration
    [JsonPropertyName("scale")]
    [JsonConverter(typeof(Float2Converter))]
    public float2? Scale { get; set; }
    Property Value
    Type Description
    float2?

    TexCoord

    Overrides the textureInfo texCoord value if supplied, and if this extension is supported.

    Declaration
    [JsonPropertyName("texCoord")]
    public int? TexCoord { get; set; }
    Property Value
    Type Description
    int?
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)