文档

Unity Engine

Unity Engine

GetTranslationIgnoredAxis(Vector3, TransformPlane)

Get the ignored translation axis, given the specified transform plane.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static float GetTranslationIgnoredAxis(Vector3 position, PhysicsWorld.TransformPlane transformPlane = TransformPlane.XY)

Parameters

position

The position to extra the axis from.

transformPlane

The transform plane to use.

Returns

Type

Description

floatThe ignored translation axis value.