Navigation
API > API/Plugins > API/Plugins/ARUtilities
Helper component that automatically pick the correct passthrough material to use and handles updating the camera texture in the tick.
| Name | UPassthroughMaterialUpdateComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Public/PassthroughMaterialUpdateComponent.h |
| Include Path | #include "PassthroughMaterialUpdateComponent.h" |
Syntax
UCLASS (BlueprintType, ClassGroup="AR", Meta=(BlueprintSpawnableComponent))
class UPassthroughMaterialUpdateComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UPassthroughMaterialUpdateComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPassthroughMaterialUpdateComponent() |
PassthroughMaterialUpdateComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AffectedComponents | TArray< TObjectPtr< UPrimitiveComponent > > | PassthroughMaterialUpdateComponent.h |
|
|
| PendingComponents | TArray< TObjectPtr< UPrimitiveComponent > > | PassthroughMaterialUpdateComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAffectedComponent
(
UPrimitiveComponent* InComponent |
Add a component to be affected by the passthrough rendering | PassthroughMaterialUpdateComponent.h |
|
void RemoveAffectedComponent
(
UPrimitiveComponent* InComponent |
Remove the component from passthrough rendering | PassthroughMaterialUpdateComponent.h |
|
void SetPassthroughDebugColor
(
FLinearColor NewDebugColor |
Update the passthrough debug color | PassthroughMaterialUpdateComponent.h |
|
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void TickComponent
(
float DeltaTime, |
PassthroughMaterialUpdateComponent.h |