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::Node Struct Reference

#include <qssgscenedesc_p.h>

+ Inheritance diagram for QSSGSceneDesc::Node:
+ Collaboration diagram for QSSGSceneDesc::Node:

Public Types

enum class  Type : quint8 {
  Transform , Camera , Model , Texture ,
  Material , Light , Mesh , Skin ,
  Skeleton , Joint , MorphTarget
}
 
using type = QQuick3DNode
 
using RuntimeType = QSSGRenderGraphObject::Type
 
using ChildList = QList<Node *>
 
using PropertyList = QList<Property *>
 

Public Member Functions

 Node (QByteArray name, Node::Type type, Node::RuntimeType rt)
 
 Node (Node::Type type, Node::RuntimeType rt)
 
virtual ~Node ()
 
void cleanupChildren ()
 

Public Attributes

QByteArray name
 
Scenescene = nullptr
 
QObjectobj = nullptr
 
ChildList children
 
PropertyList properties
 
quint16 id = 0
 
RuntimeType runtimeType
 
Type nodeType
 

Detailed Description

Definition at line 135 of file qssgscenedesc_p.h.

Member Typedef Documentation

◆ ChildList

Definition at line 170 of file qssgscenedesc_p.h.

◆ PropertyList

Definition at line 171 of file qssgscenedesc_p.h.

◆ RuntimeType

◆ type

Definition at line 153 of file qssgscenedesc_p.h.

Member Enumeration Documentation

◆ Type

enum class QSSGSceneDesc::Node::Type : quint8
strong
Enumerator
Transform 
Camera 
Model 
Texture 
Material 
Light 
Mesh 
Skin 
Skeleton 
Joint 
MorphTarget 

Definition at line 138 of file qssgscenedesc_p.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

QSSGSceneDesc::Node::Node ( QByteArray name,
Node::Type type,
Node::RuntimeType rt )
inlineexplicit

Definition at line 157 of file qssgscenedesc_p.h.

◆ Node() [2/2]

QSSGSceneDesc::Node::Node ( Node::Type type,
Node::RuntimeType rt )
inlineexplicit

Definition at line 161 of file qssgscenedesc_p.h.

◆ ~Node()

Node< _Tp >::~Node ( )
virtual

Definition at line 104 of file qssgscenedesc.cpp.

Member Function Documentation

◆ cleanupChildren()

void Node< _Tp >::cleanupChildren ( )

Definition at line 106 of file qssgscenedesc.cpp.

Member Data Documentation

◆ children

ChildList QSSGSceneDesc::Node::children

Definition at line 172 of file qssgscenedesc_p.h.

◆ id

quint16 QSSGSceneDesc::Node::id = 0

Definition at line 174 of file qssgscenedesc_p.h.

◆ name

QByteArray QSSGSceneDesc::Node::name

◆ nodeType

Type QSSGSceneDesc::Node::nodeType

Definition at line 176 of file qssgscenedesc_p.h.

◆ obj

QObject* QSSGSceneDesc::Node::obj = nullptr

Definition at line 169 of file qssgscenedesc_p.h.

◆ properties

PropertyList QSSGSceneDesc::Node::properties

Definition at line 173 of file qssgscenedesc_p.h.

◆ runtimeType

RuntimeType QSSGSceneDesc::Node::runtimeType

Definition at line 175 of file qssgscenedesc_p.h.

◆ scene

Scene* QSSGSceneDesc::Node::scene = nullptr

Definition at line 168 of file qssgscenedesc_p.h.


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