Home > @esengine/ecs-framework-monorepo > Circle > translateBy
Circle.translateBy() method
平移圆形(使用向量)
Signature:
typescript
translateBy(offset: Vector2): this;
Parameters
Parameter | Type | Description |
---|---|---|
offset | 偏移向量 |
Returns:
this
当前圆形实例(链式调用)