Draws the axes of a reference frame defined by a matrix that transforms to world
coordinates, i.e., Earth's WGS84 coordinates. The most prominent example is
a primitives modelMatrix.
The X axis is red; Y is green; and Z is blue.
This is for debugging only; it is not optimized for production use.
alias DebugModelMatrixPrimitive
- The options object takes the following properties
- {Number} [options.length=10000000.0] The length of the axes in meters.
- {Number} [options.width=2.0] The width of the axes in pixels.
- {Matrix4} [options.modelMatrix=Matrix4.IDENTITY] The 4x4 matrix that defines the reference frame, i.e., origin plus axes, to visualize.
- {Boolean} [options.show=true] Determines if this primitive will be shown.
- {Object} [options.id] A user-defined object to return when the instance is picked with Scene#pick
Draws the axes of a reference frame defined by a matrix that transforms to world coordinates, i.e., Earth's WGS84 coordinates. The most prominent example is a primitives
modelMatrix
.The X axis is red; Y is green; and Z is blue.
This is for debugging only; it is not optimized for production use.
alias DebugModelMatrixPrimitive
- The options object takes the following properties - {Number} [options.length=10000000.0] The length of the axes in meters. - {Number} [options.width=2.0] The width of the axes in pixels. - {Matrix4} [options.modelMatrix=Matrix4.IDENTITY] The 4x4 matrix that defines the reference frame, i.e., origin plus axes, to visualize. - {Boolean} [options.show=true] Determines if this primitive will be shown. - {Object} [options.id] A user-defined object to return when the instance is picked with Scene#pick
primitives.add(new Cesium.DebugModelMatrixPrimitive({ modelMatrix : primitive.modelMatrix, // primitive to debug length : 100000.0, width : 10.0 }));