Перейти к содержанию

DeleteColShape

Материал из RAGE MP Wiki Archive
(перенаправлено с «NAPI.ColShape.DeleteColShape»)

Deletes a collision shape.

Syntax

<syntaxhighlight lang="C#" >void NAPI.ColShape.DeleteColShape(ColShape shape);</syntaxhighlight>

Required Arguments

  • shape: parameter input should be in ColShape type.

Usage example

Creating and deleting the colshape. <syntaxhighlight lang="C#" > ColShape shape = NAPI.ColShape.Create2DColShape(100.0f, 100.0f, 50.0f, 50.0f); NAPI.ColShape.DeleteColShape(shape); </syntaxhighlight>