![JAR search and dependency download from the Maven repository](/logo.png)
io.qt.qt3d.render.QCameraSelector Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Class to allow for selection of camera to be used
* Java wrapper for Qt class Qt3DRender::QCameraSelector
*/
public class QCameraSelector extends io.qt.qt3d.render.QFrameGraphNode
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCameraSelector.class);
/**
* See Qt3DRender::QCameraSelector:: cameraChanged(Qt3DCore::QEntity*)
*/
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="camera")
public final @NonNull Signal1 cameraChanged = new Signal1<>();
/**
* See Qt3DRender::QCameraSelector:: QCameraSelector(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QCameraSelector(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCameraSelector instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QCameraSelector:: camera()const
* @return
*/
@QtPropertyReader(name="camera")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QEntity camera(){
return camera_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.core.QEntity camera_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QCameraSelector:: setCamera(Qt3DCore::QEntity*)
* @param camera
*/
@QtPropertyWriter(name="camera")
@SuppressWarnings({"exports"})
public final void setCamera(io.qt.qt3d.core.@Nullable QEntity camera){
setCamera_native_Qt3DCore_QEntity_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(camera));
}
private native void setCamera_native_Qt3DCore_QEntity_ptr(long __this__nativeId, long camera);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCameraSelector(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCameraSelector(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCameraSelector instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QCameraSelector(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QCameraSelector() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #camera()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QEntity getCamera() {
return camera();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy