Class PbrSpecularGlossiness
This extension defines the specular-glossiness material model from Physically-Based Rendering (PBR).
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class PbrSpecularGlossiness
Properties
DiffuseFactor
Diffuse color red, green, blue and alpha components in linear space.
Declaration
[JsonIgnore]
public ColorAlpha DiffuseFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorAlpha |
See Also
DiffuseTexture
Diffuse color texture info.
Declaration
[JsonPropertyName("diffuseTexture")]
public TextureInfo DiffuseTexture { get; set; }
Property Value
| Type | Description |
|---|---|
| TextureInfo |
See Also
GlossinessFactor
The glossiness or smoothness of the material.
Declaration
[JsonIgnore]
public float GlossinessFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
See Also
SpecularFactor
Specular color red, green and blue components in linear space.
Declaration
[JsonIgnore]
public Color SpecularFactor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
See Also
SpecularGlossinessTexture
The specular-glossiness texture.
Declaration
[JsonPropertyName("specularGlossinessTexture")]
public TextureInfo SpecularGlossinessTexture { get; set; }
Property Value
| Type | Description |
|---|---|
| TextureInfo |