ドキュメント

Unity Engine

Unity Engine

GetOwnedTransforms()

Get the Transform that owns each PhysicsBody, PhysicsShape and PhysicsJoint in this world. Only owners that are a Component contribute a Transform, and each Transform is included only once. This must be called from the main thread.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public TransformAccessArray GetOwnedTransforms()

Returns

Type

Description

TransformAccessArrayThe owned transform results as a TransformAccessArray. This must be disposed of after use otherwise leaks will occur.