Skip to main content

annotationBreakpoints

TypeRecord<number, number>
Default{ 165: 0, 135: 0.4, 0: 1 }

Breakpoints for the annotation opacity, mapped by degree between (camera-model center-annotation) as key.

{
src: "/egjs-view3d/model/draco/alarm.glb",
annotationURL: "/egjs-view3d/model/annotation/alarm-annotations.json"
}
{
src: "/egjs-view3d/model/draco/alarm.glb",
annotationURL: "/egjs-view3d/model/annotation/alarm-annotations.json",
annotationBreakpoints: {
0: 1,
45: 0.4,
90: 0
}
}