AGX Dynamics  2.35.0.1
agxModel::WindAndWaterController::UnitPrimitiveCache Class Reference

#include <WindAndWaterController.h>

Public Member Functions

 UnitPrimitiveCache ()
 
 ~UnitPrimitiveCache ()
 
void garbageCollect ()
 
const agxCollide::Mesh * getOrCreateMesh (const agxCollide::Shape *shape, agx::Vec3 &scale, agxModel::WindAndWaterParameters::ShapeTessellation tessellationLevel) const
 

Static Public Member Functions

static agx::Vec3 findScale (const agxCollide::Shape *shape)
 

Detailed Description

Definition at line 748 of file WindAndWaterController.h.

Constructor & Destructor Documentation

◆ UnitPrimitiveCache()

agxModel::WindAndWaterController::UnitPrimitiveCache::UnitPrimitiveCache ( )

◆ ~UnitPrimitiveCache()

agxModel::WindAndWaterController::UnitPrimitiveCache::~UnitPrimitiveCache ( )

Member Function Documentation

◆ findScale()

static agx::Vec3 agxModel::WindAndWaterController::UnitPrimitiveCache::findScale ( const agxCollide::Shape *  shape)
static

◆ garbageCollect()

void agxModel::WindAndWaterController::UnitPrimitiveCache::garbageCollect ( )

◆ getOrCreateMesh()

const agxCollide::Mesh* agxModel::WindAndWaterController::UnitPrimitiveCache::getOrCreateMesh ( const agxCollide::Shape *  shape,
agx::Vec3 &  scale,
agxModel::WindAndWaterParameters::ShapeTessellation  tessellationLevel 
) const

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