Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 303 of file qssgscenedesc_p.h.

Member Enumeration Documentation

◆ KeyType

Enumerator
Frame 
Time 

Definition at line 305 of file qssgscenedesc_p.h.

◆ ValueType

Enumerator
Number 
Vec2 
Vec3 
Vec4 
Quaternion 

Definition at line 311 of file qssgscenedesc_p.h.

Member Function Documentation

◆ getKeyType()

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

Definition at line 321 of file qssgscenedesc_p.h.

◆ getValue()

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

Definition at line 322 of file qssgscenedesc_p.h.

References getValueType().

Here is the call graph for this function:

◆ getValueQMetaType()

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

Definition at line 337 of file qssgscenedesc_p.h.

◆ getValueType()

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

Definition at line 320 of file qssgscenedesc_p.h.

Referenced by getValue().

Here is the caller graph for this function:

Member Data Documentation

◆ flag

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

Definition at line 354 of file qssgscenedesc_p.h.

◆ time

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

Definition at line 353 of file qssgscenedesc_p.h.

◆ value

QVector4D QSSGSceneDesc::Animation::KeyPosition::value

Definition at line 352 of file qssgscenedesc_p.h.


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