MCPcopy Create free account
hub / github.com/esengine/esengine / setPosition

Method setPosition

packages/math/src/Circle.ts:132–136  ·  view source on GitHub ↗

* 设置圆心位置 * @param x 新的X坐标 * @param y 新的Y坐标 * @returns 当前圆形实例(链式调用)

(x: number, y: number)

Source from the content-addressed store, hash-verified

130 * @returns 当前圆形实例(链式调用)
131 */
132 setPosition(x: number, y: number): this {
133 this.x = x;
134 this.y = y;
135 return this;
136 }
137
138 /**
139 * 设置圆心位置(使用向量)

Callers 3

handleXYChangedMethod · 0.45
deserializeMethod · 0.45
createEmptyChunkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected