docs.unity3d.com
    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
    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
    Single[]

    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
    Single

    scale

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

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

    texCoord

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

    Declaration
    public int texCoord
    Field Value
    Type Description
    Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023