![JAR search and dependency download from the Maven repository](/logo.png)
io.qt.qt3d.extras.QSpriteGrid Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-qt3dextras Show documentation
Show all versions of qtjambi-qt3dextras Show documentation
The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D.
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Java wrapper for Qt class Qt3DExtras::QSpriteGrid
*/
public class QSpriteGrid extends io.qt.qt3d.extras.QAbstractSpriteSheet
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSpriteGrid.class);
@QtPropertyNotify(name="columns")
public final @NonNull Signal1 columnsChanged = new Signal1<>();
@QtPropertyNotify(name="rows")
public final @NonNull Signal1 rowsChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QSpriteGrid(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QSpriteGrid() {
this((io.qt.qt3d.core.QNode)null);
}
@SuppressWarnings({"exports"})
public QSpriteGrid(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QSpriteGrid instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #columns()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getColumns() {
return columns();
}
@QtPropertyReader(name="columns")
@QtUninvokable
public final int columns(){
return columns_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int columns_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #rows()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getRows() {
return rows();
}
@QtPropertyReader(name="rows")
@QtUninvokable
public final int rows(){
return rows_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int rows_native_constfct(long __this__nativeId);
@QtPropertyWriter(name="columns")
public final void setColumns(int columns){
setColumns_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), columns);
}
private native void setColumns_native_int(long __this__nativeId, int columns);
@QtPropertyWriter(name="rows")
public final void setRows(int rows){
setRows_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), rows);
}
private native void setRows_native_int(long __this__nativeId, int rows);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QSpriteGrid(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QSpriteGrid(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QSpriteGrid instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy