文档

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsPlane

Represents a 2D plane.
阅读时间1 分钟最后更新于 24 天前

Definition

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.