orx
Toggle table of contents
0.5.0-dev.28+293aff4
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
orx
orx-olive
/
org.openrndr.extra.olive
/
Olive
Olive
class
Olive
<
P
:
Program
>
(
val
resources
:
Resources
?
=
null
,
scriptMode
:
ScriptMode
=
ScriptMode.KOTLIN_SCRIPT
)
:
Extension
(
source
)
Members
Constructors
Olive
Link copied to clipboard
constructor
(
resources
:
Resources
?
=
null
,
scriptMode
:
ScriptMode
=
ScriptMode.KOTLIN_SCRIPT
)
Types
Script
Watcher
Link copied to clipboard
class
ScriptWatcher
Properties
enabled
Link copied to clipboard
open
override
var
enabled
:
Boolean
resources
Link copied to clipboard
val
resources
:
Resources
?
script
Link copied to clipboard
var
script
:
String
script
Host
Link copied to clipboard
var
scriptHost
:
OliveScriptHost
script
Loaded
Link copied to clipboard
val
scriptLoaded
:
Event
<
ScriptLoadedEvent
>
session
Link copied to clipboard
var
session
:
Session
?
Functions
after
Draw
Link copied to clipboard
open
fun
afterDraw
(
drawer
:
Drawer
,
program
:
Program
)
before
Draw
Link copied to clipboard
open
fun
beforeDraw
(
drawer
:
Drawer
,
program
:
Program
)
reload
Link copied to clipboard
fun
reload
(
)
reloads the active script
setup
Link copied to clipboard
open
override
fun
setup
(
program
:
Program
)
shutdown
Link copied to clipboard
open
fun
shutdown
(
program
:
Program
)