Skip to content

ConeZone

class ConeZone : public Zone

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

Functions

Name Description
ConeZone Constructs a new ConeZone.
GetFactor @inherit

Function Details

ConeZone

ConeZone(ConeShape* inner, ConeShape* outer)

Constructs a new ConeZone.

Parameter inner
The inner ConeShape.
Parameter outer
The outer ConeShape.

GetFactor

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

@inherit