b3dSetEntityAlphaFX

Sets entity transparency alpha (0.0=invisible, 1.0=opaque, auto-enables blending if <1.0). Takes entity (mesh/billboard entity handle), alpha (0.0-1.0 double). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
alpha Double

Returns

Void

Quick Summary

Sets entity transparency alpha (0.0=invisible, 1.0=opaque, auto-enables blending if <1.0). Takes entity (mesh/billboard entity handle), alpha (0.0-1.0 double). Returns nothing.

Technical Exegesis...

Sets entity transparency alpha (0.0=invisible, 1.0=opaque, auto-enables blending if <1.0). Takes entity (mesh/billboard entity handle), alpha (0.0-1.0 double). Returns nothing. Clamps alpha to 0.0-1.0 range, updates material baseColorFactor.w (alpha channel) or billboard alpha, automatically enables blending if alpha < 1.0 (sets blendMode=1) or disables if alpha = 1.0 (sets blendMode=0). Mesh and billboard entities.

This function sets transparency. Alpha meaning: controls opacity (0.

Example

Example.bam
; No example implemented yet