Struct Shape

Base class for all 3D shape resources.

struct Shape ;

Nodes that inherit from this can be used as shapes for a PhysicsBody or Area objects.

Properties

NameTypeDescription
margin[get, set] doubleThe collision margin for the shape.

Methods

NameDescription
getMargin
setMargin