Struct SceneFileObjectSpec#
Defined in File SceneFileObjectSpec.h
Struct Documentation#
-
struct SceneFileObjectSpec#
Info to create and initialize a SceneFileObject.
Public Functions
-
bool operator==(const SceneFileObjectSpec&) const = default#
Equality operator.
- Returns:
true if the two SceneFileObjectSpecs are the same, false otherwise.
Public Members
-
std::string name = "unnamed"#
name of the part
-
std::filesystem::path filepath = ""#
filepath of the scene object
-
float scale = 1.0#
relative scale of the file object
-
Karana::Scene::layer_t layers = LAYER_PHYSICAL#
bitmask for which layers the part belongs to
-
bool is_convex = false#
whether the file’s shapes are all convex
-
bool operator==(const SceneFileObjectSpec&) const = default#