Skip to content

Documentation / @sw-file-lib/three / createSwPhysGroupGeometry

Function: createSwPhysGroupGeometry() ​

ts
function createSwPhysGroupGeometry(physGroup: PhysGroup): BufferGeometry;

Defined in: mesh.ts:100

Create buffer geometry for parsed Stormworks phys group.

The geometry includes position attributes.

Parameters ​

ParameterType
physGroupPhysGroup

Returns ​

BufferGeometry