b3dFitMesh

Scales and translates mesh to fit target bounding box (uniform or non-uniform). Takes entity (mesh entity handle), x (target box center X), y (target box center Y - positive up), z (target box center Z), width (target box width), height (target box height), depth (target box depth), uniform (0=non-uniform stretch, 1=uniform scale preserving proportions). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
x Double
y Double
z Double
width Double
height Double
depth Double
uniform Int

Returns

Void

Quick Summary

Scales and translates mesh to fit target bounding box (uniform or non-uniform). Takes entity (mesh entity handle), x (target box center X), y (target box center Y - positive up), z (target box center Z), width (target box width), height (target box height), depth (target box depth), uniform (0=non-uniform stretch, 1=uniform scale preserving proportions). Returns nothing.

Technical Exegesis...

Scales and translates mesh to fit target bounding box (uniform or non-uniform). Takes entity (mesh entity handle), x (target box center X), y (target box center Y - positive up), z (target box center Z), width (target box width), height (target box height), depth (target box depth), uniform (0=non-uniform stretch, 1=uniform scale preserving proportions). Returns nothing.

Example

Example.bam
; No example implemented yet