Skip to content

EntityAutoFade

Narta Xaymar Dirks edited this page Oct 29, 2026 · 6 revisions
Blitz3D

EntityAutoFade

EntityAutoFade:Void entity:Int32, near:Float32, far:Float32
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
near In Float32 required Distance where fading starts.
far In Float32 required Distance where the entity is gone.

Description

Makes an entity fade away with distance to the camera. Closer than near it is solid, farther than far it is invisible and between the two its alpha goes down gradually. This hides entities popping in at the far end of a scene without fog.

Related Commands

EntityAlpha, EntityBlend, EntityClass, EntityColor, EntityDepthFade 〔BlitzLLVM〕, EntityDistance, EntityFX, EntityInView

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally