ドキュメント

Unity Engine

Unity Engine

GetExtrapolatedPose(TransformPlane, ref TransformPlaneCustom, float, out Vector3, out Quaternion)

Get the extrapolated pose for the current write tween.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule

GetExtrapolatedPose(TransformPlane, TransformPlaneCustom, float, Vector3, Quaternion)

public readonly void GetExtrapolatedPose(PhysicsWorld.TransformPlane transformPlane, ref PhysicsWorld.TransformPlaneCustom transformPlaneCustom, float extrapolationTime, out Vector3 position, out Quaternion rotation)

Parameters

transformPlane

The transform plane to use to calculate a non-custom transform plane.

transformPlaneCustom

The custom transform plane to use.

extrapolationTime

The extrapolation time to use in the range [0, 1].

position

The calculated position.

rotation

The calculated rotation.