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(QList<Qt3DAnimation::QAnimationGroup*>)
*/
@QtUninvokable
public final void setAnimationGroups(java.util.@NonNull Collection extends io.qt.qt3d.animation.@Nullable QAnimationGroup> animationGroups){
setAnimationGroups_native_cref_QList(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_QList(long __this__nativeId, java.util.Collection extends io.qt.qt3d.animation.QAnimationGroup> 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();
}
}