new Mesh(options, materialopt)
Parameters:
Name |
Type |
Attributes |
Description |
options |
Object
|
geometry
|
|
Properties
Name |
Type |
Attributes |
Default |
Description |
geometry |
Cesium.Geometry
|
Cesium.CSG
|
THREE.Geometry
|
THREE.BufferGeometry
|
|
|
|
material |
Cesium.MeshMaterial
|
|
|
|
show |
Boolean
|
<optional>
|
true
|
|
position |
Cesium.Cartesian3
|
<optional>
|
|
|
rotation |
Cesium.Rotation
|
<optional>
|
|
|
scale |
Cesium.Cartesian3
|
<optional>
|
|
|
|
material |
Cesium.MeshMaterial
|
<optional>
|
|
Properties:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
material |
Cesium.MeshMaterial
|
|
show |
Boolean
|
|
position |
Cesium.Cartesian3
|
|
rotation |
Cesium.VolumeRendering.Rotation
|
|
scale |
Cesium.Cartesian3
|
|
needUpdate |
Boolean
|
|
parent |
Cesium.Mesh
|
Cesium.LOD
|
|
- Source:
Example
//1.
var mesh=new Mesh(geomertry,material);
//2.
var mesh2=new Mesh({
geomertry:geomertry2,
material:material2,
position:position2
});