GltfPbrMetallicRoughness Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/material.pbrMetallicRoughness.schema.json
public ref class GltfPbrMetallicRoughness : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfProperty
[System.Serializable]
public class GltfPbrMetallicRoughness : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfProperty
[<System.Serializable>]
type GltfPbrMetallicRoughness = class
inherit GltfProperty
Public Class GltfPbrMetallicRoughness
Inherits GltfProperty
- Inheritance
- Attributes
base |
The RGBA components of the base color of the material. The fourth component (A) is the opacity of the material. These values are linear. |
base |
The base color texture. This texture contains RGB(A) components in sRGB color space. The first three components (RGB) specify the base color of the material. If the fourth component (A) is present, it represents the opacity of the material. Otherwise, an opacity of 1.0 is assumed. |
Extensions |
https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extension.schema.json (Inherited from GltfProperty) |
Extras |
https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extras.schema.json (Inherited from GltfProperty) |
metallic |
The metalness of the material. A value of 1.0 means the material is a metal. A value of 0.0 means the material is a dielectric. Values in between are for blending between metals and dielectrics such as dirty metallic surfaces. This value is linear. |
metallic |
The metallic-roughness texture has two components. The first component (R) contains the metallic-ness of the material. The second component (G) contains the roughness of the material. These values are linear. If the third component (B) and/or the fourth component (A) are present, they are ignored. |
roughness |
The roughness of the material. A value of 1.0 means the material is completely rough. A value of 0.0 means the material is completely smooth. This value is linear. |
Produto | Versións |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |