b3dSetReflectionDistance

Sets reflection camera distance below surface (negative Y in local space, clamped 1.0-1000.0). Takes entity (reflective entity handle), distance (units below surface, clamped 1.0-1000.0). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
distance Double

Returns

Void

Quick Summary

Sets reflection camera distance below surface (negative Y in local space, clamped 1.0-1000.0). Takes entity (reflective entity handle), distance (units below surface, clamped 1.0-1000.0). Returns nothing.

Technical Exegesis...

Sets reflection camera distance below surface (negative Y in local space, clamped 1.0-1000.0). Takes entity (reflective entity handle), distance (units below surface, clamped 1.0-1000.0). Returns nothing. Validates entity is reflective with reflection camera, clamps distance to 1.0-1000.0 range, stores in entity.reflectionDistance, repositions reflection camera to (0, -distance, 0) in local space (below reflective surface looking up). Controls how far below surface the reflection camera is positioned.

Example

Example.bam
; No example implemented yet