Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild Struct Reference

Child shape data for compound collision. More...

#include <GltfLoader.h>

Collaboration diagram for Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild:

Public Attributes

std::string name
 Authored child mesh name.
std::vector< glm::vec3 > vertices
 Child collision vertices in child-local space after imported transforms are applied.
std::vector< uint32_t > indices
 Child triangle indices.
std::vector< uint32_t > edgeIndices
 Child edge indices used by collision visualization and hull tooling.
glm::vec3 offset { 0.0f }
 Child local offset relative to the parent collision shape.
glm::quat rotation { glm::identity<glm::quat>() }
 Child local rotation relative to the parent collision shape.

Detailed Description

Child shape data for compound collision.

Definition at line 479 of file GltfLoader.h.

Member Data Documentation

◆ edgeIndices

std::vector<uint32_t> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild::edgeIndices

Child edge indices used by collision visualization and hull tooling.

Definition at line 499 of file GltfLoader.h.

◆ indices

std::vector<uint32_t> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild::indices

Child triangle indices.

Definition at line 494 of file GltfLoader.h.

◆ name

std::string Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild::name

Authored child mesh name.

Definition at line 484 of file GltfLoader.h.

◆ offset

glm::vec3 Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild::offset { 0.0f }

Child local offset relative to the parent collision shape.

Definition at line 504 of file GltfLoader.h.

◆ rotation

glm::quat Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild::rotation { glm::identity<glm::quat>() }

Child local rotation relative to the parent collision shape.

Definition at line 509 of file GltfLoader.h.

◆ vertices

std::vector<glm::vec3> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::CollisionProperties::CompoundChild::vertices

Child collision vertices in child-local space after imported transforms are applied.

Definition at line 489 of file GltfLoader.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Mesh/GltfLoader.h