绘制向世界转换的矩阵定义的参考框架轴
坐标, i.e . 地球的 WGS84 坐标. 最突出的例子是
a原始人 NT 0 模范Matrix NT 1 .
X轴为红色;Y为绿色;Z为蓝色.
仅用于调试;不优化用于生产.
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
optional
下列属性的对象 :
|
Example:
primitives.add(new Cesium.DebugModelMatrixPrimitive({
modelMatrix : primitive.modelMatrix, // primitive to debug
length : 100000.0,
width : 10.0
}));
Members
选择原始时返回用户定义的值 .
-
Default Value:
undefined
See:
斧头的长度以米计.
-
Default Value:
10000000.0
modelMatrix : Matrix4
定义参考框架的4x4矩阵 i.e .,来源加轴,可视化.
-
Default Value:
Matrix4.IDENTITY
确定是否将显示此原始文件 .
-
Default Value:
true
轴的宽度以像素表示.
-
Default Value:
2.0
Methods
Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
释放 WebGL 资源,而不是依赖垃圾收集器来摧毁此对象.
Once an object is destroyed, it should not be used; calling any function other than
isDestroyed will result in a DeveloperError exception. Therefore,
assign the return value (undefined) to the object as done in the example.
Throws:
-
DeveloperError : This object was destroyed, i.e., destroy() was called.
Example:
p = p && p.destroy();
See:
如果此对象被销毁, 返回真实; 否则, 错误 .
If this object was destroyed, it should not be used; calling any function other than
isDestroyed will result in a DeveloperError exception.
Returns:
true if this object was destroyed; otherwise, false.