entttree 0.1.0
Hierarchical entity management for EnTT
Loading...
Searching...
No Matches
entttree::LocalTransform< HTag, T, N, XTag > Struct Template Reference

ECS component storing an entity's local (child-to-parent) affine transform. More...

#include <hierarchy_types.h>

Public Member Functions

bool operator== (const LocalTransform &other) const =default
 

Public Attributes

AffineTransform< T, Nchild_to_parent
 Transform from this node's space to its parent's.
 

Detailed Description

template<typename HTag, typename T, size_t N, typename XTag = HTag>
struct entttree::LocalTransform< HTag, T, N, XTag >

ECS component storing an entity's local (child-to-parent) affine transform.

Used by TransformSystem. Entities without this component are treated as having the identity transform.

Template Parameters
HTagTag type identifying the hierarchy.
TScalar type (e.g. double).
NSpatial dimension (e.g. 2 or 3).
XTagOptional transform-layer tag. Defaults to HTag.

Definition at line 59 of file hierarchy_types.h.

Member Data Documentation

◆ child_to_parent

template<typename HTag , typename T , size_t N, typename XTag = HTag>
AffineTransform<T,N> entttree::LocalTransform< HTag, T, N, XTag >::child_to_parent

Transform from this node's space to its parent's.

Definition at line 60 of file hierarchy_types.h.


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