Class ScriptFunction¶
Namespace: Apogee.Reflection
Assembly: Apogee.Reflection.dll
A function a script handed to the engine (a callback, a system). The scripting layer implements it.
public abstract class ScriptFunction
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods¶
Call(ReadOnlySpan<Value>, Span<Value>)¶
Calls the function; returns how many results it wrote to results. A script error is a
public abstract int Call(ReadOnlySpan<Value> arguments, Span<Value> results)
Parameters¶
arguments ReadOnlySpan<Value>