Vector3¶
More information can be found in the Unity API Reference and maybe in the Unity Manual.
Constructors¶
Constructor |
Description |
---|---|
Members¶
Member |
Description |
---|---|
Methods¶
Method |
Description |
---|---|
Static members¶
Member |
Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Static methods¶
Operators¶
Operator |
Description |
---|---|
Details¶
-
class
Vector3
¶ -
-
const float
magnitude
¶
-
const float
sqrMagnitude
¶
-
float
x
¶
-
float
y
¶
-
float
z
¶
-
int
GetHashCode
()¶
-
void
Normalize
()¶
-
void
Set
(float newX, float newY, float newZ)¶
-
string
ToString
()¶
-
string
ToString
(string format)¶
-
static const Vector3
back
¶
-
static const Vector3
down
-
static const Vector3
forward
¶
-
static const float
kEpsilon
-
static const float
kEpsilonNormalSqrt
-
static const Vector3
left
-
static const Vector3
negativeInfinity
-
static const Vector3
one
-
static const Vector3
positiveInfinity
-
static const Vector3
right
-
static const Vector3
up
-
static const Vector3
zero
-
static Vector3
RotateTowards
(Vector3 current, Vector3 target, float maxRadiansDelta, float maxMagnitudeDelta)¶
-
static Vector3
SmoothDamp
(Vector3 current, Vector3 target, Vector3 currentVelocity, float smoothTime)¶
-
static Vector3
SmoothDamp
(Vector3 current, Vector3 target, Vector3 currentVelocity, float smoothTime, float maxSpeed)¶
-
const float