java.lang.Object
io.qt.QtObject
io.qt.gui.rhi.QRhiViewport
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies a viewport rectangle
Java wrapper for Qt class QRhiViewport
-
Constructor Summary
ConstructorDescriptionQRhiViewport
(float x, float y, float w, float h) Overloaded constructor forQRhiViewport(float, float, float, float, float, float)
QRhiViewport
(float x, float y, float w, float h, float minDepth) Overloaded constructor forQRhiViewport(float, float, float, float, float, float)
withmaxDepth = 1.0f
.QRhiViewport
(float x, float y, float w, float h, float minDepth, float maxDepth) QRhiViewport
(QRhiViewport other) SeeQRhiViewport::
QRhiViewport(QRhiViewport) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QRhiViewport)
.final float
maxDepth()
final float
minDepth()
final void
setMaxDepth
(float maxDepth) final void
setMinDepth
(float minDepth) final void
setViewport
(float x, float y, float w, float h) toString()
Seeoperator<<(QDebug,
QRhiViewport) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRhiViewport
public QRhiViewport() -
QRhiViewport
See
QRhiViewport::
QRhiViewport(QRhiViewport) -
QRhiViewport
public QRhiViewport(float x, float y, float w, float h, float minDepth, float maxDepth) -
QRhiViewport
public QRhiViewport(float x, float y, float w, float h, float minDepth) Overloaded constructor for
QRhiViewport(float, float, float, float, float, float)
withmaxDepth = 1.0f
. -
QRhiViewport
public QRhiViewport(float x, float y, float w, float h) Overloaded constructor for
QRhiViewport(float, float, float, float, float, float)
with:
minDepth = 0.0f
maxDepth = 1.0f
-
-
Method Details
-
maxDepth
-
minDepth
-
equals
-
setMaxDepth
-
setMinDepth
-
setViewport
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QRhiViewport)
. -
toString
See
operator<<(QDebug,
QRhiViewport) -
clone
Creates and returns a copy of this object.
See
QRhiViewport::
QRhiViewport(QRhiViewport)
-