QAlphaTest Class

(Qt3DRender::QAlphaTest)

Public Types

enum AlphaFunc { Never, Always, Less, LessOrEqual, ..., NotEqual }

Properties

Public Functions

QAlphaTest(Qt3DCore::QNode *parent = Q_NULLPTR)
~QAlphaTest()
float clamp() const
AlphaFunc func() const

Public Slots

void setClamp(float clamp)
void setFunc(AlphaFunc func)

Signals

void clampChanged(float clamp)
void funcChanged(AlphaFunc func)

Protected Functions

void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Member Type Documentation

enum QAlphaTest::AlphaFunc

Property Documentation

clamp : float

Access functions:

float clamp() const
void setClamp(float clamp)

Notifier signal:

void clampChanged(float clamp)

func : AlphaFunc

Access functions:

AlphaFunc func() const
void setFunc(AlphaFunc func)

Notifier signal:

void funcChanged(AlphaFunc func)

Member Function Documentation

QAlphaTest::QAlphaTest(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QAlphaTest.

QAlphaTest::~QAlphaTest()

Destroys the instance of QAlphaTest.

[protected] void QAlphaTest::copy(const Qt3DCore::QNode *ref)

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.