All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.qt3d.render.QFrontFace Maven / Gradle / Ivy

The newest version!
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Defines front and back facing polygons

*

Java wrapper for Qt class Qt3DRender::QFrontFace

*/ public class QFrontFace extends io.qt.qt3d.render.QRenderState { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QFrontFace.class); /** *

Java wrapper for Qt enum Qt3DRender::QFrontFace::WindingDirection

*/ public enum WindingDirection implements QtEnumerator { /** *

Representing Qt3DRender::QFrontFace::ClockWise

*/ ClockWise(2304), /** *

Representing Qt3DRender::QFrontFace::CounterClockWise

*/ CounterClockWise(2305); static { QtJambi_LibraryUtilities.initialize(); } private WindingDirection(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull WindingDirection resolve(int value) { switch (value) { case 2304: return ClockWise; case 2305: return CounterClockWise; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See Qt3DRender::QFrontFace::directionChanged(Qt3DRender::QFrontFace::WindingDirection)

*/ @QtPropertyNotify(name="direction") public final @NonNull Signal1 directionChanged = new Signal1<>(); /** *

See Qt3DRender::QFrontFace::QFrontFace(Qt3DCore::QNode*)

* @param parent */ @SuppressWarnings({"exports"}) public QFrontFace(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QFrontFace instance, io.qt.qt3d.core.QNode parent); /** *

See Qt3DRender::QFrontFace::direction()const

* @return */ @QtPropertyReader(name="direction") @QtUninvokable public final io.qt.qt3d.render.QFrontFace.@NonNull WindingDirection direction(){ return io.qt.qt3d.render.QFrontFace.WindingDirection.resolve(direction_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int direction_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QFrontFace::setDirection(Qt3DRender::QFrontFace::WindingDirection)

* @param direction */ @QtPropertyWriter(name="direction") public final void setDirection(io.qt.qt3d.render.QFrontFace.@NonNull WindingDirection direction){ setDirection_native_Qt3DRender_QFrontFace_WindingDirection(QtJambi_LibraryUtilities.internal.nativeId(this), direction.value()); } private native void setDirection_native_Qt3DRender_QFrontFace_WindingDirection(long __this__nativeId, int direction); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QFrontFace(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QFrontFace(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QFrontFace instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QFrontFace(io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QFrontFace() { this((io.qt.qt3d.core.QNode)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #direction()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QFrontFace.@NonNull WindingDirection getDirection() { return direction(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy