Antkeeper  0.0.1
Public Attributes | List of all members
constraint_stack_node_component Struct Reference

Single node in a constraint stack. More...

#include <constraint-stack-component.hpp>

Public Attributes

bool active
 Enables or disables the constraint. More...
 
float weight
 Controls the amount of influence the constraint has on the final result. More...
 
entity::id next
 ID of the entity containing the next constraint in the constraint stack. More...
 

Detailed Description

Single node in a constraint stack.

Allows toggling and weighing of constraints and links to the following constraint stack node (if any).

Definition at line 41 of file constraint-stack-component.hpp.

Member Data Documentation

◆ active

bool constraint_stack_node_component::active

Enables or disables the constraint.

Definition at line 44 of file constraint-stack-component.hpp.

◆ next

entity::id constraint_stack_node_component::next

ID of the entity containing the next constraint in the constraint stack.

Definition at line 50 of file constraint-stack-component.hpp.

◆ weight

float constraint_stack_node_component::weight

Controls the amount of influence the constraint has on the final result.

Definition at line 47 of file constraint-stack-component.hpp.


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