Appearance
Project settings and defaults
Inventory settings
Header: Settings/RicInventorySettings.h. URicInventorySettings is a Game-config developer settings class.
cpp
const URicInventorySettings& Settings = URicInventorySettings::Get();
const float Interval = Settings.TimerTickInterval;Defaults:
bAutoStartGlobalTimer = true.TimerTickInterval = 1.0fseconds.AllowedRotation.bRotation90 = true.AllowedRotation.bRotation180 = true.AllowedRotation.bRotation270 = true.SwapStrategy = URicSwapStrategySwapBoofer.
Use a positive timer interval. Disabling automatic start pauses the server timer; ResumeTimer() can resume it. Client worlds do not run the authoritative inventory timer.
Item rotation fragments provide per-item rotation configuration. Without one, URicStatics::CanRotateItem() uses project settings.
GetSwapStrategyCDO() returns the configured strategy's class default object, with the buffer strategy as fallback. Keep custom strategy state in operation-local variables.
Timer controls
Header: Subsystems/RicGlobalTimeSubsystem.h.
Use PauseTimer(), ResumeTimer(), IsTimerPaused(), and OnTimerTick. Registered inventory tick handlers receive top-level containers on the authoritative timer path.
Pause the timer when your game's inventory simulation should stop. Tick handlers are shared CDOs, so keep per-container state in the inventory or another owned runtime object.
Interaction
Interactor defaults include PointsUpdateInterval = 0.1f. The closest-visible strategy defaults to discovery distance 500, selected-point distance 200, angle 45°, and visibility tracing.
URicInteractionSettings configures DefaultCellSize, initially 500 Unreal units, with an editor minimum of 50. Tune it with point density and typical search radii. Strategy distances are in Unreal units.
Gamepad cursor
Header: RicGamepadCursorSettings.h, module RicInput.
Project settings are Plugins → Ric Gamepad Cursor. Defaults:
- Cursor speed: 1200 screen units per second.
- Dead zone: 0.2.
- Scroll speed: 8 mouse-wheel units per second.
- Invert scroll: false.
- Click button: bottom gamepad face button.
Per-player overrides use SetGamepadCursorSettings(). Sanitization clamps speed to 0–10000, dead zone to 0–0.95, and scroll speed to 0–100. Click requires a digital gamepad key.
The cursor starts disabled. Enable it explicitly while inventory UI is active. Save user preferences through your game's user settings.
Prediction notifications
BroadcastDebounceInterval defaults to 0.05 seconds on inventory prediction. UI should refresh from current state and tolerate deferred/coalesced callbacks.
Preview settings
URicPreviewSubsystem defaults:
InventoryPreviewSpacing = 10000Unreal units.MaxInventoryCapturesPerFrame = 1.
Configure spacing before creating shared entries. Raising capture budget can reduce icon latency but increases per-frame rendering work. Preview actor construction is still synchronous.
Preview distance, FOV, resolution, and ticking are provided per creation call. Cached names reuse their original settings. See Visuals and previews.