SLProject 4.0.000
SLEntity Struct Reference

SLEntity is the Data Oriented Design version of a SLNode. More...

#include <SLEntities.h>

Public Member Functions

 SLEntity (SLNode *myNode=nullptr)
 

Public Attributes

SLint parentID
 ID of the parent node (-1 of no parent) More...
 
SLuint childCount
 Number of children. More...
 
SLMat4f om
 Object matrix for local transforms. More...
 
SLMat4f wm
 World matrix for world transform. More...
 
SLMat4f wmI
 Inverse world matrix. More...
 
SLNode * node
 Pointer to the corresponding SLNode instance. More...
 

Detailed Description

SLEntity is the Data Oriented Design version of a SLNode.

Constructor & Destructor Documentation

◆ SLEntity()

SLEntity::SLEntity ( SLNode *  myNode = nullptr)
inline

Member Data Documentation

◆ childCount

SLuint SLEntity::childCount

Number of children.

◆ node

SLNode* SLEntity::node

Pointer to the corresponding SLNode instance.

◆ om

SLMat4f SLEntity::om

Object matrix for local transforms.

◆ parentID

SLint SLEntity::parentID

ID of the parent node (-1 of no parent)

◆ wm

SLMat4f SLEntity::wm

World matrix for world transform.

◆ wmI

SLMat4f SLEntity::wmI

Inverse world matrix.


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