2025-03-11 18:36:30 -07:00
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
2025-04-01 15:08:02 -07:00
|
|
|
from ..models.point3d import Point3d
|
|
|
|
from ..models.point4d import Point4d
|
2025-03-11 18:36:30 -07:00
|
|
|
from ..models.world_coordinate_system import WorldCoordinateSystem
|
|
|
|
|
|
|
|
|
|
|
|
class CameraViewState(BaseModel):
|
|
|
|
""""""
|
|
|
|
|
|
|
|
eye_offset: float
|
|
|
|
|
|
|
|
fov_y: float
|
|
|
|
|
|
|
|
is_ortho: bool
|
|
|
|
|
|
|
|
ortho_scale_enabled: bool
|
|
|
|
|
|
|
|
ortho_scale_factor: float
|
|
|
|
|
2025-04-01 15:08:02 -07:00
|
|
|
pivot_position: Point3d
|
2025-03-11 18:36:30 -07:00
|
|
|
|
2025-04-01 15:08:02 -07:00
|
|
|
pivot_rotation: Point4d
|
2025-03-11 18:36:30 -07:00
|
|
|
|
|
|
|
world_coord_system: WorldCoordinateSystem
|
|
|
|
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|