b3dGetEntityMetallicFX

Returns entity metallic PBR property (0.0-1.0 double). Takes entity (mesh entity handle, positive integer). Returns double metallic value (0.0=non-metallic/dielectric to 1.0=fully metallic, -1.0 on error).

3D Graphics

Parameters & Returns

Parameters

entity Int

Returns

Double

Quick Summary

Returns entity metallic PBR property (0.0-1.0 double). Takes entity (mesh entity handle, positive integer). Returns double metallic value (0.0=non-metallic/dielectric to 1.0=fully metallic, -1.0 on error).

Technical Exegesis...

Returns entity metallic PBR property (0.0-1.0 double). Takes entity (mesh entity handle, positive integer). Returns double metallic value (0.0=non-metallic/dielectric to 1.0=fully metallic, -1.0 on error). Queries metallic property from entity material for physically-based rendering, checks material override first then base material.

Metallic meaning: 0.0=dielectric materials (wood, plastic, stone, leather, fabric - non-conductors), 0.5=partially metallic (uncommon, usually avoid intermediate values), 1.

Example

Example.bam
; No example implemented yet