Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::physics_compound_shape Struct Reference

Represents a compound shape that can contain multiple types of shapes. More...

#include <physics_component.h>

Public Types

using shape_t
 

Public Attributes

shape_t shape
 The shape contained in the compound shape.
 

Friends

auto operator== (const physics_compound_shape &lhs, const physics_compound_shape &rhs) -> bool=default
 

Detailed Description

Represents a compound shape that can contain multiple types of shapes.

Definition at line 70 of file physics_component.h.

Member Typedef Documentation

◆ shape_t

Initial value:
hpp::variant<physics_box_shape, physics_sphere_shape, physics_capsule_shape, physics_cylinder_shape>

Definition at line 74 of file physics_component.h.

Friends And Related Symbol Documentation

◆ operator==

auto operator== ( const physics_compound_shape & lhs,
const physics_compound_shape & rhs ) -> bool=default
friend

Member Data Documentation

◆ shape

shape_t unravel::physics_compound_shape::shape

The shape contained in the compound shape.

Definition at line 77 of file physics_component.h.


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