Vector3
.ClampMagnitude
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Vector3
Vector3
.ClampMagnitude
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
Vector3
All Members
Variables
magnitude
normalized
sqrMagnitude
this [int index]
x
y
z
Constructors
Vector3
Functions
Normalize
Scale
Set
ToString
Class Variables
forward
one
right
up
zero
Class Functions
Angle
ClampMagnitude
Cross
Distance
Dot
Lerp
Max
Min
MoveTowards
operator !=
operator *
operator +
operator -
operator /
operator ==
OrthoNormalize
Project
Reflect
RotateTowards
Scale
Slerp
SmoothDamp
static
function
ClampMagnitude (vector : Vector3, maxLength :
float
) : Vector3
Description
Returns a copy of
vector
with its magnitude clamped to
maxLength
.