Jungle_Week1_Team2
Loading...
Searching...
No Matches
UActorComponent Class Reference

#include <ActorComponent.h>

Inheritance diagram for UActorComponent:
UObject URandomColorComponent USceneComponent UPrimitiveComponent UCubeComponent USphereComponent

Public Member Functions

 UActorComponent ()
 UActorComponent (UClass *InClass, const FString &InName, UObject *InOuter=nullptr)
 ~UActorComponent () override=default
AActorGetOwner () const
void SetOwner (AActor *InOwner)
bool IsRegistered () const
virtual void OnRegister ()
virtual void OnUnregister ()
virtual void BeginPlay ()
virtual void Tick (float DeltaTime)
bool HasBegunPlay () const
bool CanTick () const
void SetComponentTickEnabled (bool bEnabled)
Public Member Functions inherited from UObject
 UObject (uint32 InUUID, size_t InObjectType)
virtual ~UObject ()=default
 UObject (UClass *InClass, FString InName, UObject *InOuter=nullptr)
void * operator new (size_t InSize)
void operator delete (void *InAddress, std::size_t size)
UClassGetClass () const
const FStringGetName () const
UObjectGetOuter () const
bool IsA (const UClass *InClass) const
template<typename T>
T * GetTypedOuter () const
FString GetPathName () const
bool HasAnyFlags (EObjectFlags InFlags) const
bool HasAllFlags (EObjectFlags InFlags) const
void AddFlags (EObjectFlags InFlags)
void ClearFlags (EObjectFlags InFlags)
void MarkPendingKill ()
bool IsPendingKill () const

Static Public Member Functions

static UClassStaticClass ()
Static Public Member Functions inherited from UObject
static int32 GetTotalBytes ()
static int32 GetTotalCounts ()
static UClassStaticClass ()

Protected Attributes

AActorOwner = nullptr
bool bRegistered = false
bool bBegunPlay = false
bool bCanEverTick = false
bool bTickEnabled = true

Additional Inherited Members

Static Public Attributes inherited from UObject
static int32 TotalAllocationBytes = 0
static int32 TotalAllocationCounts = 0

Constructor & Destructor Documentation

◆ UActorComponent() [1/2]

UActorComponent::UActorComponent ( )
inline

◆ UActorComponent() [2/2]

UActorComponent::UActorComponent ( UClass * InClass,
const FString & InName,
UObject * InOuter = nullptr )
inline

◆ ~UActorComponent()

UActorComponent::~UActorComponent ( )
overridedefault

Member Function Documentation

◆ BeginPlay()

virtual void UActorComponent::BeginPlay ( )
inlinevirtual

Reimplemented in URandomColorComponent.

◆ CanTick()

bool UActorComponent::CanTick ( ) const
inline

◆ GetOwner()

AActor * UActorComponent::GetOwner ( ) const
inline

◆ HasBegunPlay()

bool UActorComponent::HasBegunPlay ( ) const
inline

◆ IsRegistered()

bool UActorComponent::IsRegistered ( ) const
inline

◆ OnRegister()

virtual void UActorComponent::OnRegister ( )
inlinevirtual

◆ OnUnregister()

virtual void UActorComponent::OnUnregister ( )
inlinevirtual

◆ SetComponentTickEnabled()

void UActorComponent::SetComponentTickEnabled ( bool bEnabled)
inline

◆ SetOwner()

void UActorComponent::SetOwner ( AActor * InOwner)
inline

◆ StaticClass()

UClass * UActorComponent::StaticClass ( )
static

◆ Tick()

virtual void UActorComponent::Tick ( float DeltaTime)
inlinevirtual

Reimplemented in URandomColorComponent.

Member Data Documentation

◆ bBegunPlay

bool UActorComponent::bBegunPlay = false
protected

◆ bCanEverTick

bool UActorComponent::bCanEverTick = false
protected

◆ bRegistered

bool UActorComponent::bRegistered = false
protected

◆ bTickEnabled

bool UActorComponent::bTickEnabled = true
protected

◆ Owner

AActor* UActorComponent::Owner = nullptr
protected

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