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
- Since:
- This class was introduced in Qt 6.6.
-
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) final float []
viewport()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRhiViewport
public QRhiViewport() -
QRhiViewport
See
QRhiViewport::
QRhiViewport(QRhiViewport) - Parameters:
other
-
-
QRhiViewport
public QRhiViewport(float x, float y, float w, float h, float minDepth, float maxDepth) - Parameters:
x
-y
-w
-h
-minDepth
-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
- Returns:
-
minDepth
- Returns:
-
equals
- Parameters:
b
-- Returns:
-
setMaxDepth
- Parameters:
maxDepth
-
-
setMinDepth
- Parameters:
minDepth
-
-
setViewport
- Parameters:
x
-y
-w
-h
-
-
viewport
- Returns:
-
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)
-