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

io.qt.qt3d.render.QScreenRayCaster Maven / Gradle / Ivy

package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Performe ray casting test based on screen coordinates

*

Java wrapper for Qt class Qt3DRender::QScreenRayCaster

*/ public class QScreenRayCaster extends io.qt.qt3d.render.QAbstractRayCaster { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScreenRayCaster.class); /** *

See Qt3DRender::QScreenRayCaster::positionChanged(QPoint)

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

See Qt3DRender::QScreenRayCaster::QScreenRayCaster(QNode*)

* @param parent */ @SuppressWarnings({"exports"}) public QScreenRayCaster(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QScreenRayCaster instance, io.qt.qt3d.core.QNode parent); /** *

See Qt3DRender::QScreenRayCaster::pick(QPoint)

* @param position * @return */ public final io.qt.core.@NonNull QList pick(io.qt.core.@NonNull QPoint position){ return pick_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position)); } private native io.qt.core.QList pick_native_cref_QPoint(long __this__nativeId, long position); /** *

See Qt3DRender::QScreenRayCaster::position()const

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

See Qt3DRender::QScreenRayCaster::setPosition(QPoint)

* @param position */ @QtPropertyWriter(name="position") public final void setPosition(io.qt.core.@NonNull QPoint position){ setPosition_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position)); } private native void setPosition_native_cref_QPoint(long __this__nativeId, long position); /** *

See Qt3DRender::QScreenRayCaster::trigger()

*/ public final void trigger(){ trigger_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void trigger_native(long __this__nativeId); /** *

See Qt3DRender::QScreenRayCaster::trigger(QPoint)

* @param position */ public final void trigger(io.qt.core.@NonNull QPoint position){ trigger_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position)); } private native void trigger_native_cref_QPoint(long __this__nativeId, long position); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QScreenRayCaster(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QScreenRayCaster(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QScreenRayCaster instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QScreenRayCaster(io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QScreenRayCaster() { this((io.qt.qt3d.core.QNode)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QPoint getPosition() { return position(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy