Class SpecularChannel
The specular channel definition.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Serialization.V1
Assembly: Fusee.Serialization.dll
Syntax
public class SpecularChannel : AlbedoChannel, IEquatable<AlbedoChannel>, IEquatable<SpecularChannel>
Fields
Shininess
The material's shininess.
Declaration
public float Shininess
Field Value
Type | Description |
---|---|
System.Single |
Strength
The specular intensity.
Declaration
public float Strength
Field Value
Type | Description |
---|---|
System.Single |
Methods
Equals(SpecularChannel)
Indicates whether the SpecularChannelContainer is equal to another one.
Declaration
public bool Equals(SpecularChannel other)
Parameters
Type | Name | Description |
---|---|---|
SpecularChannel | other | The SpecularChannelContainer to compare with this one. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current SpecularChannelContainer 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(SpecularChannel, SpecularChannel)
Compares two instances for equality.
Declaration
public static bool operator ==(SpecularChannel lhs, SpecularChannel rhs)
Parameters
Type | Name | Description |
---|---|---|
SpecularChannel | lhs | The first instance. |
SpecularChannel | rhs | The second instance. |
Returns
Type | Description |
---|---|
System.Boolean | True, if left does equal right; false otherwise. |
Inequality(SpecularChannel, SpecularChannel)
Compares two instances for inequality.
Declaration
public static bool operator !=(SpecularChannel lhs, SpecularChannel rhs)
Parameters
Type | Name | Description |
---|---|---|
SpecularChannel | lhs | The first instance. |
SpecularChannel | rhs | The second instance. |
Returns
Type | Description |
---|---|
System.Boolean | True, if left does not equal right; false otherwise. |
Implements
System.IEquatable<T>
System.IEquatable<T>