文档

Unity Engine

Unity Engine

MaxAbsComponent

Get the maximum absolute value component from the specified vector.
阅读时间1 分钟最后更新于 1 个月前

Definition

MaxAbsComponent(Vector2)

Get the maximum absolute value component from the specified vector.
public static float MaxAbsComponent(Vector2 vector)

Parameters

vector

The vector to examine.

Returns

Type

Description

floatThe calculated component.

MaxAbsComponent(Vector3)

Get the maximum absolute value component from the specified vector.
public static float MaxAbsComponent(Vector3 vector)

Parameters

vector

The vector to examine.

Returns

Type

Description

floatThe calculated component.