Navigation
Unreal Engine C++ API Reference > Plugins > ARUtilities
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UPassthroughMaterialUpdateComponent
References
Module | ARUtilities |
Header | /Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Public/PassthroughMaterialUpdateComponent.h |
Include | #include "PassthroughMaterialUpdateComponent.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;"AR", Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UPassthroughMaterialUpdateComponent : public UActorComponent
Remarks
Helper component that automatically pick the correct passthrough material to use and handles updating the camera texture in the tick.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FLinearColor | PassthroughDebugColor | The debug color used to modulate the passthrough material. |
![]() ![]() ![]() |
TObjectPtr< UMaterialInterface > | PassthroughMaterial | Which material to use for a regular camera texture |
![]() ![]() ![]() |
TObjectPtr< UMaterialInterface > | PassthroughMaterialExternalTexture | Which material to use for an external camera texture |
![]() ![]() ![]() |
EARTextureType | TextureType | Which AR texture to use as the camera texture |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | AddAffectedComponent
(
UPrimitiveComponent* InComponent |
Add a component to be affected by the passthrough rendering |
![]() ![]() ![]() |
void | RemoveAffectedComponent
(
UPrimitiveComponent* InComponent |
Remove the component from passthrough rendering |
![]() ![]() ![]() |
void | SetPassthroughDebugColor
(
FLinearColor NewDebugColor |
Update the passthrough debug color |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |