기술 자료

Unity Engine

Unity Engine

PhysicsPlane

Represents a 2D plane.
읽는 시간 1분최근 업데이트: 24일 전

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsPlane

Fields

Value

Description

normalThe plane normal. This must be normalized for the plane be valid.
offsetThe plane offset.

Properties

Property

Description

isValidCheck if the plane is valid. To be valid, the PhysicsPlane.normal must be normalized.

Methods

Method

Description

GetSeparationGet the signed separation of a point from a plane.