| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Public/PassthroughMaterialUpdateComponent.h |
Include |
#include "PassthroughMaterialUpdateComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, ClassGroup="AR", Meta=(BlueprintSpawnableComponent))
class UPassthroughMaterialUpdateComponent : public UActorComponent
Helper component that automatically pick the correct passthrough material to use and handles updating the camera texture in the tick.
Name | Description | ||
---|---|---|---|
|
PassthroughDebugColor |
The debug color used to modulate the passthrough material. |
|
|
PassthroughMaterial |
Which material to use for a regular camera texture |
|
|
PassthroughMaterialExternalTexture |
Which material to use for an external camera texture |
|
|
TextureType |
Which AR texture to use as the camera texture |
Name | Description | |
---|---|---|
|
UPassthroughMaterialUpdateComponent() |
Name | Description | ||
---|---|---|---|
|
AddAffectedComponent ( |
Add a component to be affected by the passthrough rendering |
|
|
RemoveAffectedComponent ( |
Remove the component from passthrough rendering |
|
|
SetPassthroughDebugColor ( |
Update the passthrough debug color |
Name | Description | ||
---|---|---|---|
|
TickComponent ( |
Function called every frame on this ActorComponent. |