Constructors
constructor
- new ModelViewLayer(scene, error): ModelViewLayer
Properties
Readonly
error
error: Error
Readonly
scene
Accessors
coordinates
- get coordinates(): string
Returns string
groundHeight
- get groundHeight(): number
Returns number
model
- get model(): Model
name
- get name(): string
Returns string
type
- get type(): "point_cloud" | "mesh"
Returns "point_cloud" | "mesh"
upAxis
- get upAxis(): string
Returns string
Methods
coordinatesToWorldPoint
- coordinatesToWorldPoint(coordinates): Vector3
Parameters
- coordinates: {
altitude: number;
latitude: number;
longitude: number;
}altitude: number
latitude: number
longitude: number
Returns Vector3
getTransformMatrix4
- getTransformMatrix4(target?): Matrix4
Returns Matrix4
worldPointToCoordinates
- worldPointToCoordinates(point): {
altitude: number;
latitude: number;
longitude: number;
} Returns {
altitude: number;
latitude: number;
longitude: number;
}
altitude: number
latitude: number
longitude: number
Deprecated
使用 modelViewLayer.scene.localToLla(new THREE.Vector()) 替代