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

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

The newest version!
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Sets the scale and steps to calculate depth values for polygon offsets

*

Java wrapper for Qt class Qt3DRender::QPolygonOffset

*/ public class QPolygonOffset 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(QPolygonOffset.class); /** *

See Qt3DRender::QPolygonOffset::depthStepsChanged(float)

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

See Qt3DRender::QPolygonOffset::scaleFactorChanged(float)

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

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

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

See Qt3DRender::QPolygonOffset::depthSteps()const

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

See Qt3DRender::QPolygonOffset::scaleFactor()const

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

See Qt3DRender::QPolygonOffset::setDepthSteps(float)

* @param depthSteps */ @QtPropertyWriter(name="depthSteps") public final void setDepthSteps(float depthSteps){ setDepthSteps_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), depthSteps); } private native void setDepthSteps_native_float(long __this__nativeId, float depthSteps); /** *

See Qt3DRender::QPolygonOffset::setScaleFactor(float)

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy