Class FusMaterialBRDF
Material definition. If contained within a node, the node's (and potentially child node's) geometry is rendered with the specifies material. The BRDF material contains information needed for a physically-based lighting calculation using a bidirectional reflectance distribution function.
Inherited Members
Namespace: Fusee.Serialization.V1
Assembly: Fusee.Serialization.dll
Syntax
public class FusMaterialBRDF : FusMaterialBase, IComponent, IEquatable<FusMaterialBase>, IEquatable<FusMaterialBRDF>
Fields
BRDF
Contains all variables for a physically-based lighting calculation using a bidirectional reflectance distribution function.
Declaration
public BRDFChannel BRDF
Field Value
Type | Description |
---|---|
BRDFChannel |
Properties
HasBRDFChannel
Gets a value indicating whether this instance has a BRDF channel.
Declaration
public bool HasBRDFChannel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Equals(FusMaterialBRDF)
Indicates whether the NormapMapChannel is equal to another one.
Declaration
public bool Equals(FusMaterialBRDF other)
Parameters
Type | Name | Description |
---|---|---|
FusMaterialBRDF | 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(FusMaterialBRDF, FusMaterialBRDF)
Compares two instances for equality.
Declaration
public static bool operator ==(FusMaterialBRDF lhs, FusMaterialBRDF rhs)
Parameters
Type | Name | Description |
---|---|---|
FusMaterialBRDF | lhs | The first instance. |
FusMaterialBRDF | rhs | The second instance. |
Returns
Type | Description |
---|---|
System.Boolean | True, if left does equal right; false otherwise. |
Inequality(FusMaterialBRDF, FusMaterialBRDF)
Compares two instances for inequality.
Declaration
public static bool operator !=(FusMaterialBRDF lhs, FusMaterialBRDF rhs)
Parameters
Type | Name | Description |
---|---|---|
FusMaterialBRDF | lhs | The first instance. |
FusMaterialBRDF | rhs | The second instance. |
Returns
Type | Description |
---|---|
System.Boolean | True, if left does not equal right; false otherwise. |