Hooks
Hooks provided by the Realistic View module for managing realistic first-person view.
Overview
The Realistic View module adds a first-person view that shows the full body, immersive camera transitions, compatibility with animations, smooth leaning animations, and optional third-person override.. It provides comprehensive hook integration for customizing managing realistic first-person view and extending functionality.
RealisticViewCalcView
đ Purpose
Called during realistic view calculation, allowing modification of the view.
â° When Called
After view calculations are complete, before returning the view.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The local player |
view |
table | The view table with origin, angles, fov, drawviewer |
âŠī¸ Returns
table or nil - Return modified view table or nil to use default
đ Realm
Client
Overview
The Realistic View module adds a first-person view that shows the full body, immersive camera transitions, compatibility with animations, smooth leaning animations, and optional third-person override.. It provides comprehensive hook integration for customizing managing realistic first-person view and extending functionality.
RealisticViewUpdated
đ Purpose
Called when realistic view is updated.
â° When Called
After view calculations are complete but before CalcView hook.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The local player |
view |
table | The calculated view table |
âŠī¸ Returns
nil
đ Realm
Client
Overview
The Realistic View module adds a first-person view that shows the full body, immersive camera transitions, compatibility with animations, smooth leaning animations, and optional third-person override.. It provides comprehensive hook integration for customizing managing realistic first-person view and extending functionality.
ShouldUseRealisticView
đ Purpose
Called to determine if realistic view should be used.
â° When Called
During CalcView when realistic view is enabled.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The local player |
âŠī¸ Returns
boolean - Return false to disable realistic view
đ Realm
Client