Open 3D Engine EMotionFX 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.
EMotionFX::Integration::EMotionFXPtr< ObjectType > Class Template Reference

#include <SystemCommon.h>

Public Member Functions

AZ_FORCE_INLINE EMotionFXPtr (ObjectType *object=nullptr)
 
AZ_FORCE_INLINE EMotionFXPtr (const EMotionFXPtr< ObjectType > &rhs)
 
AZ_FORCE_INLINE void reset (ObjectType *object=nullptr)
 
AZ_FORCE_INLINE void operator= (ObjectType *object)
 
AZ_FORCE_INLINE void operator= (const EMotionFXPtr< ObjectType > &rhs)
 
AZ_FORCE_INLINE ObjectType * operator-> () const
 
AZ_FORCE_INLINE ObjectType * get () const
 
AZ_FORCE_INLINE operator bool () const
 
AZ_FORCE_INLINE bool operator== (const EMotionFXPtr< ObjectType > &rhs) const
 
AZ_FORCE_INLINE bool operator== (const ObjectType *rhs) const
 
AZ_FORCE_INLINE bool operator!= (const EMotionFXPtr< ObjectType > &rhs) const
 
AZ_FORCE_INLINE bool operator!= (const ObjectType *rhs) const
 

Static Public Member Functions

static EMotionFXPtr< ObjectType > MakeFromNew (ObjectType *object)
 

Detailed Description

template<typename ObjectType>
class EMotionFX::Integration::EMotionFXPtr< ObjectType >

Intrusive ptr for EMotionFX-owned objects. Uses EMotionFX's internal ref-counting.

Member Function Documentation

◆ MakeFromNew()

template<typename ObjectType >
static EMotionFXPtr< ObjectType > EMotionFX::Integration::EMotionFXPtr< ObjectType >::MakeFromNew ( ObjectType *  object)
inlinestatic

Use only to initialize a new EMotionFXPtr<> given an EMotionFX SDK object not currently owned by an EMotionFXPtr<>. This is generally only appropriate for use when an EMotionFX object has just been constructed.


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