Class AlbedoChannel
Part of the Fus
Implements
Inherited Members
Namespace: Fusee.Serialization.V1
Assembly: Fusee.Serialization.dll
Syntax
public class AlbedoChannel : IEquatable<AlbedoChannel>
Fields
Color
The color of the light component.
Declaration
public float4 Color
Field Value
Type | Description |
---|---|
float4 |
Mix
The percentage how to mix Color and Texture.
Declaration
public float Mix
Field Value
Type | Description |
---|---|
System. |
Texture
If not null, the texture to use as the color.
Declaration
public string Texture
Field Value
Type | Description |
---|---|
System. |
Methods
Equals(AlbedoChannel)
Indicates whether the MatChannelContainer is equal to another one.
Declaration
public bool Equals(AlbedoChannel other)
Parameters
Type | Name | Description |
---|---|---|
Albedo |
other | The MatChannelContainer to compare with this one. |
Returns
Type | Description |
---|---|
System. |
true if the current MatChannelContainer is equal to the other; otherwise, false. |
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj | The object to compare to. |
Returns
Type | Description |
---|---|
System. |
True if the instances are equal; false otherwise. |
Overrides
GetHashCode()
Returns the hash for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
Operators
Equality(AlbedoChannel, AlbedoChannel)
Compares two instances for equality.
Declaration
public static bool operator ==(AlbedoChannel lhs, AlbedoChannel rhs)
Parameters
Type | Name | Description |
---|---|---|
Albedo |
lhs | The first instance. |
Albedo |
rhs | The second instance. |
Returns
Type | Description |
---|---|
System. |
True, if left does equal right; false otherwise. |
Inequality(AlbedoChannel, AlbedoChannel)
Compares two instances for inequality.
Declaration
public static bool operator !=(AlbedoChannel lhs, AlbedoChannel rhs)
Parameters
Type | Name | Description |
---|---|---|
Albedo |
lhs | The first instance. |
Albedo |
rhs | The second instance. |
Returns
Type | Description |
---|---|
System. |
True, if left does not equal right; false otherwise. |