b3dSetEntityDetailAlpha

Sets detail texture layer opacity (0.0=invisible, 1.0=opaque, clamped 0.0-1.0). Takes entityHandle (mesh/terrain entity handle), textureHandle (texture handle identifying which detail layer), alpha (0.0-1.0 double). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entityHandle Int
textureHandle Int
alpha Double

Returns

Void

Quick Summary

Sets detail texture layer opacity (0.0=invisible, 1.0=opaque, clamped 0.0-1.0). Takes entityHandle (mesh/terrain entity handle), textureHandle (texture handle identifying which detail layer), alpha (0.0-1.0 double). Returns nothing.

Technical Exegesis...

Sets detail texture layer opacity (0.0=invisible, 1.0=opaque, clamped 0.0-1.0). Takes entityHandle (mesh/terrain entity handle), textureHandle (texture handle identifying which detail layer), alpha (0.0-1.0 double). Returns nothing. Finds detail layer containing textureHandle, updates detailBlendFactor[i] to clamped alpha, controls layer visibility/blending strength. Mesh and terrain entities only.

This function adjusts detail layer opacity. Alpha clamping: input clamped to 0.0-1.

Example

Example.bam
; No example implemented yet