Navigation
API > API/Plugins > API/Plugins/DMXPixelMappingRuntime > API/Plugins/DMXPixelMappingRuntime/LayoutScripts
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDMXPixelMappingLayoutScript
References
Module | DMXPixelMappingRuntime |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXPixelMapping/Source/DMXPixelMappingRuntime/Public/LayoutScripts/DMXPixelMappingLayoutScript.h |
Include | #include "LayoutScripts/DMXPixelMappingLayoutScript.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, EditInlineNew, Abstract)
class UDMXPixelMappingLayoutScript : public UObject
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
int32 | NumTokens | The number of tokens in the Layout. |
![]() ![]() ![]() ![]() ![]() |
FVector2D | ParentComponentPosition | The position of the parent component where the components that are being layouted reside in. |
![]() ![]() ![]() ![]() ![]() |
FVector2D | ParentComponentSize | The size of the parent component where the components that are being layouted reside in. |
![]() ![]() ![]() ![]() ![]() |
double | ParentRotation | The rotation of the parent component where the components that are being layouted reside in. |
![]() ![]() ![]() ![]() ![]() |
FVector2D | TextureSize | The size of the texture this component is mapping. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
void | Layout
(
const TArray< FDMXPixelMappingLayoutToken >& InTokens, |
Lays out children of the selection according to OutTokens. |
![]() ![]() ![]() ![]() ![]() |
void | Layout_Implementation
(
const TArray< FDMXPixelMappingLayoutToken >& InTokens, |
|
![]() ![]() |
void | SetNumTokens
(
int32 NewNumTokens |
Sets the number of Tokens that will be passed when Layout is called |
![]() ![]() |
void | SetParentComponentPosition
(
const FVector2D NewPosition |
Sets the position of the parent component where the components that are being layouted reside in. |
![]() ![]() |
void | SetParentComponentRotation
(
double NewRotation |
Sets the size of the parent component where the components that are being layouted reside in. |
![]() ![]() |
void | SetParentComponentSize
(
const FVector2D& NewSize |
Sets the size of the parent component where the components that are being layouted reside in. |
![]() ![]() |
void | SetTextureSize
(
const FVector2D& NewTextureSize |
Sets the Texture Size |