Struct DisplayColorMaterialDescription
Describes the parameters of a specific material, created from displayColor/displayOpacity data.
Implements
Inherited Members
Namespace: Unity.Importer.USD
Assembly: Unity.Importer.USD.dll
Syntax
public struct DisplayColorMaterialDescription : IEquatable<DisplayColorMaterialDescription>
Fields
color
The diffuse color of the material to create.
Declaration
public Color color
Field Value
| Type | Description |
|---|---|
| Color |
name
The name of the material to create.
Declaration
public string name
Field Value
| Type | Description |
|---|---|
| string |
opacity
The opacity of the material to create.
Declaration
public float opacity
Field Value
| Type | Description |
|---|---|
| float |
Methods
Equals(DisplayColorMaterialDescription)
See documentation for <IEquatable.Equals> for more details
Declaration
public bool Equals(DisplayColorMaterialDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| DisplayColorMaterialDescription | other |
Returns
| Type | Description |
|---|---|
| bool |
GetHashCode()
See documentation for <Object.GetHashCode> for more details
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |