const orientation = {
heading: Cesium.Math.Radians(headingDegree),
pitch: Cesium.Math.Radians(pitchDegree),
roll: Cesium.Math.Radians(rollDegree),
}
// Camera
viewer.camera.flyTo({
destination: origin,
orientation,
})
const hpr = Cesium.HeadingPitchRoll.fromDegrees(headingDegree, pitchDegree, rollDegree)
const quaternion = Cesium.Quaternion.fromHeadingPitchRoll(hpr)
// FrustumGeometry
const frustumGeometry = new FrustumOutlineGeometry({
frustum,
origin,
orientation: quaternion
})
Bump
Sorry for the late reply. Thank you for this one. Though is there a way to edit the debugFrustumPlane color?
Thanks!