文档

Unity Engine

Unity Engine

positionFrom

The start position of the tween. When the PhysicsBody.TransformWriteTween.transformWriteMode is PhysicsBody.TransformWriteMode.Current, this is set to the last Transform.position. but is not used. When the PhysicsBody.TransformWriteTween.transformWriteMode is PhysicsBody.TransformWriteMode.Interpolate, this is set to the last Transform.position. When the PhysicsBody.TransformWriteTween.transformWriteMode is PhysicsBody.TransformWriteMode.Extrapolate, this will be calculated from PhysicsBody.TransformWriteTween.physicsTransform. See Transform.position.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Vector3 positionFrom { readonly get; set; }