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
/
ScriptObjectLoader
Script
Object
Loader
class
ScriptObjectLoader
(
classLoader
:
ClassLoader
?
=
Thread.currentThread().contextClassLoader
)
(
source
)
Members
Constructors
Script
Object
Loader
Link copied to clipboard
constructor
(
classLoader
:
ClassLoader
?
=
Thread.currentThread().contextClassLoader
)
Properties
engine
Link copied to clipboard
val
engine
:
ScriptEngine
?
Functions
cast
Or
Error
Link copied to clipboard
inline
fun
<
T
>
Any
?
.
castOrError
(
)
:
T
&
Any
load
Link copied to clipboard
inline
fun
<
T
>
load
(
inputStream
:
InputStream
)
:
T
inline
fun
<
T
>
load
(
reader
:
Reader
)
:
T
inline
fun
<
T
>
load
(
script
:
String
)
:
T
load
All
Link copied to clipboard
inline
fun
<
T
>
loadAll
(
vararg
inputStream
:
InputStream
)
:
List
<
T
>
safe
Eval
Link copied to clipboard
fun
<
R
>
safeEval
(
evaluation
:
(
)
->
R
?
)
:
R
?