Version: 2022.2
言語: 日本語
public static bool TryGetFrustum (Camera camera, Vector3[] near, Vector3[] far, out float frustumAspect);

パラメーター

camera Camera to use.
near The corners of the near plane. (A minimum size of 4 elements is required.)
far The corners of the far plane. (A minimum size of 4 elements is required.)
frustumAspect The aspect ratio of the frustrum.

戻り値

bool Whether the frustrum was calculated.

説明

Calculate the frustrum corners.

Corners are calculated in this order: left bottom, left top, right top, right bottom.