Navigation
API > API/Plugins > API/Plugins/RazerChromaDevices
Represents a single ".chroma" Razer animation file that can be played.
| Name | URazerChromaAnimationAsset |
| Type | class |
| Header File | /Engine/Plugins/Experimental/RazerChromaDevices/Source/RazerChromaDevices/Public/RazerChromaAnimationAsset.h |
| Include Path | #include "RazerChromaAnimationAsset.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, HideCategories=(Object),
Meta=(DisplayName="Razer Chroma Asset"))
class URazerChromaAnimationAsset : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URazerChromaAnimationAsset
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetAnimationName () |
The name of this animation that Razer Chroma should consider. | RazerChromaAnimationAsset.h | |
const uint8 * GetAnimByteBuffer () |
The raw byte data imported from the asset factory when reading a .chroma file. | RazerChromaAnimationAsset.h | |
bool ImportFromFile
(
const FString& InFileName, |
Imports the data for this razer chroma asset from the given binary file buffer. | RazerChromaAnimationAsset.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
RazerChromaAnimationAsset.h |