docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureTransform

    KHR_texture_transform glTF extension

    Inheritance
    object
    TextureTransform
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class TextureTransform

    Fields

    offset

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

    Declaration
    public float[] offset
    Field Value
    Type Description
    float[]

    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
    public float rotation
    Field Value
    Type Description
    float

    scale

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

    Declaration
    public float[] scale
    Field Value
    Type Description
    float[]

    texCoord

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

    Declaration
    public int texCoord
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 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)