io.qt.qt3d.extras.QNormalDiffuseMapMaterial Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-qt3dextras Show documentation
Show all versions of qtjambi-qt3dextras Show documentation
The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D.
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Java wrapper for Qt class Qt3DExtras::QNormalDiffuseMapMaterial
*/
public class QNormalDiffuseMapMaterial extends io.qt.qt3d.render.QMaterial
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcDiffuse = null;
@QtPropertyMember(enabled=false)
private Object __rcNormal = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QNormalDiffuseMapMaterial.class);
@QtPropertyNotify(name="ambient")
public final @NonNull Signal1 ambientChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="diffuse")
public final @NonNull Signal1 diffuseChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="normal")
public final @NonNull Signal1 normalChanged = new Signal1<>();
@QtPropertyNotify(name="shininess")
public final @NonNull Signal1 shininessChanged = new Signal1<>();
@QtPropertyNotify(name="specular")
public final @NonNull Signal1 specularChanged = new Signal1<>();
@QtPropertyNotify(name="textureScale")
public final @NonNull Signal1 textureScaleChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QNormalDiffuseMapMaterial(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QNormalDiffuseMapMaterial() {
this((io.qt.qt3d.core.QNode)null);
}
@SuppressWarnings({"exports"})
public QNormalDiffuseMapMaterial(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QNormalDiffuseMapMaterial instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #ambient()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getAmbient() {
return ambient();
}
@QtPropertyReader(name="ambient")
@QtUninvokable
public final io.qt.gui.@NonNull QColor ambient(){
return ambient_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor ambient_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #diffuse()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAbstractTexture getDiffuse() {
return diffuse();
}
@QtPropertyReader(name="diffuse")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAbstractTexture diffuse(){
return diffuse_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.render.QAbstractTexture diffuse_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #normal()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAbstractTexture getNormal() {
return normal();
}
@QtPropertyReader(name="normal")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAbstractTexture normal(){
return normal_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.render.QAbstractTexture normal_native_constfct(long __this__nativeId);
@QtPropertyWriter(name="ambient")
public final void setAmbient(io.qt.gui.@NonNull QColor ambient){
setAmbient_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ambient));
}
private native void setAmbient_native_cref_QColor(long __this__nativeId, long ambient);
@QtPropertyWriter(name="diffuse")
@SuppressWarnings({"exports"})
public final void setDiffuse(io.qt.qt3d.render.@Nullable QAbstractTexture diffuse){
setDiffuse_native_Qt3DRender_QAbstractTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(diffuse));
__rcDiffuse = diffuse;
}
private native void setDiffuse_native_Qt3DRender_QAbstractTexture_ptr(long __this__nativeId, long diffuse);
@QtPropertyWriter(name="normal")
@SuppressWarnings({"exports"})
public final void setNormal(io.qt.qt3d.render.@Nullable QAbstractTexture normal){
setNormal_native_Qt3DRender_QAbstractTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(normal));
__rcNormal = normal;
}
private native void setNormal_native_Qt3DRender_QAbstractTexture_ptr(long __this__nativeId, long normal);
@QtPropertyWriter(name="shininess")
public final void setShininess(float shininess){
setShininess_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), shininess);
}
private native void setShininess_native_float(long __this__nativeId, float shininess);
@QtPropertyWriter(name="specular")
public final void setSpecular(io.qt.gui.@NonNull QColor specular){
setSpecular_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(specular));
}
private native void setSpecular_native_cref_QColor(long __this__nativeId, long specular);
@QtPropertyWriter(name="textureScale")
public final void setTextureScale(float textureScale){
setTextureScale_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), textureScale);
}
private native void setTextureScale_native_float(long __this__nativeId, float textureScale);
/**
* Kotlin property getter. In Java use {@link #shininess()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getShininess() {
return shininess();
}
@QtPropertyReader(name="shininess")
@QtUninvokable
public final float shininess(){
return shininess_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float shininess_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #specular()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getSpecular() {
return specular();
}
@QtPropertyReader(name="specular")
@QtUninvokable
public final io.qt.gui.@NonNull QColor specular(){
return specular_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor specular_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #textureScale()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getTextureScale() {
return textureScale();
}
@QtPropertyReader(name="textureScale")
@QtUninvokable
public final float textureScale(){
return textureScale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float textureScale_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QNormalDiffuseMapMaterial(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QNormalDiffuseMapMaterial(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QNormalDiffuseMapMaterial instance, QDeclarativeConstructor constructor);
}