b3dSetSurfaceDetailAlpha

Sets surface detail layer opacity (0.0=invisible, 1.0=opaque, clamped 0.0-1.0, surface-based only). Takes meshHandle (mesh entity handle), surfaceHandle (surface index 0 to surfaceCount-1), textureHandle (texture handle identifying which layer), alpha (0.0-1.0 double). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

meshHandle Int
surfaceHandle Int
textureHandle Int
alpha Double

Returns

Void

Quick Summary

Sets surface detail layer opacity (0.0=invisible, 1.0=opaque, clamped 0.0-1.0, surface-based only). Takes meshHandle (mesh entity handle), surfaceHandle (surface index 0 to surfaceCount-1), textureHandle (texture handle identifying which layer), alpha (0.0-1.0 double). Returns nothing.

Technical Exegesis...

Sets surface detail layer opacity (0.0=invisible, 1.0=opaque, clamped 0.0-1.0, surface-based only). Takes meshHandle (mesh entity handle), surfaceHandle (surface index 0 to surfaceCount-1), textureHandle (texture handle identifying which layer), alpha (0.0-1.0 double). Returns nothing. Finds detail layer containing textureHandle in specific surface's material, updates detailBlendFactor[i] to clamped alpha, controls layer visibility/blending strength. Surface-based meshes only.

Example

Example.bam
; No example implemented yet