modelMatrix

The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates. When this is the identity matrix, the primitive is drawn in world coordinates, i.e., Earth's WGS84 coordinates. Local reference frames can be used by providing a different transformation matrix, like that returned by Transforms.eastNorthUpToFixedFrame.

This property is only supported in 3D mode.

const origin = Cartesian3.fromDegrees(-95.0, 40.0, 200000.0);
p.modelMatrix = Transforms.eastNorthUpToFixedFrame(origin);

See also