UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = (VRExpansionPlugin))
More...
#include <VRRenderTargetManager.h>
|
| UVRRenderTargetManager (const FObjectInitializer &ObjectInitializer) |
|
void | AddLineDrawOperation (FVector2D Point1, FVector2D Point2, FColor Color, int32 Thickness) |
| UFUNCTION(BlueprintCallable, Category = "VRRenderTargetManager|DrawingFunctions")
|
|
void | AddMaterialTrianglesDrawOperation (TArray< FCanvasUVTri > Tris, UMaterial *Material) |
| UFUNCTION(BlueprintCallable, Category = "VRRenderTargetManager|DrawingFunctions")
|
|
void | AddTextureDrawOperation (FVector2D Position, UTexture2D *TextureToDisplay) |
| UFUNCTION(BlueprintCallable, Category = "VRRenderTargetManager|DrawingFunctions")
|
|
virtual void | BeginPlay () override |
|
bool | DeCompressRenderTarget2D () |
|
void | DrawOperation (UCanvas *Canvas, const FRenderManagerOperation &Operation) |
|
void | DrawOperations () |
|
void | DrawPoll () |
| UFUNCTION()
|
|
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
|
bool | GenerateTrisFromBoxPlaneIntersection (UPrimitiveComponent *PrimToBoxCheck, FTransform WorldTransformOfPlane, const FPlane &LocalProjectionPlane, FVector2D PlaneSize, FColor UVColor, TArray< FCanvasUVTri > &OutTris) |
| UFUNCTION(BlueprintCallable, Category = "VRRenderTargetManager|UtilityFunctions")
|
|
void | InitRenderTarget () |
|
void | QueueImageStore () |
|
void | SendDrawOperations (const TArray< FRenderManagerOperation > &RenderOperationStoreList) |
| UFUNCTION(Reliable, NetMultiCast, WithValidation)
|
|
virtual void | TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override |
|
void | UpdateRelevancyMap () |
|
|
bool | bInitiallyReplicateTexture |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
bool | bIsLoadingTextureBuffer |
| UPROPERTY(Transient)
|
|
bool | bIsStoringImage |
| UPROPERTY(Transient)
|
|
FColor | ClearColor |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
FTimerHandle | DrawHandle |
| UPROPERTY()
|
|
float | DrawRate |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
TWeakObjectPtr< ARenderTargetReplicationProxy > | LocalProxy |
| UPROPERTY(Transient)
|
|
TArray< FRenderManagerOperation > | LocalRenderOperationStore |
|
int32 | MaxBytesPerSecondRate |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
TArray< FClientRepData > | NetRelevancyLog |
| UPROPERTY(Transient)
|
|
FTimerHandle | NetRelevancyTimer_Handle |
|
uint32 | OwnerIDCounter |
|
float | PollRelevancyTime |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
TArray< FRenderManagerOperation > | RenderOperationStore |
|
UCanvasRenderTarget2D * | RenderTarget |
| UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "RenderTargetManager")
|
|
int32 | RenderTargetHeight |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
FBPVRReplicatedTextureStore | RenderTargetStore |
| UPROPERTY(Transient)
|
|
int32 | RenderTargetWidth |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
int32 | TextureBlobSize |
| UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
|
|
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = (VRExpansionPlugin))
This class stores reading requests for rendertargets and iterates over them It returns the pixel data at the end of processing It references code from: https://github.com/TimmHess/UnrealImageCapture
Definition at line 396 of file VRRenderTargetManager.h.
◆ UVRRenderTargetManager()
UVRRenderTargetManager::UVRRenderTargetManager |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
◆ AddLineDrawOperation()
void UVRRenderTargetManager::AddLineDrawOperation |
( |
FVector2D | Point1, |
|
|
FVector2D | Point2, |
|
|
FColor | Color, |
|
|
int32 | Thickness ) |
|
BlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRRenderTargetManager|DrawingFunctions")
Definition at line 84 of file VRRenderTargetManager.cpp.
◆ AddMaterialTrianglesDrawOperation()
void UVRRenderTargetManager::AddMaterialTrianglesDrawOperation |
( |
TArray< FCanvasUVTri > | Tris, |
|
|
UMaterial * | Material ) |
|
BlueprintCallable |
◆ AddTextureDrawOperation()
void UVRRenderTargetManager::AddTextureDrawOperation |
( |
FVector2D | Position, |
|
|
UTexture2D * | TextureToDisplay ) |
|
BlueprintCallable |
◆ BeginPlay()
void UVRRenderTargetManager::BeginPlay |
( |
| ) |
|
|
overridevirtual |
◆ DeCompressRenderTarget2D()
bool UVRRenderTargetManager::DeCompressRenderTarget2D |
( |
| ) |
|
◆ DrawOperation()
◆ DrawOperations()
void UVRRenderTargetManager::DrawOperations |
( |
| ) |
|
◆ DrawPoll()
void UVRRenderTargetManager::DrawPoll |
( |
| ) |
|
◆ EndPlay()
void UVRRenderTargetManager::EndPlay |
( |
const EEndPlayReason::Type | EndPlayReason | ) |
|
|
overridevirtual |
◆ GENERATED_BODY()
UVRRenderTargetManager::GENERATED_BODY |
( |
| ) |
|
|
private |
◆ GenerateTrisFromBoxPlaneIntersection()
bool UVRRenderTargetManager::GenerateTrisFromBoxPlaneIntersection |
( |
UPrimitiveComponent * | PrimToBoxCheck, |
|
|
FTransform | WorldTransformOfPlane, |
|
|
const FPlane & | LocalProjectionPlane, |
|
|
FVector2D | PlaneSize, |
|
|
FColor | UVColor, |
|
|
TArray< FCanvasUVTri > & | OutTris ) |
|
BlueprintCallable |
◆ InitRenderTarget()
void UVRRenderTargetManager::InitRenderTarget |
( |
| ) |
|
◆ QueueImageStore()
void UVRRenderTargetManager::QueueImageStore |
( |
| ) |
|
◆ SendDrawOperations()
void UVRRenderTargetManager::SendDrawOperations |
( |
const TArray< FRenderManagerOperation > & | RenderOperationStoreList | ) |
|
|
WithValidationNetMultiCastReliable |
UFUNCTION(Reliable, NetMultiCast, WithValidation)
◆ TickComponent()
void UVRRenderTargetManager::TickComponent |
( |
float | DeltaTime, |
|
|
enum ELevelTick | TickType, |
|
|
FActorComponentTickFunction * | ThisTickFunction ) |
|
overridevirtual |
◆ UpdateRelevancyMap()
void UVRRenderTargetManager::UpdateRelevancyMap |
( |
| ) |
|
◆ bInitiallyReplicateTexture
bool UVRRenderTargetManager::bInitiallyReplicateTexture |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 475 of file VRRenderTargetManager.h.
◆ bIsLoadingTextureBuffer
bool UVRRenderTargetManager::bIsLoadingTextureBuffer |
|
Transient |
◆ bIsStoringImage
bool UVRRenderTargetManager::bIsStoringImage |
|
Transient |
◆ ClearColor
FColor UVRRenderTargetManager::ClearColor |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 528 of file VRRenderTargetManager.h.
◆ DrawHandle
FTimerHandle UVRRenderTargetManager::DrawHandle |
◆ DrawRate
float UVRRenderTargetManager::DrawRate |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 421 of file VRRenderTargetManager.h.
◆ LocalProxy
◆ LocalRenderOperationStore
◆ MaxBytesPerSecondRate
int32 UVRRenderTargetManager::MaxBytesPerSecondRate |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 500 of file VRRenderTargetManager.h.
◆ NetRelevancyLog
◆ NetRelevancyTimer_Handle
FTimerHandle UVRRenderTargetManager::NetRelevancyTimer_Handle |
◆ OwnerIDCounter
uint32 UVRRenderTargetManager::OwnerIDCounter |
◆ PollRelevancyTime
float UVRRenderTargetManager::PollRelevancyTime |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 542 of file VRRenderTargetManager.h.
◆ RenderDataQueue
◆ RenderOperationStore
◆ RenderTarget
UCanvasRenderTarget2D* UVRRenderTargetManager::RenderTarget |
|
BlueprintReadOnlyVisibleAnywhere |
UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "RenderTargetManager")
Definition at line 507 of file VRRenderTargetManager.h.
◆ RenderTargetHeight
int32 UVRRenderTargetManager::RenderTargetHeight |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 521 of file VRRenderTargetManager.h.
◆ RenderTargetStore
◆ RenderTargetWidth
int32 UVRRenderTargetManager::RenderTargetWidth |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 514 of file VRRenderTargetManager.h.
◆ TextureBlobSize
int32 UVRRenderTargetManager::TextureBlobSize |
|
EditAnywhereBlueprintReadWrite |
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "RenderTargetManager")
Definition at line 489 of file VRRenderTargetManager.h.
The documentation for this class was generated from the following files:
- SDKDemo/Plugins/UnrealEngineSDK/VRExpansionPlugin/VRExpansionPlugin/Source/VRExpansionPlugin/Public/Misc/VRRenderTargetManager.h
- SDKDemo/Plugins/UnrealEngineSDK/VRExpansionPlugin/VRExpansionPlugin/Source/VRExpansionPlugin/Private/Misc/VRRenderTargetManager.cpp