Limen Framework 0.1 Help

ULimenBatteryAttribute

Overview

ULimenBatteryAttribute is a subclass of ULimenAttributeBase. It manages the state of a battery, including its current value, maximum value, and recharge rate. The class provides basic initialization and sets default values for these properties.

Properties

Type

Name

Access

Description

float

RechargeRate

Public

Rate at which the battery recharges. Negative value indicates no auto-recharge.

float

MaxValue

Public

Maximum value of the battery.

float

InitialValue

Public

Initial value when the attribute is created.

Functions

Return Type

Signature

Description

void

ULimenBatteryAttribute()

Constructor that initializes the battery attributes with default values.

Usage & Implementation Notes

  • The recharge rate is set to -1.f, indicating no auto-recharge.

  • The maximum value of the battery is set to 100.f.

  • The initial value is set to the maximum value, ensuring the battery starts at full charge.

22 May 2026