Navigation
Unreal Engine C++ API Reference > Plugins > DMXPixelMappingRuntime > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDMXPixelMappingBaseComponent
- UDMXPixelMappingOutputComponent
- UDMXPixelMappingFixtureGroupComponent
- UDMXPixelMappingMatrixCellComponent
- UDMXPixelMappingOutputDMXComponent
- UDMXPixelMappingFixtureGroupItemComponent
- UDMXPixelMappingMatrixComponent
- UDMXPixelMappingScreenComponent
- UDMXPixelMappingRendererComponent
- UDMXPixelMappingRootComponent
References
Module | DMXPixelMappingRuntime |
Header | /Engine/Plugins/VirtualProduction/DMX/DMXPixelMapping/Source/DMXPixelMappingRuntime/Public/Components/DMXPixelMappingBaseComponent.h |
Include | #include "Components/DMXPixelMappingBaseComponent.h" |
Syntax
UCLASS&40;BlueprintType, NotBlueprintable, Abstract&41;
class UDMXPixelMappingBaseComponent : public UObject
Remarks
Base class for all DMX Pixel Mapping components.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | bExpanded | |
![]() ![]() |
TArray< TObjectPtr< UDMXPixelMappingBaseComponent > > | Children | Array of children belong to this component |
![]() ![]() |
FString | UserName | Custom user name for the component. Should be used if set. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddChild
(
UDMXPixelMappingBaseComponent* InComponent |
Add a new child componet |
![]() ![]() ![]() |
bool | CanBeMovedTo
(
const UDMXPixelMappingBaseComponent* Component |
Check if a Component can be moved under another one (used for copy/move/duplicate) |
![]() |
void | Remove all children | |
![]() ![]() |
void | ForComponentAndChildren
(
UDMXPixelMappingBaseComponent* Component, |
Recursively loop through all child by given Component and Predicate |
![]() |
void | ForEachChild
(
TFunctionRef< void(UDMXPixelMappingBaseComponent*)> Predicate, |
Loop through all child by given Predicate |
![]() |
void | ForEachChildOfClass
(
TComponentPredicateType< TComponentClass > Predicate, |
Loop through all templated child class by given Predicate |
![]() ![]() |
UDMXPixelMappingBaseComponent * | GetChildAt
(
int32 Index |
Get the child component by the given index. |
![]() |
void | GetChildComponentsRecursively
(
TArray< UDMXPixelMappingBaseComponent* >& Components |
Gathers descendant child Components of a parent Component. |
![]() ![]() |
const TArray< UDMXPixelMappingBaseComponent * > & | GetChildren () |
Get all children to belong to this component |
![]() ![]() |
int32 | Get the number of children components | |
![]() |
TComponentClass * | Looking for the first child by given Class | |
![]() ![]() |
TComponentClass * | GetFirstParentByClass
(
UDMXPixelMappingBaseComponent* InComponent |
Recursively looking for the first parent by given Class |
![]() ![]() |
const FName & | Helper function for generating UObject name, the child should implement their own logic for Prefix name generation. | |
![]() ![]() |
FDMXPixelMappingOnComponentAdded & | Gets an Event broadcast when a component was added | |
![]() ![]() |
FDMXPixelMappingOnComponentRemoved & | Gets an Event broadcast when a component was added | |
![]() ![]() |
FDMXPixelMappingOnComponentRenamed & | Gets an Event broadcast this uobject was renamed. | |
![]() ![]() |
UDMXPixelMappingBaseComponent * | GetParent () |
Returns the parent. May be nullptr when the the component is creating or destroying |
![]() |
UDMXPixelMapping * | Get Pixel Mapping asset UObject | |
![]() |
UDMXPixelMappingRendererComponent * | Get renderer component associated with current component It could be this component itself if this component is root component It could be parent component if that is pixel component It could be nullptr if that is Root component | |
![]() ![]() |
const UDMXPixelMappingRootComponent * | Get root component of the component tree | |
![]() ![]() |
const UDMXPixelMappingRootComponent * | Get the root component and not allow a null option. | |
![]() ![]() ![]() |
FString | GetUserName () |
Returns the name of the component. |
![]() ![]() |
bool | Returns the parent. May be nullptr when the the component is creating or destroying | |
![]() ![]() |
void | Called when the component was added to a parent | |
![]() ![]() |
void | Called when the component was added to a parent | |
![]() ![]() |
void | RemoveChild
(
UDMXPixelMappingBaseComponent* InComponent |
Remove the child component by the given component object. |
![]() ![]() ![]() ![]() |
void | Render () |
Render downsample texture for this component and all children |
![]() ![]() ![]() ![]() |
void | Render downsample texture and send DMX for this component and all children | |
![]() ![]() ![]() ![]() |
void | ResetDMX () |
Reset all sending DMX channels to 0 for this component and all children |
![]() ![]() ![]() ![]() |
void | SendDMX () |
Send DMX values of this component and all children. |
![]() |
void | SetParent
(
const TWeakObjectPtr< UDMXPixelMappingBaseComponent >& NewParent |
Set the components parent |
![]() ![]() |
void | SetUserName
(
const FString& NewName |
Sets the custom user name. If set, GetUserName returns this name. |
![]() ![]() |
bool | Should log properties that were changed in underlying fixture patch or fixture type |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditUndo () |
Called after applying a transaction to the object. |
![]() ![]() |
void | PostRename
(
UObject* OldOuter, |
Called at the end of Rename(), but only if the rename was actually carried out |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
Name | Description |
---|---|
TComponentPredicate | |
TComponentPredicateType |
Constants
Name | Description |
---|---|
OnComponentAdded | Delegate Broadcast when a component was added |
OnComponentRemoved | Delegate Broadcast when a component was removed |
OnComponentRenamed | Delegate Broadcast when a component was renamed |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
TObjectPtr< UDMXPixelMappingBaseComponent > | Parent_DEPRECATED | Parent component |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | ForEachComponentOfClass
(
TComponentPredicateType< TComponentClass > Predicate, |
Use ForEachChildOfClass in favor of a clearer name instead. |
![]() ![]() ![]() |
FString | Renamed GetUserName to be more explicit aobout the intent. The user name is displayed if set, otherwise the object name. |