Navigation
API > API/Plugins > API/Plugins/DMXPixelMappingRuntime
Allows scripting of Pixel Mapping Component Layouts. Override the Layout function to implement a layout.
Note, layout scripts are applied in parent's unrotated space.
| Name | UDMXPixelMappingLayoutScript |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXPixelMapping/Source/DMXPixelMappingRuntime/Public/LayoutScripts/DMXPixelMappingLayoutScript.h |
| Include Path | #include "LayoutScripts/DMXPixelMappingLayoutScript.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, EditInlineNew, Abstract)
class UDMXPixelMappingLayoutScript : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDMXPixelMappingLayoutScript
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Layout
(
const TArray< FDMXPixelMappingLayoutToken >& InTokens, |
Lays out children of the selection according to OutTokens. | LayoutScripts/DMXPixelMappingLayoutScript.h |
|
virtual void Layout_Implementation
(
const TArray< FDMXPixelMappingLayoutToken >& InTokens, |
LayoutScripts/DMXPixelMappingLayoutScript.h |
|
|
virtual void SetNumTokens
(
int32 NewNumTokens |
Sets the number of Tokens that will be passed when Layout is called | LayoutScripts/DMXPixelMappingLayoutScript.h | |
virtual void SetParentComponentPosition
(
const FVector2D NewPosition |
Sets the position of the parent component where the components that are being layouted reside in. | LayoutScripts/DMXPixelMappingLayoutScript.h | |
virtual void SetParentComponentRotation
(
double NewRotation |
Sets the size of the parent component where the components that are being layouted reside in. | LayoutScripts/DMXPixelMappingLayoutScript.h | |
virtual void SetParentComponentSize
(
const FVector2D& NewSize |
Sets the size of the parent component where the components that are being layouted reside in. | LayoutScripts/DMXPixelMappingLayoutScript.h | |
virtual void SetTextureSize
(
const FVector2D& NewTextureSize |
Sets the Texture Size | LayoutScripts/DMXPixelMappingLayoutScript.h |