visibility depends on the angle of the pivot point and the camera
i need an script that depending on the angle between pivot point and a camera angle decide the visibility 100% or 0%
if the angle is in the range -22.5deg and *22.5deg visibility is 100%, out of this range, visibility will be 0
this must work for animated cameras and visibility could be stored as keys or in real time properties wired to the camera angle
the point is that it must work inside an xref scene
could you help me?