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: bool

Represents if users can use the left mouse to pan the camera.

camera_target: Vec3vertical_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

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.