io.qt.qt3d.extras.QPlaneMesh Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* A square planar mesh
* Java wrapper for Qt's class Qt3DExtras::QPlaneMesh
*/
public class QPlaneMesh extends io.qt.qt3d.render.QGeometryRenderer
{
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(QPlaneMesh.class);
/**
* See Qt3DExtras::QPlaneMesh::heightChanged(float)
*/
@QtPropertyNotify(name="height")
public final @NonNull Signal1 heightChanged = new Signal1<>();
/**
* See Qt3DExtras::QPlaneMesh::meshResolutionChanged(QSize)
*/
@QtPropertyNotify(name="meshResolution")
public final @NonNull Signal1 meshResolutionChanged = new Signal1<>();
/**
* See Qt3DExtras::QPlaneMesh::mirroredChanged(bool)
*/
@QtPropertyNotify(name="mirrored")
public final @NonNull Signal1 mirroredChanged = new Signal1<>();
/**
* See Qt3DExtras::QPlaneMesh::widthChanged(float)
*/
@QtPropertyNotify(name="width")
public final @NonNull Signal1 widthChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QPlaneMesh(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QPlaneMesh() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* See Qt3DExtras::QPlaneMesh::QPlaneMesh(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QPlaneMesh(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QPlaneMesh instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #height()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getHeight() {
return height();
}
/**
* See Qt3DExtras::QPlaneMesh::height()const
*/
@QtPropertyReader(name="height")
@QtUninvokable
public final float height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float height_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #meshResolution()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getMeshResolution() {
return meshResolution();
}
/**
* See Qt3DExtras::QPlaneMesh::meshResolution()const
*/
@QtPropertyReader(name="meshResolution")
@QtUninvokable
public final io.qt.core.@NonNull QSize meshResolution(){
return meshResolution_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize meshResolution_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #mirrored()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getMirrored() {
return mirrored();
}
/**
* See Qt3DExtras::QPlaneMesh::mirrored()const
*/
@QtPropertyReader(name="mirrored")
@QtUninvokable
public final boolean mirrored(){
return mirrored_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean mirrored_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QPlaneMesh::setHeight(float)
*/
@QtPropertyWriter(name="height")
public final void setHeight(float height){
setHeight_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
private native void setHeight_native_float(long __this__nativeId, float height);
/**
* See Qt3DExtras::QPlaneMesh::setMeshResolution(QSize)
*/
@QtPropertyWriter(name="meshResolution")
public final void setMeshResolution(io.qt.core.@NonNull QSize resolution){
setMeshResolution_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resolution));
}
private native void setMeshResolution_native_cref_QSize(long __this__nativeId, long resolution);
/**
* See Qt3DExtras::QPlaneMesh::setMirrored(bool)
*/
@QtPropertyWriter(name="mirrored")
public final void setMirrored(boolean mirrored){
setMirrored_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mirrored);
}
private native void setMirrored_native_bool(long __this__nativeId, boolean mirrored);
/**
* See Qt3DExtras::QPlaneMesh::setWidth(float)
*/
@QtPropertyWriter(name="width")
public final void setWidth(float width){
setWidth_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
private native void setWidth_native_float(long __this__nativeId, float width);
/**
* Kotlin property getter. In Java use {@link #width()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getWidth() {
return width();
}
/**
* See Qt3DExtras::QPlaneMesh::width()const
*/
@QtPropertyReader(name="width")
@QtUninvokable
public final float width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float width_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QPlaneMesh(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QPlaneMesh(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QPlaneMesh instance, QDeclarativeConstructor constructor);
}