summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
Diffstat (limited to 'API.md')
-rw-r--r--API.md22
1 files changed, 21 insertions, 1 deletions
diff --git a/API.md b/API.md
index fcfd5f3..f655d92 100644
--- a/API.md
+++ b/API.md
@@ -273,6 +273,18 @@ ModelAnimation
---
+> AutomationEvent = Userdata
+
+Automation event
+
+---
+
+> AutomationEventList = Userdata
+
+Automation event list
+
+---
+
> Buffer = Buffer userdata
Data buffer for C primitive types. Type should be one of the Buffer types.
@@ -4591,7 +4603,7 @@ Get automation event list count
> event = RL.GetAutomationEvent( AutomationEventList list, int index )
-Get automation event from automation event list
+Get automation event from automation event list. Return as lightuserdata
- Failure return nil
- Success return AutomationEvent
@@ -8077,6 +8089,14 @@ Get current music time played (in seconds)
---
+> result = RL.Round( float value )
+
+Round float value
+
+- Success return float
+
+---
+
> result = RL.Clamp( float value, float min, float max )
Clamp float value