Struct zaplib_components::Viewport3DProps
source · [−]pub struct Viewport3DProps {
pub initial_camera_position: Coordinates,
pub panning_enabled: bool,
pub camera_target: Vec3,
pub vertical_panning_enabled: bool,
}
Fields
initial_camera_position: Coordinates
panning_enabled: bool
Represents if users can use the left mouse to pan the camera.
camera_target: Vec3
vertical_panning_enabled: bool
Represents if panning should move camera vertically.
Implementations
TODO(JP): Replace these with TextInsProps::default() when https://github.com/rust-lang/rust/issues/67792 gets done