Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class Light : Node3D
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Node3D : Node

Based off of the kool engine implementation.

Link copied to clipboard
abstract class VisualInstance : Node3D

Functions

Link copied to clipboard
inline fun SceneGraph<*>.camera3d(callback: Camera3D.() -> Unit = {}): Camera3D

Adds a Camera3D to the current SceneGraph.root as a child and then triggers the Camera3D

inline fun Node.camera3d(callback: Camera3D.() -> Unit = {}): Camera3D

Adds a Camera3D to the current Node as a child and then triggers the callback

Link copied to clipboard

Adds a DirectionalLight to the current SceneGraph.root as a child and then triggers the DirectionalLight

inline fun Node.directionalLight(callback: DirectionalLight.() -> Unit = {}): DirectionalLight

Adds a DirectionalLight to the current Node as a child and then triggers the callback

Link copied to clipboard
inline fun SceneGraph<*>.meshNode(callback: MeshNode.() -> Unit = {}): MeshNode

Adds a MeshNode to the current SceneGraph.root as a child and then triggers the MeshNode

inline fun Node.meshNode(callback: MeshNode.() -> Unit = {}): MeshNode

Adds a MeshNode to the current Node as a child and then triggers the callback

Link copied to clipboard
inline fun SceneGraph<*>.node3d(callback: Node3D.() -> Unit = {}): Node3D

Adds a Node3D to the current SceneGraph.root as a child and then triggers the Node3D

inline fun Node.node3d(callback: Node3D.() -> Unit = {}): Node3D

Adds a Node3D to the current Node as a child and then triggers the callback