Class TextureReaderSample.Outputs
Inherited Members
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> |