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

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

package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Provides an abstract class that should be the base of all material component classes in a scene

*

Java wrapper for Qt class Qt3DRender::QMaterial

*/ public class QMaterial extends io.qt.qt3d.core.QComponent { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QMaterial.class); /** *

See Qt3DRender::QMaterial::effectChanged(Qt3DRender::QEffect*)

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

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

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

See Qt3DRender::QMaterial::addParameter(Qt3DRender::QParameter*)

* @param parameter */ @QtUninvokable public final void addParameter(io.qt.qt3d.render.@Nullable QParameter parameter){ addParameter_native_Qt3DRender_QParameter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parameter)); } @QtUninvokable private native void addParameter_native_Qt3DRender_QParameter_ptr(long __this__nativeId, long parameter); /** *

See Qt3DRender::QMaterial::effect()const

* @return */ @QtPropertyReader(name="effect") @QtUninvokable public final io.qt.qt3d.render.@Nullable QEffect effect(){ return effect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.render.QEffect effect_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QMaterial::parameters()const

* @return */ @QtUninvokable public final io.qt.core.@NonNull QList parameters(){ return parameters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList parameters_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QMaterial::removeParameter(Qt3DRender::QParameter*)

* @param parameter */ @QtUninvokable public final void removeParameter(io.qt.qt3d.render.@Nullable QParameter parameter){ removeParameter_native_Qt3DRender_QParameter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parameter)); } @QtUninvokable private native void removeParameter_native_Qt3DRender_QParameter_ptr(long __this__nativeId, long parameter); /** *

See Qt3DRender::QMaterial::setEffect(Qt3DRender::QEffect*)

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

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.@Nullable QEffect getEffect() { return effect(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy