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

io.qt.qt3d.animation.QVertexBlendAnimation 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 class implementing vertex-blend morphing animation

*

Java wrapper for Qt class Qt3DAnimation::QVertexBlendAnimation

*/ public class QVertexBlendAnimation extends io.qt.qt3d.animation.QAbstractAnimation { @QtPropertyMember(enabled=false) private java.util.Collection __rcMorphTarget; @QtPropertyMember(enabled=false) private Object __rcTarget = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QVertexBlendAnimation.class); /** *

See Qt3DAnimation::QVertexBlendAnimation::interpolatorChanged(float)

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

See Qt3DAnimation::QVertexBlendAnimation::targetChanged(Qt3DRender::QGeometryRenderer*)

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

See Qt3DAnimation::QVertexBlendAnimation::targetNameChanged(QString)

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

See Qt3DAnimation::QVertexBlendAnimation::targetPositionsChanged(QVector<float>)

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

See Qt3DAnimation::QVertexBlendAnimation::QVertexBlendAnimation(QObject*)

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

See Qt3DAnimation::QVertexBlendAnimation::addMorphTarget(Qt3DAnimation::QMorphTarget*)

*/ @QtUninvokable public final void addMorphTarget(io.qt.qt3d.animation.@Nullable QMorphTarget target){ addMorphTarget_native_Qt3DAnimation_QMorphTarget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target)); if (target != null) { if(__rcMorphTarget==null) __rcMorphTarget = QtJambi_LibraryUtilities.internal.newRCList(); __rcMorphTarget.add(target); } } @QtUninvokable private native void addMorphTarget_native_Qt3DAnimation_QMorphTarget_ptr(long __this__nativeId, long target); /** *

See Qt3DAnimation::QVertexBlendAnimation::interpolator()const

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

See Qt3DAnimation::QVertexBlendAnimation::morphTargetList()

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

See Qt3DAnimation::QVertexBlendAnimation::removeMorphTarget(Qt3DAnimation::QMorphTarget*)

*/ @QtUninvokable public final void removeMorphTarget(io.qt.qt3d.animation.@Nullable QMorphTarget target){ removeMorphTarget_native_Qt3DAnimation_QMorphTarget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target)); if (target != null) { while (__rcMorphTarget != null && __rcMorphTarget.remove(target)) ; } } @QtUninvokable private native void removeMorphTarget_native_Qt3DAnimation_QMorphTarget_ptr(long __this__nativeId, long target); /** *

See Qt3DAnimation::QVertexBlendAnimation::setMorphTargets(QVector<Qt3DAnimation::QMorphTarget*>)

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

See Qt3DAnimation::QVertexBlendAnimation::setTarget(Qt3DRender::QGeometryRenderer*)

*/ @QtPropertyWriter(name="target") @SuppressWarnings({"exports"}) public final void setTarget(io.qt.qt3d.render.@Nullable QGeometryRenderer target){ setTarget_native_Qt3DRender_QGeometryRenderer_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(target)); __rcTarget = target; } private native void setTarget_native_Qt3DRender_QGeometryRenderer_ptr(long __this__nativeId, long target); /** *

See Qt3DAnimation::QVertexBlendAnimation::setTargetName(QString)

*/ @QtPropertyWriter(name="targetName") public final void setTargetName(java.lang.@NonNull String name){ setTargetName_native_const_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } private native void setTargetName_native_const_QString(long __this__nativeId, java.lang.String name); /** *

See Qt3DAnimation::QVertexBlendAnimation::setTargetPositions(QVector<float>)

*/ @QtPropertyWriter(name="targetPositions") public final void setTargetPositions(java.util.@NonNull Collection targetPositions){ setTargetPositions_native_cref_QVector(QtJambi_LibraryUtilities.internal.nativeId(this), targetPositions); } private native void setTargetPositions_native_cref_QVector(long __this__nativeId, java.util.Collection targetPositions); /** *

See Qt3DAnimation::QVertexBlendAnimation::target()const

*/ @QtPropertyReader(name="target") @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.render.@Nullable QGeometryRenderer target(){ return target_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.render.QGeometryRenderer target_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QVertexBlendAnimation::targetName()const

*/ @QtPropertyReader(name="targetName") @QtUninvokable public final java.lang.@NonNull String targetName(){ return targetName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String targetName_native_constfct(long __this__nativeId); /** *

See Qt3DAnimation::QVertexBlendAnimation::targetPositions()const

*/ @QtPropertyReader(name="targetPositions") @QtUninvokable public final io.qt.core.@NonNull QVector targetPositions(){ return targetPositions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QVector targetPositions_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QVertexBlendAnimation(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QVertexBlendAnimation(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QVertexBlendAnimation instance, QDeclarativeConstructor constructor); /** *

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

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

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

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

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

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.render.@Nullable QGeometryRenderer getTarget() { return target(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getTargetName() { return targetName(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QVector getTargetPositions() { return targetPositions(); } }