![JAR search and dependency download from the Maven repository](/logo.png)
io.qt.qt3d.render.QDepthRange Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Enables remapping depth values written into the depth buffer
* Java wrapper for Qt class Qt3DRender::QDepthRange
*/
public class QDepthRange 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(QDepthRange.class);
/**
* See Qt3DRender::QDepthRange:: farValueChanged(double)
*/
@QtPropertyNotify(name="farValue")
public final @NonNull Signal1 farValueChanged = new Signal1<>();
/**
* See Qt3DRender::QDepthRange:: nearValueChanged(double)
*/
@QtPropertyNotify(name="nearValue")
public final @NonNull Signal1 nearValueChanged = new Signal1<>();
/**
* See Qt3DRender::QDepthRange:: QDepthRange(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QDepthRange(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QDepthRange instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QDepthRange:: farValue()const
* @return
*/
@QtPropertyReader(name="farValue")
@QtUninvokable
public final double farValue(){
return farValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double farValue_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QDepthRange:: nearValue()const
* @return
*/
@QtPropertyReader(name="nearValue")
@QtUninvokable
public final double nearValue(){
return nearValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double nearValue_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QDepthRange:: setFarValue(double)
* @param value
*/
@QtPropertyWriter(name="farValue")
public final void setFarValue(double value){
setFarValue_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
private native void setFarValue_native_double(long __this__nativeId, double value);
/**
* See Qt3DRender::QDepthRange:: setNearValue(double)
* @param value
*/
@QtPropertyWriter(name="nearValue")
public final void setNearValue(double value){
setNearValue_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
private native void setNearValue_native_double(long __this__nativeId, double value);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDepthRange(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QDepthRange(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QDepthRange instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QDepthRange(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QDepthRange() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #farValue()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getFarValue() {
return farValue();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #nearValue()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getNearValue() {
return nearValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy