Navigation
Unreal Engine C++ API Reference > Plugins > ARUtilities
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UARUtilitiesFunctionLibrary
References
Module | ARUtilities |
Header | /Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Public/ARUtilitiesFunctionLibrary.h |
Include | #include "ARUtilitiesFunctionLibrary.h" |
Syntax
UCLASS&40;&41;
class UARUtilitiesFunctionLibrary : public UBlueprintFunctionLibrary
Functions
Type | Name | Description | |
---|---|---|---|
void | GetPassthroughCameraUVs
(
TArray< FVector2D >& OutUVs, |
Fill out quad vertices in OutUVs using the specified UV offset | |
FVector2D | GetUVOffset
(
const FVector2D& ViewSize, |
Return the UV offset by trying to fit a specific texture size onto the view (cropping) | |
void | UpdateCameraTextureParam
(
UMaterialInstanceDynamic* MaterialInstance, |
Update material texture parameter using pre-defined names: For regular texture: CameraTexture For external texture: ExternalCameraTexture | |
void | UpdateSceneDepthTexture
(
UMaterialInstanceDynamic* MaterialInstance, |
Update material texture parameter using pre-defined names: Scene depth texture: SceneDepthTexture Depth to meter scale: DepthToMeterScale | |
void | UpdateWorldToMeterScale
(
UMaterialInstanceDynamic* MaterialInstance, |
Update material texture parameter using pre-defined names: World to meter scale: WorldToMeterScale |