io.qt.qt3d.extras.QGoochMaterial Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Material that implements the Gooch shading model, popular in CAD and CAM applications
* Java wrapper for Qt's class Qt3DExtras::QGoochMaterial
*/
public class QGoochMaterial 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(QGoochMaterial.class);
/**
* See Qt3DExtras::QGoochMaterial::alphaChanged(float)
*/
@QtPropertyNotify(name="alpha")
public final @NonNull Signal1 alphaChanged = new Signal1<>();
/**
* See Qt3DExtras::QGoochMaterial::betaChanged(float)
*/
@QtPropertyNotify(name="beta")
public final @NonNull Signal1 betaChanged = new Signal1<>();
/**
* See Qt3DExtras::QGoochMaterial::coolChanged(QColor)
*/
@QtPropertyNotify(name="cool")
public final @NonNull Signal1 coolChanged = new Signal1<>();
/**
* See Qt3DExtras::QGoochMaterial::diffuseChanged(QColor)
*/
@QtPropertyNotify(name="diffuse")
public final @NonNull Signal1 diffuseChanged = new Signal1<>();
/**
* See Qt3DExtras::QGoochMaterial::shininessChanged(float)
*/
@QtPropertyNotify(name="shininess")
public final @NonNull Signal1 shininessChanged = new Signal1<>();
/**
* See Qt3DExtras::QGoochMaterial::specularChanged(QColor)
*/
@QtPropertyNotify(name="specular")
public final @NonNull Signal1 specularChanged = new Signal1<>();
/**
* See Qt3DExtras::QGoochMaterial::warmChanged(QColor)
*/
@QtPropertyNotify(name="warm")
public final @NonNull Signal1 warmChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QGoochMaterial(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QGoochMaterial() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* See Qt3DExtras::QGoochMaterial::QGoochMaterial(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QGoochMaterial(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGoochMaterial instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #alpha()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getAlpha() {
return alpha();
}
/**
* See Qt3DExtras::QGoochMaterial::alpha()const
*/
@QtPropertyReader(name="alpha")
@QtUninvokable
public final float alpha(){
return alpha_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float alpha_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #beta()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getBeta() {
return beta();
}
/**
* See Qt3DExtras::QGoochMaterial::beta()const
*/
@QtPropertyReader(name="beta")
@QtUninvokable
public final float beta(){
return beta_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float beta_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #cool()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getCool() {
return cool();
}
/**
* See Qt3DExtras::QGoochMaterial::cool()const
*/
@QtPropertyReader(name="cool")
@QtUninvokable
public final io.qt.gui.@NonNull QColor cool(){
return cool_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor cool_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #diffuse()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getDiffuse() {
return diffuse();
}
/**
* See Qt3DExtras::QGoochMaterial::diffuse()const
*/
@QtPropertyReader(name="diffuse")
@QtUninvokable
public final io.qt.gui.@NonNull QColor diffuse(){
return diffuse_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor diffuse_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QGoochMaterial::setAlpha(float)
*/
@QtPropertyWriter(name="alpha")
public final void setAlpha(float alpha){
setAlpha_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), alpha);
}
private native void setAlpha_native_float(long __this__nativeId, float alpha);
/**
* See Qt3DExtras::QGoochMaterial::setBeta(float)
*/
@QtPropertyWriter(name="beta")
public final void setBeta(float beta){
setBeta_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), beta);
}
private native void setBeta_native_float(long __this__nativeId, float beta);
/**
* See Qt3DExtras::QGoochMaterial::setCool(QColor)
*/
@QtPropertyWriter(name="cool")
public final void setCool(io.qt.gui.@NonNull QColor cool){
setCool_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cool));
}
private native void setCool_native_cref_QColor(long __this__nativeId, long cool);
/**
* See Qt3DExtras::QGoochMaterial::setDiffuse(QColor)
*/
@QtPropertyWriter(name="diffuse")
public final void setDiffuse(io.qt.gui.@NonNull QColor diffuse){
setDiffuse_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(diffuse));
}
private native void setDiffuse_native_cref_QColor(long __this__nativeId, long diffuse);
/**
* See Qt3DExtras::QGoochMaterial::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::QGoochMaterial::setSpecular(QColor)
*/
@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);
/**
* See Qt3DExtras::QGoochMaterial::setWarm(QColor)
*/
@QtPropertyWriter(name="warm")
public final void setWarm(io.qt.gui.@NonNull QColor warm){
setWarm_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(warm));
}
private native void setWarm_native_cref_QColor(long __this__nativeId, long warm);
/**
* Kotlin property getter. In Java use {@link #shininess()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getShininess() {
return shininess();
}
/**
* See Qt3DExtras::QGoochMaterial::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 io.qt.gui.@NonNull QColor getSpecular() {
return specular();
}
/**
* See Qt3DExtras::QGoochMaterial::specular()const
*/
@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 #warm()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getWarm() {
return warm();
}
/**
* See Qt3DExtras::QGoochMaterial::warm()const
*/
@QtPropertyReader(name="warm")
@QtUninvokable
public final io.qt.gui.@NonNull QColor warm(){
return warm_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor warm_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QGoochMaterial(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QGoochMaterial(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QGoochMaterial instance, QDeclarativeConstructor constructor);
}