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

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

There is a newer version: 6.7.2
Show newest version
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Provides storage for a name and value pair. This maps to a shader uniform

*

Java wrapper for Qt class Qt3DRender::QParameter

*/ public class QParameter extends io.qt.qt3d.core.QNode { 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(QParameter.class); /** *

See Qt3DRender::QParameter::nameChanged(QString)

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

See Qt3DRender::QParameter::valueChanged(QVariant)

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

See Qt3DRender::QParameter::QParameter(QString,QVariant,Qt3DCore::QNode*)

*/ @SuppressWarnings({"exports"}) public QParameter(java.lang.@NonNull String name, java.lang.Object value, io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, name, value, parent); } private native static void initialize_native(QParameter instance, java.lang.String name, java.lang.Object value, io.qt.qt3d.core.QNode parent); /** *

See Qt3DRender::QParameter::QParameter(QString,Qt3DRender::QAbstractTexture*,Qt3DCore::QNode*)

*/ @SuppressWarnings({"exports"}) public QParameter(java.lang.@NonNull String name, io.qt.qt3d.render.@Nullable QAbstractTexture texture, io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, name, texture, parent); } private native static void initialize_native(QParameter instance, java.lang.String name, io.qt.qt3d.render.QAbstractTexture texture, io.qt.qt3d.core.QNode parent); /** *

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

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

See Qt3DRender::QParameter::name()const

*/ @QtPropertyReader(name="name") @QtUninvokable public final java.lang.@NonNull String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QParameter::setName(QString)

*/ @QtPropertyWriter(name="name") public final void setName(java.lang.@NonNull String name){ setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See Qt3DRender::QParameter::setValue(QVariant)

*/ @QtPropertyWriter(name="value") public final void setValue(java.lang.Object dv){ setValue_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), dv); } private native void setValue_native_cref_QVariant(long __this__nativeId, java.lang.Object dv); /** *

See Qt3DRender::QParameter::value()const

*/ @QtPropertyReader(name="value") @QtUninvokable public final java.lang.Object value(){ return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.Object value_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QParameter(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QParameter(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QParameter instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QParameter(java.lang.String, java.lang.Object, io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QParameter(java.lang.@NonNull String name, java.lang.Object value) { this(name, value, (io.qt.qt3d.core.QNode)null); } /** *

Overloaded constructor for {@link #QParameter(java.lang.String, io.qt.qt3d.render.QAbstractTexture, io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QParameter(java.lang.@NonNull String name, io.qt.qt3d.render.@Nullable QAbstractTexture texture) { this(name, texture, (io.qt.qt3d.core.QNode)null); } /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getName() { return name(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.Object getValue() { return value(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy