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: Coordinatespanning_enabled: boolRepresents if users can use the left mouse to pan the camera.
camera_target: Vec3vertical_panning_enabled: boolRepresents 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