QPlaneGeometryView Class

class Qt3DExtras::QPlaneGeometryView

A square planar mesh. More...

Header: #include <Qt3DExtras/QPlaneGeometryView>
Instantiated By: PlaneGeometryView
Inherits: Qt3DCore::QGeometryView

Properties

Public Functions

virtual ~QPlaneGeometryView()
float height() const
QSize meshResolution() const
bool mirrored() const
float width() const

Public Slots

void setHeight(float height)
void setMeshResolution(const QSize &resolution)
void setMirrored(bool mirrored)
void setWidth(float width)

Signals

void heightChanged(float height)
void meshResolutionChanged(const QSize &meshResolution)
void mirroredChanged(bool mirrored)
void widthChanged(float width)

Detailed Description

* \ingroup qt3d-extras-geometries * * \inmodule Qt3DExtras * * \inherits Qt3DRender::QGeometryRenderer * *

Property Documentation

height : float

Holds the plane height.

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

meshResolution : QSize

Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.

Access functions:

QSize meshResolution() const
void setMeshResolution(const QSize &resolution)

Notifier signal:

void meshResolutionChanged(const QSize &meshResolution)

mirrored : bool

Controls if the UV coordinates of the plane should be flipped vertically.

Access functions:

bool mirrored() const
void setMirrored(bool mirrored)

Notifier signal:

void mirroredChanged(bool mirrored)

width : float

Holds the plane width.

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

Member Function Documentation

[virtual noexcept] QPlaneGeometryView::~QPlaneGeometryView()

\internal