ドキュメント

Unity Engine

Download Unity

Unity Engine

Encapsulate

Encapsulates the given AABB.
読み終わるまでの所要時間 1 分最終更新 3時間前

Definition

Encapsulate(MinMaxAABB)

Encapsulates the given AABB.
public void Encapsulate(MinMaxAABB aabb)

Parameters

AABB to encapsulate.

Remarks

Modifies this AABB so that it contains the given AABB. If the given AABB is already contained by this AABB, then this AABB doesn't change.
Additional Resources: MinMaxAABB.Contains

Encapsulate(float3)

Encapsulate the given point.
public void Encapsulate(float3 point)

Parameters

point

Point to encapsulate.

Remarks

Modifies this AABB so that it contains the given point. If the given point is already contained by this AABB, then this AABB doesn't change.
Additional Resources: MinMaxAABB.Contains