主题
Home > @esengine/ecs-framework-monorepo > Vector2 > clamp
限制向量分量
Signature:
clamp(min: Vector2, max: Vector2): this;
Parameter
Type
Description
min
Vector2
最小值向量
max
最大值向量
Returns:
this
当前向量实例(链式调用)