docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureReaderSample.Outputs

    Inheritance
    object
    TextureReaderSample.Outputs
    Namespace: USD.NET.Unity
    Assembly: solution.dll
    Syntax
    public class TextureReaderSample.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

    Name Description
    a
    b
    g
    r
    rgb
    rgba
    In This Article
    Back to top
    Copyright © 2023 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)