Show / Hide Table of Contents

Class FusMaterialGlossyBRDF

Material definition. If contained within a node, the node's (and potentially child node's) geometry is rendered with the specifies material. Used to add reflection with microfacet distribution, used for materials such as metal or mirrors. NOTE: At the moment FUSEE lacks an implementation of the reflection calculation.

Inheritance
System.Object
FusComponent
FusMaterialBase
FusMaterialGlossyBRDF
Implements
IComponent
System.IEquatable<FusMaterialBase>
System.IEquatable<FusMaterialGlossyBRDF>
Inherited Members
FusMaterialBase.HasAlbedoChannel
FusMaterialBase.Albedo
FusMaterialBase.HasEmissiveChannel
FusMaterialBase.Emissive
FusMaterialBase.HasNormalMapChannel
FusMaterialBase.NormalMap
FusMaterialBase.Equals(FusMaterialBase)
FusComponent.Name
FusComponent.Active
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 FusMaterialGlossyBRDF : FusMaterialBase, IComponent, IEquatable<FusMaterialBase>, IEquatable<FusMaterialGlossyBRDF>

Fields

Distribution

The microfacet distribution function. Currently not set because FUSEE only implements GGX.

Declaration
public Distribution Distribution
Field Value
Type Description
Distribution

Roughness

Specifies microfacet roughness of the surface specular reflection.

Declaration
public float Roughness
Field Value
Type Description
System.Single

Methods

Equals(FusMaterialGlossyBRDF)

Indicates whether the NormapMapChannel is equal to another one.

Declaration
public bool Equals(FusMaterialGlossyBRDF other)
Parameters
Type Name Description
FusMaterialGlossyBRDF 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
FusMaterialBase.Equals(Object)

GetHashCode()

Returns the hash for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
FusMaterialBase.GetHashCode()

Operators

Equality(FusMaterialGlossyBRDF, FusMaterialGlossyBRDF)

Compares two instances for equality.

Declaration
public static bool operator ==(FusMaterialGlossyBRDF lhs, FusMaterialGlossyBRDF rhs)
Parameters
Type Name Description
FusMaterialGlossyBRDF lhs

The first instance.

FusMaterialGlossyBRDF rhs

The second instance.

Returns
Type Description
System.Boolean

True, if left does equal right; false otherwise.

Inequality(FusMaterialGlossyBRDF, FusMaterialGlossyBRDF)

Compares two instances for inequality.

Declaration
public static bool operator !=(FusMaterialGlossyBRDF lhs, FusMaterialGlossyBRDF rhs)
Parameters
Type Name Description
FusMaterialGlossyBRDF lhs

The first instance.

FusMaterialGlossyBRDF rhs

The second instance.

Returns
Type Description
System.Boolean

True, if left does not equal right; false otherwise.

Implements

IComponent
System.IEquatable<T>
System.IEquatable<T>
Generated by DocFX
GitHub Repo
Back to top