All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.qt3d.animation.QAnimationController Maven / Gradle / Ivy

Go to download

The Qt 3D Animation modules provides a set of prebuilt elements to help you get started with Qt 3D.

There is a newer version: 6.7.2
Show newest version
package io.qt.qt3d.animation;

import io.qt.*;


/**
 * 

A controller class for animations

*

Java wrapper for Qt class Qt3DAnimation::QAnimationController

*/ public class QAnimationController extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private java.util.Collection __rcAnimationGroup; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAnimationController.class); /** *

See Qt3DAnimation::QAnimationController::activeAnimationGroupChanged(int)

*/ @QtPropertyNotify(name="activeAnimationGroup") public final @NonNull Signal1 activeAnimationGroupChanged = new Signal1<>(); /** *

See Qt3DAnimation::QAnimationController::entityChanged(Qt3DCore::QEntity*)

*/ @SuppressWarnings({"exports"}) @QtPropertyNotify(name="entity") public final @NonNull Signal1 entityChanged = new Signal1<>(); /** *

See Qt3DAnimation::QAnimationController::positionChanged(float)

*/ @QtPropertyNotify(name="position") public final @NonNull Signal1 positionChanged = new Signal1<>(); /** *

See Qt3DAnimation::QAnimationController::positionOffsetChanged(float)

*/ @QtPropertyNotify(name="positionOffset") public final @NonNull Signal1 positionOffsetChanged = new Signal1<>(); /** *

See Qt3DAnimation::QAnimationController::positionScaleChanged(float)

*/ @QtPropertyNotify(name="positionScale") public final @NonNull Signal1 positionScaleChanged = new Signal1<>(); /** *

See Qt3DAnimation::QAnimationController::recursiveChanged(bool)

*/ @QtPropertyNotify(name="recursive") public final @NonNull Signal1 recursiveChanged = new Signal1<>(); /** *

See Qt3DAnimation::QAnimationController::QAnimationController(QObject*)

*/ public QAnimationController(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QAnimationController instance, io.qt.core.QObject parent); /** *

See Qt3DAnimation::QAnimationController::activeAnimationGroup()const

*/ @QtPropertyReader(name="activeAnimationGroup") @QtUninvokable public final int activeAnimationGroup(){ return activeAnimationGroup_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int activeAnimationGroup_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::addAnimationGroup(Qt3DAnimation::QAnimationGroup*)

*/ @QtUninvokable public final void addAnimationGroup(io.qt.qt3d.animation.@Nullable QAnimationGroup animationGroups){ addAnimationGroup_native_Qt3DAnimation_QAnimationGroup_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(animationGroups)); if (animationGroups != null) { if(__rcAnimationGroup==null) __rcAnimationGroup = QtJambi_LibraryUtilities.internal.newRCList(); __rcAnimationGroup.add(animationGroups); } } @QtUninvokable private native void addAnimationGroup_native_Qt3DAnimation_QAnimationGroup_ptr(long __this__nativeId, long animationGroups); /** *

See Qt3DAnimation::QAnimationController::animationGroupList()

*/ @QtUninvokable public final io.qt.core.@NonNull QVector animationGroupList(){ return animationGroupList_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QVector animationGroupList_native(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::entity()const

*/ @QtPropertyReader(name="entity") @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QEntity entity(){ return entity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.core.QEntity entity_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::getAnimationIndex(QString)const

*/ public final int getAnimationIndex(java.lang.@NonNull String name){ return getAnimationIndex_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } private native int getAnimationIndex_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See Qt3DAnimation::QAnimationController::getGroup(int)const

*/ public final io.qt.qt3d.animation.@Nullable QAnimationGroup getGroup(int index){ return getGroup_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } private native io.qt.qt3d.animation.QAnimationGroup getGroup_native_int_constfct(long __this__nativeId, int index); /** *

See Qt3DAnimation::QAnimationController::position()const

*/ @QtPropertyReader(name="position") @QtUninvokable public final float position(){ return position_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float position_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::positionOffset()const

*/ @QtPropertyReader(name="positionOffset") @QtUninvokable public final float positionOffset(){ return positionOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float positionOffset_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::positionScale()const

*/ @QtPropertyReader(name="positionScale") @QtUninvokable public final float positionScale(){ return positionScale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float positionScale_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::recursive()const

*/ @QtPropertyReader(name="recursive") @QtUninvokable public final boolean recursive(){ return recursive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean recursive_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QAnimationController::removeAnimationGroup(Qt3DAnimation::QAnimationGroup*)

*/ @QtUninvokable public final void removeAnimationGroup(io.qt.qt3d.animation.@Nullable QAnimationGroup animationGroups){ removeAnimationGroup_native_Qt3DAnimation_QAnimationGroup_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(animationGroups)); if (animationGroups != null) { while (__rcAnimationGroup != null && __rcAnimationGroup.remove(animationGroups)) ; } } @QtUninvokable private native void removeAnimationGroup_native_Qt3DAnimation_QAnimationGroup_ptr(long __this__nativeId, long animationGroups); /** *

See Qt3DAnimation::QAnimationController::setActiveAnimationGroup(int)

*/ @QtPropertyWriter(name="activeAnimationGroup") public final void setActiveAnimationGroup(int index){ setActiveAnimationGroup_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index); } private native void setActiveAnimationGroup_native_int(long __this__nativeId, int index); /** *

See Qt3DAnimation::QAnimationController::setAnimationGroups(QVector<Qt3DAnimation::QAnimationGroup*>)

*/ @QtUninvokable public final void setAnimationGroups(java.util.@NonNull Collection animationGroups){ setAnimationGroups_native_cref_QVector(QtJambi_LibraryUtilities.internal.nativeId(this), animationGroups); if(__rcAnimationGroup!=null){ __rcAnimationGroup.clear(); }else{ __rcAnimationGroup = new java.util.ArrayList<>(); } __rcAnimationGroup.addAll(animationGroups); } @QtUninvokable private native void setAnimationGroups_native_cref_QVector(long __this__nativeId, java.util.Collection animationGroups); /** *

See Qt3DAnimation::QAnimationController::setEntity(Qt3DCore::QEntity*)

*/ @QtPropertyWriter(name="entity") @SuppressWarnings({"exports"}) public final void setEntity(io.qt.qt3d.core.@Nullable QEntity entity){ setEntity_native_Qt3DCore_QEntity_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(entity)); } private native void setEntity_native_Qt3DCore_QEntity_ptr(long __this__nativeId, long entity); /** *

See Qt3DAnimation::QAnimationController::setPosition(float)

*/ @QtPropertyWriter(name="position") public final void setPosition(float position){ setPosition_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), position); } private native void setPosition_native_float(long __this__nativeId, float position); /** *

See Qt3DAnimation::QAnimationController::setPositionOffset(float)

*/ @QtPropertyWriter(name="positionOffset") public final void setPositionOffset(float offset){ setPositionOffset_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), offset); } private native void setPositionOffset_native_float(long __this__nativeId, float offset); /** *

See Qt3DAnimation::QAnimationController::setPositionScale(float)

*/ @QtPropertyWriter(name="positionScale") public final void setPositionScale(float scale){ setPositionScale_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), scale); } private native void setPositionScale_native_float(long __this__nativeId, float scale); /** *

See Qt3DAnimation::QAnimationController::setRecursive(bool)

*/ @QtPropertyWriter(name="recursive") public final void setRecursive(boolean recursive){ setRecursive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), recursive); } private native void setRecursive_native_bool(long __this__nativeId, boolean recursive); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAnimationController(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QAnimationController(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAnimationController instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QAnimationController(io.qt.core.QObject)} * with parent = null.

*/ public QAnimationController() { this((io.qt.core.QObject)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #activeAnimationGroup()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getActiveAnimationGroup() { return activeAnimationGroup(); } /** * @hidden *

Kotlin property getter. In Java use {@link #entity()} instead.

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QEntity getEntity() { return entity(); } /** * @hidden *

Kotlin property getter. In Java use {@link #position()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getPosition() { return position(); } /** * @hidden *

Kotlin property getter. In Java use {@link #positionOffset()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getPositionOffset() { return positionOffset(); } /** * @hidden *

Kotlin property getter. In Java use {@link #positionScale()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getPositionScale() { return positionScale(); } /** * @hidden *

Kotlin property getter. In Java use {@link #recursive()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getRecursive() { return recursive(); } }