Editar

Compartir a través de


ConeCastUtility Class

Definition

public ref class ConeCastUtility abstract sealed
public static class ConeCastUtility
type ConeCastUtility = class
Public Class ConeCastUtility
Inheritance
ConeCastUtility

Methods

ConeCastAll(Vector3, Vector3, Single, Single, Single, LayerMask)

Function casts a sphere along a ray and checks if the hitpoint is within the angle of the cone and returns detailed information.

ConeCastBest(Vector3, Vector3, Single, Single, Single, LayerMask, Single, Single, Single, Single)

Function casts a sphere along a ray and checks if the hitpoint is within the angle of the cone and returns the best target determined by the weights provided.

Applies to