io.qt.qt3d.extras.QDiffuseSpecularMaterial Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Default implementation of the phong lighting effect
* Java wrapper for Qt's class Qt3DExtras::QDiffuseSpecularMaterial
*/
public class QDiffuseSpecularMaterial extends io.qt.qt3d.render.QMaterial
{
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(QDiffuseSpecularMaterial.class);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::alphaBlendingEnabledChanged(bool)
*/
@QtPropertyNotify(name="alphaBlending")
public final @NonNull Signal1 alphaBlendingEnabledChanged = new Signal1<>();
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::ambientChanged(QColor)
*/
@QtPropertyNotify(name="ambient")
public final @NonNull Signal1 ambientChanged = new Signal1<>();
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::diffuseChanged(QVariant)
*/
@QtPropertyNotify(name="diffuse")
public final @NonNull Signal1 diffuseChanged = new Signal1<>();
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::normalChanged(QVariant)
*/
@QtPropertyNotify(name="normal")
public final @NonNull Signal1 normalChanged = new Signal1<>();
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::shininessChanged(float)
*/
@QtPropertyNotify(name="shininess")
public final @NonNull Signal1 shininessChanged = new Signal1<>();
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::specularChanged(QVariant)
*/
@QtPropertyNotify(name="specular")
public final @NonNull Signal1 specularChanged = new Signal1<>();
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::textureScaleChanged(float)
*/
@QtPropertyNotify(name="textureScale")
public final @NonNull Signal1 textureScaleChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QDiffuseSpecularMaterial(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QDiffuseSpecularMaterial() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::QDiffuseSpecularMaterial(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QDiffuseSpecularMaterial(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QDiffuseSpecularMaterial 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();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::ambient()const
*/
@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)
@QtUninvokable
public final java.lang.Object getDiffuse() {
return diffuse();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::diffuse()const
*/
@QtPropertyReader(name="diffuse")
@QtUninvokable
public final java.lang.Object diffuse(){
return diffuse_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.Object diffuse_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #isAlphaBlendingEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAlphaBlending() {
return isAlphaBlendingEnabled();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::isAlphaBlendingEnabled()const
*/
@QtPropertyReader(name="alphaBlending")
@QtUninvokable
public final boolean isAlphaBlendingEnabled(){
return isAlphaBlendingEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAlphaBlendingEnabled_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #normal()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.Object getNormal() {
return normal();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::normal()const
*/
@QtPropertyReader(name="normal")
@QtUninvokable
public final java.lang.Object normal(){
return normal_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.Object normal_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setAlphaBlendingEnabled(bool)
*/
@QtPropertyWriter(name="alphaBlending")
public final void setAlphaBlendingEnabled(boolean enabled){
setAlphaBlendingEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
private native void setAlphaBlendingEnabled_native_bool(long __this__nativeId, boolean enabled);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setAmbient(QColor)
*/
@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);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setDiffuse(QVariant)
*/
@QtPropertyWriter(name="diffuse")
public final void setDiffuse(java.lang.Object diffuse){
setDiffuse_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), diffuse);
}
private native void setDiffuse_native_cref_QVariant(long __this__nativeId, java.lang.Object diffuse);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setNormal(QVariant)
*/
@QtPropertyWriter(name="normal")
public final void setNormal(java.lang.Object normal){
setNormal_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), normal);
}
private native void setNormal_native_cref_QVariant(long __this__nativeId, java.lang.Object normal);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setShininess(float)
*/
@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);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setSpecular(QVariant)
*/
@QtPropertyWriter(name="specular")
public final void setSpecular(java.lang.Object specular){
setSpecular_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), specular);
}
private native void setSpecular_native_cref_QVariant(long __this__nativeId, java.lang.Object specular);
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::setTextureScale(float)
*/
@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();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::shininess()const
*/
@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 java.lang.Object getSpecular() {
return specular();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::specular()const
*/
@QtPropertyReader(name="specular")
@QtUninvokable
public final java.lang.Object specular(){
return specular_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.Object 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();
}
/**
* See Qt3DExtras::QDiffuseSpecularMaterial::textureScale()const
*/
@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 QDiffuseSpecularMaterial(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QDiffuseSpecularMaterial(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QDiffuseSpecularMaterial instance, QDeclarativeConstructor constructor);
}