Vector
¶
文档版本:1.21.60.21
Vector
类。script_api.mojang-minecraft.vector.description
常量¶
back
back
:Vector
- script_api.mojang-minecraft.vector.back.description
down
down
:Vector
- script_api.mojang-minecraft.vector.down.description
forward
forward
:Vector
- script_api.mojang-minecraft.vector.forward.description
left
left
:Vector
- script_api.mojang-minecraft.vector.left.description
one
one
:Vector
- script_api.mojang-minecraft.vector.one.description
right
right
:Vector
- script_api.mojang-minecraft.vector.right.description
up
up
:Vector
- script_api.mojang-minecraft.vector.up.description
zero
zero
:Vector
- script_api.mojang-minecraft.vector.zero.description
属性¶
x
x
:float
- script_api.mojang-minecraft.vector.x.description
y
y
:float
- script_api.mojang-minecraft.vector.y.description
z
z
:float
- script_api.mojang-minecraft.vector.z.description
方法¶
add
script_api.mojang-minecraft.vector.add.description
a
:Vector
- script_api.mojang-minecraft.vector.add.a.description
b
:Vector
- script_api.mojang-minecraft.vector.add.b.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.add.return
constructor
script_api.mojang-minecraft.vector.constructor.description
x
:float
- script_api.mojang-minecraft.vector.constructor.x.description
y
:float
- script_api.mojang-minecraft.vector.constructor.y.description
z
:float
- script_api.mojang-minecraft.vector.constructor.z.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.constructor.return
cross
script_api.mojang-minecraft.vector.cross.description
a
:Vector
- script_api.mojang-minecraft.vector.cross.a.description
b
:Vector
- script_api.mojang-minecraft.vector.cross.b.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.cross.return
distance
script_api.mojang-minecraft.vector.distance.description
a
:Vector
- script_api.mojang-minecraft.vector.distance.a.description
b
:Vector
- script_api.mojang-minecraft.vector.distance.b.description
- 返回值:
float
- script_api.mojang-minecraft.vector.distance.return
divide
script_api.mojang-minecraft.vector.divide.description
a
:Vector
- script_api.mojang-minecraft.vector.divide.a.description
b
:float
|Vector
- script_api.mojang-minecraft.vector.divide.b.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.divide.return
equals
script_api.mojang-minecraft.vector.equals.description
other
:Vector
- script_api.mojang-minecraft.vector.equals.other.description
- 返回值:
boolean
- script_api.mojang-minecraft.vector.equals.return
length
script_api.mojang-minecraft.vector.length.description
- 返回值:
float
- script_api.mojang-minecraft.vector.length.return
lerp
script_api.mojang-minecraft.vector.lerp.description
a
:Vector
- script_api.mojang-minecraft.vector.lerp.a.description
b
:Vector
- script_api.mojang-minecraft.vector.lerp.b.description
t
:float
- script_api.mojang-minecraft.vector.lerp.t.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.lerp.return
max
script_api.mojang-minecraft.vector.max.description
a
:Vector
- script_api.mojang-minecraft.vector.max.a.description
b
:Vector
- script_api.mojang-minecraft.vector.max.b.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.max.return
min
script_api.mojang-minecraft.vector.min.description
a
:Vector
- script_api.mojang-minecraft.vector.min.a.description
b
:Vector
- script_api.mojang-minecraft.vector.min.b.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.min.return
multiply
script_api.mojang-minecraft.vector.multiply.description
a
:Vector
- script_api.mojang-minecraft.vector.multiply.a.description
b
:float
|Vector
- script_api.mojang-minecraft.vector.multiply.b.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.multiply.return
normalized
script_api.mojang-minecraft.vector.normalized.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.normalized.return
slerp
script_api.mojang-minecraft.vector.slerp.description
a
:Vector
- script_api.mojang-minecraft.vector.slerp.a.description
b
:Vector
- script_api.mojang-minecraft.vector.slerp.b.description
t
:float
- script_api.mojang-minecraft.vector.slerp.t.description
- 返回值:
Vector
- script_api.mojang-minecraft.vector.slerp.return
subtract
script_api.mojang-minecraft.vector.subtract.description