MCPcopy
hub / github.com/4ian/GDevelop / getZ

Method getZ

Extensions/3D/Base3DBehavior.ts:19–19  ·  view source on GitHub ↗

* Get the object position on the Z axis.

()

Source from the content-addressed store, hash-verified

17 * Get the object position on the Z axis.
18 */
19 getZ(): float;
20
21 /**
22 * Return the Z position of the object center, **relative to the scene origin**.

Callers 15

Core.jsFile · 0.65
updatePositionFunction · 0.65
updatePositionMethod · 0.65
updateThreeObjectMethod · 0.65
turnCameraTowardObjectFunction · 0.65
_updateThreeGroupMethod · 0.65
getNetworkSyncDataFunction · 0.65
getZMethod · 0.65
getDrawableZMethod · 0.65

Implementers 2

Base3DBehaviorExtensions/3D/Base3DBehavior.ts
CustomRuntimeObject3DExtensions/3D/CustomRuntimeObject3D.ts

Calls

no outgoing calls

Tested by 2

getInstancePositionsFunction · 0.52
getInstancesFunction · 0.52