Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQuick3DInstancing::InstanceTableEntry Struct Reference

#include <qquick3dinstancing.h>

+ Collaboration diagram for QQuick3DInstancing::InstanceTableEntry:

Public Member Functions

QVector3D getPosition () const
 
QVector3D getScale () const
 
QQuaternion getRotation () const
 
QColor getColor () const
 

Public Attributes

QVector4D row0
 
QVector4D row1
 
QVector4D row2
 
QVector4D color
 
QVector4D instanceData
 

Detailed Description

Definition at line 29 of file qquick3dinstancing.h.

Member Function Documentation

◆ getColor()

QColor QQuick3DInstancing::InstanceTableEntry::getColor ( ) const

Definition at line 203 of file qquick3dinstancing.cpp.

References QColor::fromRgbF().

Referenced by InstanceModel::data().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPosition()

QVector3D QQuick3DInstancing::InstanceTableEntry::getPosition ( ) const

Definition at line 172 of file qquick3dinstancing.cpp.

References row0, row1, and row2.

Referenced by InstanceModel::data().

+ Here is the caller graph for this function:

◆ getRotation()

QQuaternion QQuick3DInstancing::InstanceTableEntry::getRotation ( ) const

Definition at line 188 of file qquick3dinstancing.cpp.

References QVector3D::normalized().

Referenced by InstanceModel::data().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getScale()

QVector3D QQuick3DInstancing::InstanceTableEntry::getScale ( ) const

Definition at line 177 of file qquick3dinstancing.cpp.

References QVector3D::length().

Referenced by InstanceModel::data().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ color

QVector4D QQuick3DInstancing::InstanceTableEntry::color

Definition at line 33 of file qquick3dinstancing.h.

◆ instanceData

QVector4D QQuick3DInstancing::InstanceTableEntry::instanceData

Definition at line 34 of file qquick3dinstancing.h.

Referenced by InstanceModel::data().

◆ row0

QVector4D QQuick3DInstancing::InstanceTableEntry::row0

Definition at line 30 of file qquick3dinstancing.h.

Referenced by getPosition().

◆ row1

QVector4D QQuick3DInstancing::InstanceTableEntry::row1

Definition at line 31 of file qquick3dinstancing.h.

Referenced by getPosition().

◆ row2

QVector4D QQuick3DInstancing::InstanceTableEntry::row2

Definition at line 32 of file qquick3dinstancing.h.

Referenced by getPosition().


The documentation for this struct was generated from the following files: