summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-03-17 10:38:30 +0200
committerjussi2024-03-17 10:38:30 +0200
commitae1d0b65f16b24f2e0db39cb8baef4af57b2a12f (patch)
tree80358810635da19821bdb38ece2098c2dd48f1ff /API.md
parentca238975dc63d2dddcd2b17ad627bedc95dd158c (diff)
downloadreilua-enhanced-ae1d0b65f16b24f2e0db39cb8baef4af57b2a12f.tar.gz
reilua-enhanced-ae1d0b65f16b24f2e0db39cb8baef4af57b2a12f.tar.bz2
reilua-enhanced-ae1d0b65f16b24f2e0db39cb8baef4af57b2a12f.zip
Round and pubsub lib.
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