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

Function getNetworkSyncData

Extensions/3D/A_RuntimeObject3D.ts:123–136  ·  view source on GitHub ↗
(
      syncOptions: GetNetworkSyncDataOptions
    )

Source from the content-addressed store, hash-verified

121 }
122
123 getNetworkSyncData(
124 syncOptions: GetNetworkSyncDataOptions
125 ): Object3DNetworkSyncData {
126 return {
127 ...super.getNetworkSyncData(syncOptions),
128 z: this.getZ(),
129 d: this.getDepth(),
130 rx: this.getRotationX(),
131 ry: this.getRotationY(),
132 flipX: this.isFlippedX(),
133 flipY: this.isFlippedY(),
134 flipZ: this.isFlippedZ(),
135 };
136 }
137
138 updateFromNetworkSyncData(
139 networkSyncData: Object3DNetworkSyncData,

Callers

nothing calls this directly

Calls 8

getNetworkSyncDataMethod · 0.65
getZMethod · 0.65
getDepthMethod · 0.65
getRotationXMethod · 0.65
getRotationYMethod · 0.65
isFlippedXMethod · 0.65
isFlippedYMethod · 0.65
isFlippedZMethod · 0.65

Tested by

no test coverage detected