Unravel Engine C# Reference
Loading...
Searching...
No Matches
Unravel.Core.Material Class Reference
Inheritance diagram for Unravel.Core.Material:
Unravel.Core.Asset< Material >

Public Member Functions

 Material ()
 
 Material (Material rhs)
 
- Public Member Functions inherited from Unravel.Core.Asset< Material >
override bool Equals (object obj)
 Determines whether the specified object is equal to the current asset.
 
bool Equals (Asset< T > other)
 Determines whether the specified Asset<T> is equal to the current asset.
 
override int GetHashCode ()
 Serves as the default hash function for the asset.
 

Public Attributes

Color color = Color.white
 
Color emissiveColor = Color.black
 
Vector2 tiling = Vector2.one
 
float roughness = 0.0f
 
float metalness = 0.0f
 
float bumpiness = 1.0f
 

Additional Inherited Members

- Static Public Member Functions inherited from Unravel.Core.Asset< Material >
static bool operator== (Asset< T > lhs, Asset< T > rhs)
 Determines whether two Asset<T> instances are equal.
 
static bool operator!= (Asset< T > lhs, Asset< T > rhs)
 Determines whether two Asset<T> instances are not equal.
 
- Properties inherited from Unravel.Core.Asset< Material >
Guid uid [get, set]
 Gets the unique identifier (UID) of the asset.
 

Detailed Description

Definition at line 85 of file Assets.cs.

Constructor & Destructor Documentation

◆ Material() [1/2]

Unravel.Core.Material.Material ( )

Definition at line 87 of file Assets.cs.

◆ Material() [2/2]

Unravel.Core.Material.Material ( Material rhs)

Definition at line 91 of file Assets.cs.

Member Data Documentation

◆ bumpiness

float Unravel.Core.Material.bumpiness = 1.0f

Definition at line 134 of file Assets.cs.

◆ color

Color Unravel.Core.Material.color = Color.white

Definition at line 124 of file Assets.cs.

◆ emissiveColor

Color Unravel.Core.Material.emissiveColor = Color.black

Definition at line 126 of file Assets.cs.

◆ metalness

float Unravel.Core.Material.metalness = 0.0f

Definition at line 132 of file Assets.cs.

◆ roughness

float Unravel.Core.Material.roughness = 0.0f

Definition at line 130 of file Assets.cs.

◆ tiling

Vector2 Unravel.Core.Material.tiling = Vector2.one

Definition at line 128 of file Assets.cs.


The documentation for this class was generated from the following file: