Trait SCNCameraControlConfiguration

Source
pub unsafe trait SCNCameraControlConfiguration: NSObjectProtocol {
    // Provided methods
    unsafe fn autoSwitchToFreeCamera(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn setAutoSwitchToFreeCamera(&self, auto_switch_to_free_camera: bool)
       where Self: Sized + Message { ... }
    unsafe fn allowsTranslation(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn setAllowsTranslation(&self, allows_translation: bool)
       where Self: Sized + Message { ... }
    unsafe fn flyModeVelocity(&self) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn setFlyModeVelocity(&self, fly_mode_velocity: CGFloat)
       where Self: Sized + Message { ... }
    unsafe fn panSensitivity(&self) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn setPanSensitivity(&self, pan_sensitivity: CGFloat)
       where Self: Sized + Message { ... }
    unsafe fn truckSensitivity(&self) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn setTruckSensitivity(&self, truck_sensitivity: CGFloat)
       where Self: Sized + Message { ... }
    unsafe fn rotationSensitivity(&self) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn setRotationSensitivity(&self, rotation_sensitivity: CGFloat)
       where Self: Sized + Message { ... }
}
Available on crate feature SCNView only.
Expand description

Provided Methods§

Source

unsafe fn autoSwitchToFreeCamera(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn setAutoSwitchToFreeCamera(&self, auto_switch_to_free_camera: bool)
where Self: Sized + Message,

Source

unsafe fn allowsTranslation(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn setAllowsTranslation(&self, allows_translation: bool)
where Self: Sized + Message,

Setter for allowsTranslation.

Source

unsafe fn flyModeVelocity(&self) -> CGFloat
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setFlyModeVelocity(&self, fly_mode_velocity: CGFloat)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for flyModeVelocity.

Source

unsafe fn panSensitivity(&self) -> CGFloat
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setPanSensitivity(&self, pan_sensitivity: CGFloat)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for panSensitivity.

Source

unsafe fn truckSensitivity(&self) -> CGFloat
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setTruckSensitivity(&self, truck_sensitivity: CGFloat)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for truckSensitivity.

Source

unsafe fn rotationSensitivity(&self) -> CGFloat
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setRotationSensitivity(&self, rotation_sensitivity: CGFloat)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for rotationSensitivity.

Trait Implementations§

Source§

impl ProtocolType for dyn SCNCameraControlConfiguration

Source§

const NAME: &'static str = "SCNCameraControlConfiguration"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn SCNCameraControlConfiguration

Implementations on Foreign Types§

Source§

impl<T> SCNCameraControlConfiguration for ProtocolObject<T>

Implementors§