io.qt.qt3d.extras.QAbstractSpriteSheet 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::QAbstractSpriteSheet
*/
public class QAbstractSpriteSheet extends io.qt.qt3d.core.QNode
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcTexture = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractSpriteSheet.class);
@QtPropertyNotify(name="currentIndex")
public final @NonNull Signal1 currentIndexChanged = new Signal1<>();
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="texture")
public final @NonNull Signal1 textureChanged = new Signal1<>();
@QtPropertyNotify(name="textureTransform")
public final @NonNull Signal1 textureTransformChanged = new Signal1<>();
/**
* Kotlin property getter. In Java use {@link #currentIndex()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getCurrentIndex() {
return currentIndex();
}
@QtPropertyReader(name="currentIndex")
@QtUninvokable
public final int currentIndex(){
return currentIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int currentIndex_native_constfct(long __this__nativeId);
@QtPropertyWriter(name="currentIndex")
public final void setCurrentIndex(int currentIndex){
setCurrentIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), currentIndex);
}
private native void setCurrentIndex_native_int(long __this__nativeId, int currentIndex);
@QtPropertyWriter(name="texture")
@SuppressWarnings({"exports"})
public final void setTexture(io.qt.qt3d.render.@Nullable QAbstractTexture texture){
setTexture_native_Qt3DRender_QAbstractTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(texture));
__rcTexture = texture;
}
private native void setTexture_native_Qt3DRender_QAbstractTexture_ptr(long __this__nativeId, long texture);
/**
* Kotlin property getter. In Java use {@link #texture()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAbstractTexture getTexture() {
return texture();
}
@QtPropertyReader(name="texture")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAbstractTexture texture(){
return texture_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.render.QAbstractTexture texture_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #textureTransform()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QMatrix3x3 getTextureTransform() {
return textureTransform();
}
@QtPropertyReader(name="textureTransform")
@QtUninvokable
public final io.qt.gui.@NonNull QMatrix3x3 textureTransform(){
return textureTransform_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QMatrix3x3 textureTransform_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QAbstractSpriteSheet(QPrivateConstructor p) { super(p); }
}