Field Of View2D
constructor(environment: Physics2DEnvironment<T>, owner: Node<T>, distance: Double, aperture: Double)
Parameters
environment
the environment where this sphere of influence is.
Content copied to clipboard
owner
the node who owns this sphere of influence.
Content copied to clipboard
distance
the distance in meters at which the sight arrives.
Content copied to clipboard
aperture
the amplitude of the field of view in radians.
Content copied to clipboard