DeleteColShape

From RAGE Multiplayer Wiki
Revision as of 01:27, 27 November 2019 by Muphy (talk | contribs) (Created page with "Deletes a collision shape. ==Syntax== <syntaxhighlight lang="C#" >void NAPI.ColShape.DeleteColShape(ColShape shape);</syntaxhighlight> '''Required Arguments''' *'''shape:'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Deletes a collision shape.

Syntax

void NAPI.ColShape.DeleteColShape(ColShape shape);

Required Arguments

  • shape: parameter input should be in ColShape type.

Usage example

Creating and deleting the colshape.

ColShape shape = NAPI.ColShape.Create2DColShape(100.0f, 100.0f, 50.0f, 50.0f);
NAPI.ColShape.DeleteColShape(shape);