MatrixCamera
struct · ferroui-media3d · v0.5.0
struct MatrixCamera
WPF's MatrixCamera: the camera of a ViewMatrix and a ProjectionMatrix.
Members
TYPEto_refview_matrix_propertyprojection_matrix_propertyconstructnewwith_matricesview_matrixset_view_matrixprojection_matrixset_projection_matrix
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<MatrixCamera>
Returns a strong reference to this object.
view_matrix_property
fn view_matrix_property() -> &'static StyledProperty<Matrix3D>
projection_matrix_property
fn projection_matrix_property() -> &'static StyledProperty<Matrix3D>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A camera of two identities.
with_matrices
fn with_matrices(view_matrix: Matrix3D, projection_matrix: Matrix3D) -> Ref<Self>
The camera of the two matrices.
view_matrix
fn view_matrix(self: &Self) -> Matrix3D
The view matrix, before the transform of the camera.
set_view_matrix
fn set_view_matrix(self: &Self, value: Matrix3D)
projection_matrix
fn projection_matrix(self: &Self) -> Matrix3D
The projection matrix.
set_projection_matrix
fn set_projection_matrix(self: &Self, value: Matrix3D)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeCameraImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<MatrixCamera>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplCameraImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.