SphereZone¶
class SphereZone : public Zone
A Zone built with an inner SphereShape and an outer SphereShape.
Functions¶
| Name | Description |
|---|---|
| SphereZone | Constructs a new SphereZone. |
| GetFactor | @inherit |
Function Details¶
GetFactor¶
[[nodiscard]] AmReal32 GetFactor(const AmVec3& position) final
@inherit
SphereZone¶
SphereZone(std::shared_ptr<SphereShape> inner, std::shared_ptr<SphereShape> outer)
Constructs a new SphereZone.
- Parameter
inner - The inner
SphereShape. - Parameter
outer - The outer
SphereShape.