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

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

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

import io.qt.*;


/**
 * 

Specify alpha reference test

*

Java wrapper for Qt class Qt3DRender::QAlphaTest

*/ public class QAlphaTest 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(QAlphaTest.class); /** *

Java wrapper for Qt enum Qt3DRender::QAlphaTest::AlphaFunction

*/ public enum AlphaFunction implements QtEnumerator { /** *

Representing Qt3DRender::QAlphaTest::Never

*/ Never(512), /** *

Representing Qt3DRender::QAlphaTest::Always

*/ Always(519), /** *

Representing Qt3DRender::QAlphaTest::Less

*/ Less(513), /** *

Representing Qt3DRender::QAlphaTest::LessOrEqual

*/ LessOrEqual(515), /** *

Representing Qt3DRender::QAlphaTest::Equal

*/ Equal(514), /** *

Representing Qt3DRender::QAlphaTest::GreaterOrEqual

*/ GreaterOrEqual(518), /** *

Representing Qt3DRender::QAlphaTest::Greater

*/ Greater(516), /** *

Representing Qt3DRender::QAlphaTest::NotEqual

*/ NotEqual(517); static { QtJambi_LibraryUtilities.initialize(); } private AlphaFunction(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 AlphaFunction resolve(int value) { switch (value) { case 512: return Never; case 519: return Always; case 513: return Less; case 515: return LessOrEqual; case 514: return Equal; case 518: return GreaterOrEqual; case 516: return Greater; case 517: return NotEqual; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See Qt3DRender::QAlphaTest::alphaFunctionChanged(Qt3DRender::QAlphaTest::AlphaFunction)

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

See Qt3DRender::QAlphaTest::referenceValueChanged(float)

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

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

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

See Qt3DRender::QAlphaTest::alphaFunction()const

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

See Qt3DRender::QAlphaTest::referenceValue()const

* @return */ @QtPropertyReader(name="referenceValue") @QtUninvokable public final float referenceValue(){ return referenceValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float referenceValue_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QAlphaTest::setAlphaFunction(Qt3DRender::QAlphaTest::AlphaFunction)

* @param alphaFunction */ @QtPropertyWriter(name="alphaFunction") public final void setAlphaFunction(io.qt.qt3d.render.QAlphaTest.@NonNull AlphaFunction alphaFunction){ setAlphaFunction_native_Qt3DRender_QAlphaTest_AlphaFunction(QtJambi_LibraryUtilities.internal.nativeId(this), alphaFunction.value()); } private native void setAlphaFunction_native_Qt3DRender_QAlphaTest_AlphaFunction(long __this__nativeId, int alphaFunction); /** *

See Qt3DRender::QAlphaTest::setReferenceValue(float)

* @param referenceValue */ @QtPropertyWriter(name="referenceValue") public final void setReferenceValue(float referenceValue){ setReferenceValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), referenceValue); } private native void setReferenceValue_native_float(long __this__nativeId, float referenceValue); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAlphaTest(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QAlphaTest(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAlphaTest instance, QDeclarativeConstructor constructor); /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QAlphaTest.@NonNull AlphaFunction getAlphaFunction() { return alphaFunction(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getReferenceValue() { return referenceValue(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy