#include <TaggedComponent.h>
Public Member Functions | |
virtual FBoxSphereBounds | CalcBounds (const FTransform &LocalToWorld) const |
virtual FPrimitiveSceneProxy * | CreateSceneProxy () override |
FLinearColor | GetColor () |
virtual void | OnRegister () override |
void | SetColor (FLinearColor color) |
virtual void | TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override |
UTaggedComponent (const FObjectInitializer &ObjectInitializer) | |
Private Member Functions | |
FPrimitiveSceneProxy * | CreateSceneProxy (UStaticMeshComponent *StaticMeshComponent) |
FPrimitiveSceneProxy * | CreateSceneProxy (USkeletalMeshComponent *SkeletalMeshComponent) |
FPrimitiveSceneProxy * | CreateSceneProxy (UHierarchicalInstancedStaticMeshComponent *MeshComponent) |
FPrimitiveSceneProxy * | CreateSceneProxy (UInstancedStaticMeshComponent *MeshComponent) |
Private Attributes | |
bool | bShouldWaitFrame = true |
bool | bSkeletalMesh = false |
FLinearColor | Color |
int | NumFramesToWait = 2 |
UMaterial * | TaggedMaterial |
UMaterialInstanceDynamic * | TaggedMID |
Definition at line 11 of file TaggedComponent.h.
UTaggedComponent::UTaggedComponent | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 11 of file TaggedComponent.cpp.
References TaggedMaterial.
|
virtual |
Definition at line 53 of file TaggedComponent.cpp.
|
overridevirtual |
Definition at line 63 of file TaggedComponent.cpp.
References bSkeletalMesh, and IsValid().
|
private |
Definition at line 102 of file TaggedComponent.cpp.
References TaggedMID.
|
private |
Definition at line 129 of file TaggedComponent.cpp.
References bShouldWaitFrame, and TaggedMID.
|
private |
Definition at line 156 of file TaggedComponent.cpp.
References TaggedMID.
|
private |
Definition at line 177 of file TaggedComponent.cpp.
References TaggedMID.
FLinearColor UTaggedComponent::GetColor | ( | ) |
Definition at line 48 of file TaggedComponent.cpp.
References Color.
|
overridevirtual |
Definition at line 24 of file TaggedComponent.cpp.
References Color, IsValid(), SetColor(), TaggedMaterial, and TaggedMID.
void UTaggedComponent::SetColor | ( | FLinearColor | color | ) |
Definition at line 38 of file TaggedComponent.cpp.
References Color, IsValid(), and TaggedMID.
Referenced by OnRegister(), and ATagger::TagActor().
|
overridevirtual |
Definition at line 197 of file TaggedComponent.cpp.
References bShouldWaitFrame, bSkeletalMesh, and NumFramesToWait.
|
private |
Definition at line 44 of file TaggedComponent.h.
Referenced by CreateSceneProxy(), and TickComponent().
|
private |
Definition at line 36 of file TaggedComponent.h.
Referenced by CreateSceneProxy(), and TickComponent().
|
private |
Definition at line 28 of file TaggedComponent.h.
Referenced by GetColor(), OnRegister(), and SetColor().
|
private |
Definition at line 45 of file TaggedComponent.h.
Referenced by TickComponent().
|
private |
Definition at line 31 of file TaggedComponent.h.
Referenced by OnRegister(), and UTaggedComponent().
|
private |
Definition at line 34 of file TaggedComponent.h.
Referenced by CreateSceneProxy(), OnRegister(), and SetColor().