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(std::shared_ptr<BoxShape> inner, std::shared_ptr<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