Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::GeometryCache Struct Reference

Cached data for generating sample points inside the attached shape. More...

#include <EditorShapeColliderComponent.h>

Public Attributes

float m_height = 1.0f
 Caches height for capsule, cylinder and polygon prism shapes.
 
float m_radius = 1.0f
 Caches radius for capsule, cylinder and sphere shapes.
 
AZ::Vector3 m_boxDimensions = AZ::Vector3::CreateOne()
 Caches dimensions for box shapes.
 
AZStd::vector< AZ::Vector3 > m_cachedSamplePoints
 Stores a cache of points sampled from the shape interior.
 
bool m_cachedSamplePointsDirty = true
 Marks whether the cached sample points need to be recalculated.
 

Detailed Description

Cached data for generating sample points inside the attached shape.


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