reckfellENGINE

GltfSpecGloss

Archived glTF extension for specular/glossy materials.

On this page
class GltfSpecGlossReckfellSharpInherits Resource

Archived glTF extension for specular/glossy materials.

KHR_materials_pbrSpecularGlossiness is an archived glTF extension. This means that it is deprecated and not recommended for new files. However, it is still supported for loading old files.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

GltfSpecGlossConstructor
# GltfSpecGloss
C#
public GltfSpecGloss();

Properties5

DiffuseFactorProperty
# DiffuseFactor
C#
public Color DiffuseFactor { get; set; }

The reflected diffuse factor of the material.

DiffuseImgProperty
# DiffuseImg
C#
public Image DiffuseImg { get; set; }

The diffuse texture.

GlossFactorProperty
# GlossFactor
C#
public float GlossFactor { get; set; }

The glossiness or smoothness of the material.

SpecGlossImgProperty
# SpecGlossImg
C#
public Image SpecGlossImg { get; set; }

The specular-glossiness texture.

SpecularFactorProperty
# SpecularFactor
C#
public Color SpecularFactor { get; set; }

The specular RGB color of the material. The alpha channel is unused.

Methods10

GetDiffuseFactorColor
# GetDiffuseFactor
C#
public Color GetDiffuseFactor();
Returns Color
GetDiffuseImgImage
# GetDiffuseImg
C#
public Image GetDiffuseImg();
Returns Image
GetGlossFactorfloat
# GetGlossFactor
C#
public float GetGlossFactor();
Returns float
GetSpecGlossImgImage
# GetSpecGlossImg
C#
public Image GetSpecGlossImg();
Returns Image
GetSpecularFactorColor
# GetSpecularFactor
C#
public Color GetSpecularFactor();
Returns Color
SetDiffuseFactorvoid
# SetDiffuseFactor
C#
public void SetDiffuseFactor(Color diffuseFactor);
Parameters
NameTypeDefault
diffuseFactorColor—
SetDiffuseImgvoid
# SetDiffuseImg
C#
public void SetDiffuseImg(Image diffuseImg);
Parameters
NameTypeDefault
diffuseImgImage—
SetGlossFactorvoid
# SetGlossFactor
C#
public void SetGlossFactor(float glossFactor);
Parameters
NameTypeDefault
glossFactorfloat—
SetSpecGlossImgvoid
# SetSpecGlossImg
C#
public void SetSpecGlossImg(Image specGlossImg);
Parameters
NameTypeDefault
specGlossImgImage—
SetSpecularFactorvoid
# SetSpecularFactor
C#
public void SetSpecularFactor(Color specularFactor);
Parameters
NameTypeDefault
specularFactorColor—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.