MCPcopy Create free account
hub / github.com/4ian/GDevelop / getCenterPoint

Method getCenterPoint

Extensions/3D/JsExtension.js:3473–3485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3471 }
3472
3473 getCenterPoint() {
3474 return [
3475 this._centerPoint[0] === null
3476 ? this._modelOriginPoint[0]
3477 : this._centerPoint[0],
3478 this._centerPoint[1] === null
3479 ? this._modelOriginPoint[1]
3480 : this._centerPoint[1],
3481 this._centerPoint[2] === null
3482 ? this._modelOriginPoint[2]
3483 : this._centerPoint[2],
3484 ];
3485 }
3486
3487 _updateDefaultTransformation(
3488 threeObject,

Callers 6

getCenterXMethod · 0.95
getCenterYMethod · 0.95
updateMethod · 0.95
getCenterXMethod · 0.45
getCenterYMethod · 0.45
getCenterZMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected