Documentation

Unity Engine

Unity Engine

GetMatrix(TransformPlane)

Calculate a rotation Matrix4x4 using the specified transform plane.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly Matrix4x4 GetMatrix(PhysicsWorld.TransformPlane transformPlane)

Parameters

transformPlane

The transform plane to use.

Returns

Type

Description

Matrix4x4The rotation matrix.