io.qt.qt3d.extras.QPhongAlphaMaterial Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Java wrapper for Qt class Qt3DExtras::QPhongAlphaMaterial
*/
public class QPhongAlphaMaterial 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(QPhongAlphaMaterial.class);
@QtPropertyNotify(name="alpha")
public final @NonNull Signal1 alphaChanged = new Signal1<>();
@QtPropertyNotify(name="ambient")
public final @NonNull Signal1 ambientChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="blendFunctionArg")
public final @NonNull Signal1 blendFunctionArgChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="destinationAlphaArg")
public final @NonNull Signal1 destinationAlphaArgChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="destinationRgbArg")
public final @NonNull Signal1 destinationRgbArgChanged = new Signal1<>();
@QtPropertyNotify(name="diffuse")
public final @NonNull Signal1 diffuseChanged = new Signal1<>();
@QtPropertyNotify(name="shininess")
public final @NonNull Signal1 shininessChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="sourceAlphaArg")
public final @NonNull Signal1 sourceAlphaArgChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="sourceRgbArg")
public final @NonNull Signal1 sourceRgbArgChanged = new Signal1<>();
@QtPropertyNotify(name="specular")
public final @NonNull Signal1 specularChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QPhongAlphaMaterial(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QPhongAlphaMaterial() {
this((io.qt.qt3d.core.QNode)null);
}
@SuppressWarnings({"exports"})
public QPhongAlphaMaterial(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QPhongAlphaMaterial 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();
}
@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 #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 #blendFunctionArg()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquation.@NonNull BlendFunction getBlendFunctionArg() {
return blendFunctionArg();
}
@QtPropertyReader(name="blendFunctionArg")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquation.@NonNull BlendFunction blendFunctionArg(){
return io.qt.qt3d.render.QBlendEquation.BlendFunction.resolve(blendFunctionArg_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int blendFunctionArg_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #destinationAlphaArg()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending getDestinationAlphaArg() {
return destinationAlphaArg();
}
@QtPropertyReader(name="destinationAlphaArg")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending destinationAlphaArg(){
return io.qt.qt3d.render.QBlendEquationArguments.Blending.resolve(destinationAlphaArg_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int destinationAlphaArg_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #destinationRgbArg()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending getDestinationRgbArg() {
return destinationRgbArg();
}
@QtPropertyReader(name="destinationRgbArg")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending destinationRgbArg(){
return io.qt.qt3d.render.QBlendEquationArguments.Blending.resolve(destinationRgbArg_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int destinationRgbArg_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();
}
@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);
@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);
@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="blendFunctionArg")
@SuppressWarnings({"exports"})
public final void setBlendFunctionArg(io.qt.qt3d.render.QBlendEquation.@NonNull BlendFunction blendFunctionArg){
setBlendFunctionArg_native_Qt3DRender_QBlendEquation_BlendFunction(QtJambi_LibraryUtilities.internal.nativeId(this), blendFunctionArg.value());
}
private native void setBlendFunctionArg_native_Qt3DRender_QBlendEquation_BlendFunction(long __this__nativeId, int blendFunctionArg);
@QtPropertyWriter(name="destinationAlphaArg")
@SuppressWarnings({"exports"})
public final void setDestinationAlphaArg(io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending destinationAlphaArg){
setDestinationAlphaArg_native_Qt3DRender_QBlendEquationArguments_Blending(QtJambi_LibraryUtilities.internal.nativeId(this), destinationAlphaArg.value());
}
private native void setDestinationAlphaArg_native_Qt3DRender_QBlendEquationArguments_Blending(long __this__nativeId, int destinationAlphaArg);
@QtPropertyWriter(name="destinationRgbArg")
@SuppressWarnings({"exports"})
public final void setDestinationRgbArg(io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending destinationRgbArg){
setDestinationRgbArg_native_Qt3DRender_QBlendEquationArguments_Blending(QtJambi_LibraryUtilities.internal.nativeId(this), destinationRgbArg.value());
}
private native void setDestinationRgbArg_native_Qt3DRender_QBlendEquationArguments_Blending(long __this__nativeId, int destinationRgbArg);
@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);
@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="sourceAlphaArg")
@SuppressWarnings({"exports"})
public final void setSourceAlphaArg(io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending sourceAlphaArg){
setSourceAlphaArg_native_Qt3DRender_QBlendEquationArguments_Blending(QtJambi_LibraryUtilities.internal.nativeId(this), sourceAlphaArg.value());
}
private native void setSourceAlphaArg_native_Qt3DRender_QBlendEquationArguments_Blending(long __this__nativeId, int sourceAlphaArg);
@QtPropertyWriter(name="sourceRgbArg")
@SuppressWarnings({"exports"})
public final void setSourceRgbArg(io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending sourceRgbArg){
setSourceRgbArg_native_Qt3DRender_QBlendEquationArguments_Blending(QtJambi_LibraryUtilities.internal.nativeId(this), sourceRgbArg.value());
}
private native void setSourceRgbArg_native_Qt3DRender_QBlendEquationArguments_Blending(long __this__nativeId, int sourceRgbArg);
@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);
/**
* 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 #sourceAlphaArg()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending getSourceAlphaArg() {
return sourceAlphaArg();
}
@QtPropertyReader(name="sourceAlphaArg")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending sourceAlphaArg(){
return io.qt.qt3d.render.QBlendEquationArguments.Blending.resolve(sourceAlphaArg_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int sourceAlphaArg_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #sourceRgbArg()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending getSourceRgbArg() {
return sourceRgbArg();
}
@QtPropertyReader(name="sourceRgbArg")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QBlendEquationArguments.@NonNull Blending sourceRgbArg(){
return io.qt.qt3d.render.QBlendEquationArguments.Blending.resolve(sourceRgbArg_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int sourceRgbArg_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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QPhongAlphaMaterial(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QPhongAlphaMaterial(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QPhongAlphaMaterial instance, QDeclarativeConstructor constructor);
}