From ae1d0b65f16b24f2e0db39cb8baef4af57b2a12f Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 17 Mar 2024 10:38:30 +0200 Subject: Round and pubsub lib. --- API.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'API.md') 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 -- cgit v1.2.3