OrthographicCamera
struct · ferroui-media3d · v0.5.0
struct OrthographicCamera
WPF's OrthographicCamera: a parallel projection Width wide (2 by default).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<OrthographicCamera>
Returns a strong reference to this object.
width_property
fn width_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A camera with WPF's defaults: at the origin, looking down the negative z axis, 2 wide.
with_values
fn with_values(position: Point3D, look_direction: Vector3D, up_direction: Vector3D, width: f64) -> Ref<Self>
A camera at position looking along look_direction with up_direction up, width
wide.
width
fn width(self: &Self) -> f64
The width of the view.
set_width
fn set_width(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeCameraImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<OrthographicCamera>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplCameraImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.