![JAR search and dependency download from the Maven repository](/logo.png)
io.qt.qt3d.render.QClipPlane Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance
* Java wrapper for Qt class Qt3DRender::QClipPlane
*/
public class QClipPlane 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(QClipPlane.class);
/**
* See Qt3DRender::QClipPlane:: distanceChanged(float)
*/
@QtPropertyNotify(name="distance")
public final @NonNull Signal1 distanceChanged = new Signal1<>();
/**
* See Qt3DRender::QClipPlane:: normalChanged(QVector3D)
*/
@QtPropertyNotify(name="normal")
public final @NonNull Signal1 normalChanged = new Signal1<>();
/**
* See Qt3DRender::QClipPlane:: planeIndexChanged(int)
*/
@QtPropertyNotify(name="planeIndex")
public final @NonNull Signal1 planeIndexChanged = new Signal1<>();
/**
* See Qt3DRender::QClipPlane:: QClipPlane(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QClipPlane(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QClipPlane instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QClipPlane:: distance()const
* @return
*/
@QtPropertyReader(name="distance")
@QtUninvokable
public final float distance(){
return distance_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float distance_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QClipPlane:: normal()const
* @return
*/
@QtPropertyReader(name="normal")
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D normal(){
return normal_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D normal_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QClipPlane:: planeIndex()const
* @return
*/
@QtPropertyReader(name="planeIndex")
@QtUninvokable
public final int planeIndex(){
return planeIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int planeIndex_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QClipPlane:: setDistance(float)
* @param arg__1
*/
@QtPropertyWriter(name="distance")
public final void setDistance(float arg__1){
setDistance_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
private native void setDistance_native_float(long __this__nativeId, float arg__1);
/**
* See Qt3DRender::QClipPlane:: setNormal(QVector3D)
* @param arg__1
*/
@QtPropertyWriter(name="normal")
public final void setNormal(io.qt.gui.@NonNull QVector3D arg__1){
setNormal_native_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
private native void setNormal_native_QVector3D(long __this__nativeId, long arg__1);
/**
* See Qt3DRender::QClipPlane:: setPlaneIndex(int)
* @param arg__1
*/
@QtPropertyWriter(name="planeIndex")
public final void setPlaneIndex(int arg__1){
setPlaneIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
private native void setPlaneIndex_native_int(long __this__nativeId, int arg__1);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QClipPlane(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QClipPlane(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QClipPlane instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QClipPlane(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QClipPlane() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #distance()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getDistance() {
return distance();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #normal()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getNormal() {
return normal();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #planeIndex()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getPlaneIndex() {
return planeIndex();
}
}