FI3DHMaterialProperties Struct Reference#
|
instant3Dhub
|
FI3DHMaterialProperties Struct Reference
#include "I3DHDataTypes.h"
Collaboration diagram for FI3DHMaterialProperties:
Detailed Description
Metadata for materials stored in the instant3Dhub MaterialAPI.
- Experimental
- The instant3Dhub Material API is experimental and under active development.
Public Member Functions | |
| const FLinearColor & | GetBaseColor () const |
| const FLinearColor & | GetEmissiveColor () const |
| float | GetOpacity () const |
| float | GetRoughness () const |
| float | GetMetallic () const |
Public Attributes | |
| TOptional< FLinearColor > | BaseColor |
| TOptional< FLinearColor > | EmissiveColor |
| TOptional< FString > | Name |
| TOptional< float > | Opacity |
| TOptional< float > | Roughness |
| TOptional< float > | Metallic |
Member Function Documentation
◆ GetBaseColor()
|
inline |
Returns the base color of the material, defaulting to [1, 1, 1].
◆ GetEmissiveColor()
|
inline |
Returns the emissive color of the material, defaulting to [0, 0, 0].
◆ GetMetallic()
|
inline |
Returns the metallic property of the material, defaulting to 0.0.
◆ GetOpacity()
|
inline |
Returns the opacity of the material, defaulting to 1.0.
◆ GetRoughness()
|
inline |
Returns the roughness of the material, defaulting to 0.5.
Member Data Documentation
◆ BaseColor
| TOptional<FLinearColor> FI3DHMaterialProperties::BaseColor |
The base color of the material.
Defaults to [1, 1, 1].
- Note
- Alpha component is ignored. Use Opacity instead.
◆ EmissiveColor
| TOptional<FLinearColor> FI3DHMaterialProperties::EmissiveColor |
The emissive color of the material.
Defaults to [0, 0, 0].
- Note
- Alpha component is ignored. Use Opacity instead.
◆ Metallic
| TOptional<float> FI3DHMaterialProperties::Metallic |
The metallic property of the material in range [0, 1].
Defaults to 0.0.
◆ Name
◆ Opacity
| TOptional<float> FI3DHMaterialProperties::Opacity |
The opacity of the material in range [0, 1].
Defaults to 1.0.
◆ Roughness
| TOptional<float> FI3DHMaterialProperties::Roughness |
The roughness of the material in range [0, 1].
Defaults to 0.5.
The documentation for this struct was generated from the following file:
Generated by