unreal.RazerChromaDevicesDeveloperSettings¶
- class unreal.RazerChromaDevicesDeveloperSettings(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DeveloperSettingsProject settings for the Razer Chroma API in Unreal.
C++ Source:
Plugin: RazerChromaDevices
Module: RazerChromaDevices
File: RazerChromaDevicesDeveloperSettings.h
Editor Properties: (see get_editor_property/set_editor_property)
app_info(RazerChromaAppInfo): [Read-Write] Some definitions about your app that is used to initialize Razer Chroma.This info will be used to populate Razer Synapse.
create_razer_chroma_input_device(bool): [Read-Write] If true, then a IInputDevice will be created for Razer Chroma.This Input Device will allow for Razer Chroma to support Input Device Properties such as setting the light color. This is desirable if you would like Razer Chroma to “just work” with any previous implementations of setting a device’s light color that you may have in your project.
If you set this to false, the Razer Chroma function library will still work, but any Input Device Properties will not. see: FRazerChromaInputDevice::SetDeviceProperty
idle_animation_asset(RazerChromaAnimationAsset): [Read-Write] This is the chroma animation file that should play when there are no other animations playing.If this is null then no idle animation will be set on boot
is_razer_chroma_enabled(bool): [Read-Write] If true, Razer Chroma will be enabled.Useful for if you need to “hot fix” Chroma off in case something goes wrong. If this is false, we won’t even load the Razer Chroma.dll file at all or attempt to open any animation files associated with Razer Chroma.
use_chroma_app_info_for_init(bool): [Read-Write] If true, then the razer app will be initialized using the additional “App Data” properties specified below. If this is false, the chroma SDK will be initialized without any additional information like what the name of the application is or what device types it supports.You very likely will want to fill this out for your game.
- property idle_animation_asset: RazerChromaAnimationAsset¶
[Read-Write] This is the chroma animation file that should play when there are no other animations playing.
If this is null then no idle animation will be set on boot
- Type: