ドキュメント

Unity Engine

Unity Engine

PhysicsBody.BatchTransform

A batch item used to set the pose of a PhysicsBody.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct PhysicsBody.BatchTransform

Constructors

Constructor

Description

BatchTransform(UnityEngine.LowLevelPhysics2D.PhysicsBody)Create a default batch transform, assigning the PhysicsBody.

Properties

Property

Description

physicsBodyThe PhysicsBody to write to.
positionThe position of the body in the world. PhysicsBody.position.
rotationThe rotation of the body. PhysicsBody.rotation.
transformThe full transform of the body composed of position and rotation. PhysicsBody.transform.