ドキュメント

Unity Engine

Unity Engine

SetProxyAABB(ProxyHandle, PhysicsAABB, bool)

Set the proxy AABB.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SetProxyAABB(PhysicsSpace.ProxyHandle proxyHandle, PhysicsAABB aabb, bool updateAncestors)

Parameters

proxyHandle

The proxy to set.

The AABB to set the proxy to.

updateAncestors

If the AABB has simply moved then this should be false however if you have changed its size then you should update the space ancestors which takes more time.