[−][src]Struct qt_3d_render::QFrontFace
The QFrontFace class defines front and back facing polygons.
C++ class: Qt3DRender::QFrontFace
.
The QFrontFace class defines front and back facing polygons.
A Qt3DRender::QFrontFace sets the winding direction of the front facing polygons.
Methods
impl QFrontFace
[src]
pub fn slot_set_direction(&self) -> Receiver<(WindingDirection,)>
[src]
Holds the winding direction of the front facing polygons. Default is Clockwise.
Returns a built-in Qt slot Qt3DRender::QFrontFace::setDirection
that can be passed to qt_core::Signal::connect
.
Holds the winding direction of the front facing polygons. Default is Clockwise.
Access functions:
WindingDirection | direction() const |
void | setDirection(WindingDirection direction) |
Notifier signal:
void | directionChanged(WindingDirection direction) |
pub fn direction_changed(&self) -> Signal<(WindingDirection,)>
[src]
Holds the winding direction of the front facing polygons. Default is Clockwise.
Returns a built-in Qt signal Qt3DRender::QFrontFace::directionChanged
that can be passed to qt_core::Signal::connect
.
Holds the winding direction of the front facing polygons. Default is Clockwise.
Access functions:
WindingDirection | direction() const |
void | setDirection(WindingDirection direction) |
Notifier signal:
void | directionChanged(WindingDirection direction) |
pub unsafe fn direction(&self) -> WindingDirection
[src]
Holds the winding direction of the front facing polygons. Default is Clockwise.
Calls C++ function: Qt3DRender::QFrontFace::WindingDirection Qt3DRender::QFrontFace::direction() const
.
Holds the winding direction of the front facing polygons. Default is Clockwise.
Access functions:
WindingDirection | direction() const |
void | setDirection(WindingDirection direction) |
Notifier signal:
void | directionChanged(WindingDirection direction) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QFrontFace::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QFrontFace>
[src]
Default constructs an instance of QFrontFace.
Calls C++ function: [constructor] void Qt3DRender::QFrontFace::QFrontFace(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QFrontFace.
pub unsafe fn new_0a() -> QBox<QFrontFace>
[src]
The QFrontFace class defines front and back facing polygons.
Calls C++ function: [constructor] void Qt3DRender::QFrontFace::QFrontFace()
.
The QFrontFace class defines front and back facing polygons.
A Qt3DRender::QFrontFace sets the winding direction of the front facing polygons.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DRender::QFrontFace::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
[src]
Calls C++ function: virtual void* Qt3DRender::QFrontFace::qt_metacast(const char* arg1)
.
pub unsafe fn set_direction(&self, direction: WindingDirection)
[src]
Holds the winding direction of the front facing polygons. Default is Clockwise.
Calls C++ function: [slot] void Qt3DRender::QFrontFace::setDirection(Qt3DRender::QFrontFace::WindingDirection direction)
.
Holds the winding direction of the front facing polygons. Default is Clockwise.
Access functions:
WindingDirection | direction() const |
void | setDirection(WindingDirection direction) |
Notifier signal:
void | directionChanged(WindingDirection direction) |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QFrontFace::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QFrontFace::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QRenderState>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QRenderState::metaObject() const
.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DRender::QRenderState::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
[src]
Calls C++ function: virtual void* Qt3DRender::QRenderState::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QFrontFace
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DRender::QFrontFace::~QFrontFace()
.
impl Deref for QFrontFace
[src]
type Target = QRenderState
The resulting type after dereferencing.
fn deref(&self) -> &QRenderState
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QFrontFace* ptr)
.
impl DynamicCast<QFrontFace> for QRenderState
[src]
unsafe fn dynamic_cast(ptr: Ptr<QRenderState>) -> Ptr<QFrontFace>
[src]
Calls C++ function: Qt3DRender::QFrontFace* dynamic_cast<Qt3DRender::QFrontFace*>(Qt3DRender::QRenderState* ptr)
.
impl DynamicCast<QFrontFace> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QFrontFace>
[src]
Calls C++ function: Qt3DRender::QFrontFace* dynamic_cast<Qt3DRender::QFrontFace*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QFrontFace> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFrontFace>
[src]
Calls C++ function: Qt3DRender::QFrontFace* dynamic_cast<Qt3DRender::QFrontFace*>(QObject* ptr)
.
impl StaticDowncast<QFrontFace> for QRenderState
[src]
unsafe fn static_downcast(ptr: Ptr<QRenderState>) -> Ptr<QFrontFace>
[src]
Calls C++ function: Qt3DRender::QFrontFace* static_cast<Qt3DRender::QFrontFace*>(Qt3DRender::QRenderState* ptr)
.
impl StaticDowncast<QFrontFace> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QFrontFace>
[src]
Calls C++ function: Qt3DRender::QFrontFace* static_cast<Qt3DRender::QFrontFace*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QFrontFace> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFrontFace>
[src]
Calls C++ function: Qt3DRender::QFrontFace* static_cast<Qt3DRender::QFrontFace*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QFrontFace
[src]
unsafe fn static_upcast(ptr: Ptr<QFrontFace>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QFrontFace* ptr)
.
impl StaticUpcast<QObject> for QFrontFace
[src]
unsafe fn static_upcast(ptr: Ptr<QFrontFace>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QFrontFace* ptr)
.
impl StaticUpcast<QRenderState> for QFrontFace
[src]
unsafe fn static_upcast(ptr: Ptr<QFrontFace>) -> Ptr<QRenderState>
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QFrontFace* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QFrontFace
impl Send for QFrontFace
impl Sync for QFrontFace
impl Unpin for QFrontFace
impl UnwindSafe for QFrontFace
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,