Skip to content

BoxZone

class BoxZone : public Zone

A Zone built with an inner BoxShape and an outer BoxShape.

Functions

Name Description
BoxZone Constructs a new BoxZone.
GetFactor @inherit

Function Details

BoxZone

BoxZone(BoxShape* inner, BoxShape* outer)

Constructs a new BoxZone.

Parameter inner
The inner BoxShape.
Parameter outer
The outer BoxShape.

GetFactor

[[nodiscard]] AmReal32 GetFactor(const AmVec3& position) final

@inherit