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
QSSGSceneDesc::Animation::KeyPosition Struct Reference

#include <qssgscenedesc_p.h>

+ Collaboration diagram for QSSGSceneDesc::Animation::KeyPosition:

Public Types

enum class  KeyType : quint16 { Frame = 0x100 , Time = 0x200 }
 
enum class  ValueType : quint8 {
  Number , Vec2 , Vec3 , Vec4 ,
  Quaternion
}
 

Public Member Functions

ValueType getValueType () const
 
KeyType getKeyType () const
 
QVariant getValue () const
 
QMetaType::Type getValueQMetaType () const
 

Public Attributes

QVector4D value
 
float time = 0.0f
 
quint16 flag = 0
 

Detailed Description

Definition at line 302 of file qssgscenedesc_p.h.

Member Enumeration Documentation

◆ KeyType

Enumerator
Frame 
Time 

Definition at line 304 of file qssgscenedesc_p.h.

◆ ValueType

Enumerator
Number 
Vec2 
Vec3 
Vec4 
Quaternion 

Definition at line 310 of file qssgscenedesc_p.h.

Member Function Documentation

◆ getKeyType()

KeyType QSSGSceneDesc::Animation::KeyPosition::getKeyType ( ) const
inline

Definition at line 320 of file qssgscenedesc_p.h.

References flag.

◆ getValue()

QVariant QSSGSceneDesc::Animation::KeyPosition::getValue ( ) const
inline

Definition at line 321 of file qssgscenedesc_p.h.

References getValueType(), Number, Quaternion, value, Vec2, Vec3, and Vec4.

+ Here is the call graph for this function:

◆ getValueQMetaType()

QMetaType::Type QSSGSceneDesc::Animation::KeyPosition::getValueQMetaType ( ) const
inline

Definition at line 336 of file qssgscenedesc_p.h.

References getValueType(), Number, Quaternion, Vec2, Vec3, and Vec4.

+ Here is the call graph for this function:

◆ getValueType()

ValueType QSSGSceneDesc::Animation::KeyPosition::getValueType ( ) const
inline

Definition at line 319 of file qssgscenedesc_p.h.

References flag.

Referenced by getValue(), and getValueQMetaType().

+ Here is the caller graph for this function:

Member Data Documentation

◆ flag

quint16 QSSGSceneDesc::Animation::KeyPosition::flag = 0

Definition at line 353 of file qssgscenedesc_p.h.

Referenced by getKeyType(), and getValueType().

◆ time

float QSSGSceneDesc::Animation::KeyPosition::time = 0.0f

Definition at line 352 of file qssgscenedesc_p.h.

◆ value

QVector4D QSSGSceneDesc::Animation::KeyPosition::value

Definition at line 351 of file qssgscenedesc_p.h.

Referenced by getValue().


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