Navigation
API > API/Plugins > API/Plugins/DMXPixelMappingRuntime
Base class for Pixel Mapping Color Spaces. Note, implementations must be thread-safe.
| Name | UDMXPixelMappingColorSpace |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXPixelMapping/Source/DMXPixelMappingRuntime/Public/ColorSpace/DMXPixelMappingColorSpace.h |
| Include Path | #include "ColorSpace/DMXPixelMappingColorSpace.h" |
Syntax
UCLASS (Abstract)
class UDMXPixelMappingColorSpace : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDMXPixelMappingColorSpace
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDMXPixelMappingColorSpacePostEditChangePropertyDelegate | TMulticastDelegate_OneParam< void, FPropertyChangedEvent & > | ColorSpace/DMXPixelMappingColorSpace.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseWorkingColorSpaceForInput | bool | When checked, uses Unreal Working Color Space for input conversion, otherwise, assumes the input is sRGB | ColorSpace/DMXPixelMappingColorSpace.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributeNameToValueMap | TMap< FDMXAttributeName, float > | Buffer holding results of the conversion | ColorSpace/DMXPixelMappingColorSpace.h | |
| OnPostEditChangeProperty | FDMXPixelMappingColorSpacePostEditChangePropertyDelegate | Event raised Post Edit Change Property | ColorSpace/DMXPixelMappingColorSpace.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TMap< FDMXAttributeName, float > & GetAttributeNameToValueMap() |
Returns the Attribute Name to Value Map of the Color currently set | ColorSpace/DMXPixelMappingColorSpace.h | |
FDMXPixelMappingColorSpacePostEditChangePropertyDelegate & GetOnPostEditChangedProperty() |
Returns a delegate broadcast when a property changed. Useful to handle attribute name changes. | ColorSpace/DMXPixelMappingColorSpace.h | |
void ResetToBlack() |
Resets the color to black, and any luminance to zero | ColorSpace/DMXPixelMappingColorSpace.h | |
virtual void SetRGBA
(
const FLinearColor& InColor |
Sets the RGBA value to be converted to the implemented Color Space | ColorSpace/DMXPixelMappingColorSpace.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearCachedAttributeValues() |
Clears cached Attribtues | ColorSpace/DMXPixelMappingColorSpace.h | |
void SetAttributeValue
(
const FDMXAttributeName& AttributeName, |
Sets an Attribute Value | ColorSpace/DMXPixelMappingColorSpace.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
ColorSpace/DMXPixelMappingColorSpace.h |