Modifica

Condividi tramite


CameraExtensions.IsInFOV(Camera, Vector3) Method

Definition

Returns if a point will be rendered on the screen in either eye

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsInFOV(UnityEngine::Camera ^ camera, UnityEngine::Vector3 position);
public static bool IsInFOV (this UnityEngine.Camera camera, UnityEngine.Vector3 position);
static member IsInFOV : UnityEngine.Camera * UnityEngine.Vector3 -> bool
<Extension()>
Public Function IsInFOV (camera As Camera, position As Vector3) As Boolean

Parameters

camera
UnityEngine.Camera

The camera to check the point against

position
UnityEngine.Vector3

Returns

Applies to