docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TextureSamplerSettings

    Describes the parameters of a texture sampler.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public struct TextureSamplerSettings

    Fields

    UVName

    The name of texture coordinate.

    Declaration
    public string UVName
    Field Value
    Type Description
    string

    UVTransform

    UV transform applied to the sampled texture.

    Declaration
    public TextureUVTransform UVTransform
    Field Value
    Type Description
    TextureUVTransform

    samplerId

    Identifier of the texture sampler.

    Declaration
    public string samplerId
    Field Value
    Type Description
    string

    textureBias

    Bias to be applied to all components of the texture.

    Declaration
    public Vector4 textureBias
    Field Value
    Type Description
    Vector4

    textureChannel

    Color channel of the sampled texture.

    Declaration
    public string textureChannel
    Field Value
    Type Description
    string

    texturePath

    file path of the sampled texture.

    Declaration
    public string texturePath
    Field Value
    Type Description
    string

    textureScale

    Scale to be applied to all components of the texture.

    Declaration
    public Vector4 textureScale
    Field Value
    Type Description
    Vector4

    wrapS

    Horizontal wrap mode of the texture.

    Declaration
    public TextureWrapMode wrapS
    Field Value
    Type Description
    TextureWrapMode

    wrapT

    Vertical wrap mode of the texture.

    Declaration
    public TextureWrapMode wrapT
    Field Value
    Type Description
    TextureWrapMode

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()
    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)