ezEngine Release 26.3
Loading...
Searching...
No Matches
ezCoordinateSystemProvider Class Referenceabstract

Abstract base class for providing coordinate systems at specific world positions. More...

#include <CoordinateSystem.h>

Inheritance diagram for ezCoordinateSystemProvider:

Public Member Functions

 ezCoordinateSystemProvider (const ezWorld *pOwnerWorld)
 
virtual void GetCoordinateSystem (const ezVec3 &vGlobalPosition, ezCoordinateSystem &out_coordinateSystem) const =0
 Returns the coordinate system at the given global position.
 
- Public Member Functions inherited from ezRefCounted
virtual ~ezRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from ezRefCountingImpl
 ezRefCountingImpl ()=default
 Constructor.
 
 ezRefCountingImpl (const ezRefCountingImpl &rhs)
 
void operator= (const ezRefCountingImpl &rhs)
 
ezInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
ezInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
ezInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Attributes

const ezWorldm_pOwnerWorld
 

Friends

class ezWorld
 

Detailed Description

Abstract base class for providing coordinate systems at specific world positions.

Allows defining position-dependent coordinate systems within a world. Derived classes implement GetCoordinateSystem to provide custom coordinate transformations based on world position, enabling features like gravity-aligned coordinate systems or curved spaces.


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