io.qt.qt3d.render.QScissorTest Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Discards fragments that fall outside of a certain rectangular portion of the screen
* Java wrapper for Qt class Qt3DRender::QScissorTest
*/
public class QScissorTest extends io.qt.qt3d.render.QRenderState
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScissorTest.class);
/**
* See Qt3DRender::QScissorTest:: bottomChanged(int)
*/
@QtPropertyNotify(name="bottom")
public final @NonNull Signal1 bottomChanged = new Signal1<>();
/**
* See Qt3DRender::QScissorTest:: heightChanged(int)
*/
@QtPropertyNotify(name="height")
public final @NonNull Signal1 heightChanged = new Signal1<>();
/**
* See Qt3DRender::QScissorTest:: leftChanged(int)
*/
@QtPropertyNotify(name="left")
public final @NonNull Signal1 leftChanged = new Signal1<>();
/**
* See Qt3DRender::QScissorTest:: widthChanged(int)
*/
@QtPropertyNotify(name="width")
public final @NonNull Signal1 widthChanged = new Signal1<>();
/**
* See Qt3DRender::QScissorTest:: QScissorTest(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QScissorTest(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QScissorTest instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QScissorTest:: bottom()const
* @return
*/
@QtPropertyReader(name="bottom")
@QtUninvokable
public final int bottom(){
return bottom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int bottom_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QScissorTest:: height()const
* @return
*/
@QtPropertyReader(name="height")
@QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int height_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QScissorTest:: left()const
* @return
*/
@QtPropertyReader(name="left")
@QtUninvokable
public final int left(){
return left_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int left_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QScissorTest:: setBottom(int)
* @param bottom
*/
@QtPropertyWriter(name="bottom")
public final void setBottom(int bottom){
setBottom_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), bottom);
}
private native void setBottom_native_int(long __this__nativeId, int bottom);
/**
* See Qt3DRender::QScissorTest:: setHeight(int)
* @param height
*/
@QtPropertyWriter(name="height")
public final void setHeight(int height){
setHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
private native void setHeight_native_int(long __this__nativeId, int height);
/**
* See Qt3DRender::QScissorTest:: setLeft(int)
* @param left
*/
@QtPropertyWriter(name="left")
public final void setLeft(int left){
setLeft_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), left);
}
private native void setLeft_native_int(long __this__nativeId, int left);
/**
* See Qt3DRender::QScissorTest:: setWidth(int)
* @param width
*/
@QtPropertyWriter(name="width")
public final void setWidth(int width){
setWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
private native void setWidth_native_int(long __this__nativeId, int width);
/**
* See Qt3DRender::QScissorTest:: width()const
* @return
*/
@QtPropertyReader(name="width")
@QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScissorTest(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QScissorTest(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QScissorTest instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QScissorTest(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QScissorTest() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #bottom()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getBottom() {
return bottom();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #height()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getHeight() {
return height();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #left()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getLeft() {
return left();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #width()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getWidth() {
return width();
}
}