mojo3d.PbrMaterial - nitrologic/monkey2 GitHub Wiki

mojo3d::mojo3d.PbrMaterial

Class PbrMaterial Extends mojo3d:mojo3d.Material

The PbrMaterial class.

Constructors
New Creates a new pbr material.
Properties
AmbientFactor
AmbientTexture
Boned
ColorFactor
ColorTexture
EmissiveFactor
EmissiveTexture
MetalnessFactor
MetalnessTexture
NormalTexture
OcclusionTexture
RoughnessFactor
RoughnessTexture
Methods
Copy Creates a copy of the pbr material.
Functions
Load Loads a PbrMaterial from a 'file'.