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
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.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
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
-
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.
-