docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureReaderSample.Outputs

    Inheritance
    Object
    SampleBase
    TextureReaderSample.Outputs
    Inherited Members
    SampleBase.Free()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: USD.NET.Unity
    Syntax
    public class Outputs : SampleBase
    Remarks

    Outputs one or more values. If the texture is 8 bit per component [0, 255] values will first be converted to floating point [0, 1] and apply any transformations (bias, scale) indicated. Otherwise it will just apply any transformation (bias, scale). If a single-channel texture is fed into a UsdUVTexture, the r, g, and b components of the rgb and rgba outputs will repeat the channel's value, while both the single a output and the a component of the rgba outputs will be set to 1.0. If a two-channel texture is fed into a UsdUVTexture, the r, g, and b components of the rgb and rgba outputs will repeat the first channel's value, while both the single a output and the a component of the rgba outputs will be set to the second channel's value.

    Fields

    a

    Declaration
    public float? a
    Field Value
    Type Description
    Nullable<Single>

    b

    Declaration
    public float? b
    Field Value
    Type Description
    Nullable<Single>

    g

    Declaration
    public float? g
    Field Value
    Type Description
    Nullable<Single>

    r

    Declaration
    public float? r
    Field Value
    Type Description
    Nullable<Single>

    rgb

    Declaration
    public Vector3? rgb
    Field Value
    Type Description
    Nullable<Vector3>

    rgba

    Declaration
    public Vector4? rgba
    Field Value
    Type Description
    Nullable<Vector4>
    Back to top
    Copyright © 2023 Unity Technologies
    • 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 Thursday, October 19, 2023