NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::RigidbodyComponent Struct Reference

#include <Components.h>

Public Attributes

RigidbodyType Type = RigidbodyType::Dynamic
float Mass = 1.0f
bool UseGravity = true

Detailed Description

Definition at line 229 of file Components.h.

Member Data Documentation

◆ Mass

float NoJob::RigidbodyComponent::Mass = 1.0f

Definition at line 232 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and NoJob::SceneSerializer::Save().

◆ Type

RigidbodyType NoJob::RigidbodyComponent::Type = RigidbodyType::Dynamic

◆ UseGravity

bool NoJob::RigidbodyComponent::UseGravity = true

Definition at line 233 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and main().


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