Class NormapMapChannel
If used, the material shows bumps defined by a normal map (a texture in RGB).
Inheritance
Implements
Inherited Members
Namespace: Fusee.Serialization.V1
Assembly: Fusee.Serialization.dll
Syntax
public class NormapMapChannel : IEquatable<NormapMapChannel>
Fields
Intensity
The intensity of the normal map..
Declaration
public float Intensity
Field Value
Type | Description |
---|---|
System.Single |
Texture
The texture to read the normal information from.
Declaration
public string Texture
Field Value
Type | Description |
---|---|
System.String |
Methods
Equals(NormapMapChannel)
Indicates whether the NormapMapChannel is equal to another one.
Declaration
public bool Equals(NormapMapChannel other)
Parameters
Type | Name | Description |
---|---|---|
NormapMapChannel | other | The NormapMapChannel to compare with this one. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current NormapMapChannel 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.Object | obj | The object to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | 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.Int32 |
Overrides
Operators
Equality(NormapMapChannel, NormapMapChannel)
Compares two instances for equality.
Declaration
public static bool operator ==(NormapMapChannel lhs, NormapMapChannel rhs)
Parameters
Type | Name | Description |
---|---|---|
NormapMapChannel | lhs | The first instance. |
NormapMapChannel | rhs | The second instance. |
Returns
Type | Description |
---|---|
System.Boolean | True, if left does equal right; false otherwise. |
Inequality(NormapMapChannel, NormapMapChannel)
Compares two instances for inequality.
Declaration
public static bool operator !=(NormapMapChannel lhs, NormapMapChannel rhs)
Parameters
Type | Name | Description |
---|---|---|
NormapMapChannel | lhs | The first instance. |
NormapMapChannel | rhs | The second instance. |
Returns
Type | Description |
---|---|
System.Boolean | True, if left does not equal right; false otherwise. |