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

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

There is a newer version: 6.7.2
Show newest version
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Specifies the size of rasterized points. May either be set statically or by shader programs

*

Java wrapper for Qt class Qt3DRender::QPointSize

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

Java wrapper for Qt enum Qt3DRender::QPointSize::SizeMode

*/ public enum SizeMode implements QtEnumerator { /** *

Representing Qt3DRender::QPointSize::Fixed

*/ Fixed(0), /** *

Representing Qt3DRender::QPointSize::Programmable

*/ Programmable(1); static { QtJambi_LibraryUtilities.initialize(); } private SizeMode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull SizeMode resolve(int value) { switch (value) { case 0: return Fixed; case 1: return Programmable; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See Qt3DRender::QPointSize::sizeModeChanged(Qt3DRender::QPointSize::SizeMode)

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

See Qt3DRender::QPointSize::valueChanged(float)

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

See Qt3DRender::QPointSize::QPointSize(Qt3DCore::QNode*)

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

See Qt3DRender::QPointSize::setSizeMode(Qt3DRender::QPointSize::SizeMode)

*/ @QtPropertyWriter(name="sizeMode") public final void setSizeMode(io.qt.qt3d.render.QPointSize.@NonNull SizeMode sizeMode){ setSizeMode_native_Qt3DRender_QPointSize_SizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), sizeMode.value()); } private native void setSizeMode_native_Qt3DRender_QPointSize_SizeMode(long __this__nativeId, int sizeMode); /** *

See Qt3DRender::QPointSize::setValue(float)

*/ @QtPropertyWriter(name="value") public final void setValue(float value){ setValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value); } private native void setValue_native_float(long __this__nativeId, float value); /** *

See Qt3DRender::QPointSize::sizeMode()const

*/ @QtPropertyReader(name="sizeMode") @QtUninvokable public final io.qt.qt3d.render.QPointSize.@NonNull SizeMode sizeMode(){ return io.qt.qt3d.render.QPointSize.SizeMode.resolve(sizeMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int sizeMode_native_constfct(long __this__nativeId); /** *

See Qt3DRender::QPointSize::value()const

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

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.qt3d.render.QPointSize.@NonNull SizeMode getSizeMode() { return sizeMode(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getValue() { return value(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy