io.qt.qt3d.extras.QAbstractSpriteSheet Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
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;
/**
* 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);
/**
* See Qt3DExtras::QAbstractSpriteSheet:: currentIndexChanged(int)
*/
@QtPropertyNotify(name="currentIndex")
public final @NonNull Signal1 currentIndexChanged = new Signal1<>();
/**
* See Qt3DExtras::QAbstractSpriteSheet:: textureChanged(Qt3DRender::QAbstractTexture*)
*/
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="texture")
public final @NonNull Signal1 textureChanged = new Signal1<>();
/**
* See Qt3DExtras::QAbstractSpriteSheet:: textureTransformChanged(QMatrix3x3)
*/
@QtPropertyNotify(name="textureTransform")
public final @NonNull Signal1 textureTransformChanged = new Signal1<>();
/**
* See Qt3DExtras::QAbstractSpriteSheet:: currentIndex()const
* @return
*/
@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);
/**
* See Qt3DExtras::QAbstractSpriteSheet:: setCurrentIndex(int)
* @param currentIndex
*/
@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);
/**
* See Qt3DExtras::QAbstractSpriteSheet:: setTexture(Qt3DRender::QAbstractTexture*)
* @param texture
*/
@QtPropertyWriter(name="texture")
@SuppressWarnings({"exports"})
public final void setTexture(io.qt.qt3d.render.@Nullable QAbstractTexture texture){
InternalAccess.NativeIdInfo __texture__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(texture);
setTexture_native_Qt3DRender_QAbstractTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __texture__NativeIdInfo.nativeId());
if (__texture__NativeIdInfo.needsReferenceCounting()) {
__rcTexture = texture;
}else{
__rcTexture = null;
}
}
private native void setTexture_native_Qt3DRender_QAbstractTexture_ptr(long __this__nativeId, long texture);
/**
* See Qt3DExtras::QAbstractSpriteSheet:: texture()const
* @return
*/
@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);
/**
* See Qt3DExtras::QAbstractSpriteSheet:: textureTransform()const
* @return
*/
@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
.
* @hidden
*/
@NativeAccess
protected QAbstractSpriteSheet(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #currentIndex()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getCurrentIndex() {
return currentIndex();
}
/**
* @hidden
* 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();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #textureTransform()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QMatrix3x3 getTextureTransform() {
return textureTransform();
}
}