io.qt.qt3d.animation.QClock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-qt3danimation Show documentation
Show all versions of qtjambi-qt3danimation Show documentation
The Qt 3D Animation modules provides a set of prebuilt elements to help you get started with Qt 3D.
package io.qt.qt3d.animation;
import io.qt.*;
/**
* Java wrapper for Qt class Qt3DAnimation::QClock
*/
public class QClock extends io.qt.qt3d.core.QNode
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QClock.class);
/**
* See Qt3DAnimation::QClock:: playbackRateChanged(double)
*/
@QtPropertyNotify(name="playbackRate")
public final @NonNull Signal1 playbackRateChanged = new Signal1<>();
/**
* See Qt3DAnimation::QClock:: QClock(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QClock(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QClock instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DAnimation::QClock:: playbackRate()const
*/
@QtPropertyReader(name="playbackRate")
@QtUninvokable
public final double playbackRate(){
return playbackRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double playbackRate_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QClock:: setPlaybackRate(double)
*/
@QtPropertyWriter(name="playbackRate")
@QtUninvokable
public final void setPlaybackRate(double playbackRate){
setPlaybackRate_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), playbackRate);
}
@QtUninvokable
private native void setPlaybackRate_native_double(long __this__nativeId, double playbackRate);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QClock(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QClock(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QClock instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QClock(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QClock() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #playbackRate()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getPlaybackRate() {
return playbackRate();
}
}