UDMXFixtureComponent::GetTextureCenterColors

Reads pixel color in the middle of each "Texture" and output linear colors

Choose your operating system:

Windows

macOS

Linux

References

Module

DMXFixtures

Header

/Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Public/DMXFixtureComponent.h

Include

#include "DMXFixtureComponent.h"

Source

/Engine/Plugins/VirtualProduction/DMX/DMXFixtures/Source/DMXFixtures/Private/DMXFixtureComponent.cpp

Syntax

UFUNCTION(BlueprintCallable, Category="DMX")
TArray< FLinearColor > GetTextureCenterColors
(
    UTexture2D * TextureAtlas,
    int numTextures
)

Remarks

Reads pixel color in the middle of each "Texture" and output linear colors