Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface AppAssetsLoader
Link copied to clipboard
Link copied to clipboard
object AppState
Link copied to clipboard
sealed interface AssetReference
Link copied to clipboard
expect object BehaviorLoader
actual object BehaviorLoader
actual object BehaviorLoader
Link copied to clipboard
class CachedEntityComponents<T : Any>(val gameEntity: GameEntity, val componentClass: KClass<T>)
Link copied to clipboard
class CachedProjectComponents<T : Any>(val project: EditorProject, val componentClass: KClass<T>)
Link copied to clipboard
class CachedSceneComponents<T : Any>(val scene: EditorScene, val componentClass: KClass<T>)
Link copied to clipboard
open class DefaultLoader(val pathPrefix: String) : AppAssetsLoader
Link copied to clipboard
interface EditorAwareApp
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class EditorHidden
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class EditorInfo(val label: String = "", val order: Int = 0, val precision: Int = 0)
Link copied to clipboard
class EditorProject(val projectData: ProjectData) : BaseReleasable
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class EditorRange(val minX: Double = Double.NEGATIVE_INFINITY, val minY: Double = Double.NEGATIVE_INFINITY, val minZ: Double = Double.NEGATIVE_INFINITY, val minW: Double = Double.NEGATIVE_INFINITY, val maxX: Double = Double.POSITIVE_INFINITY, val maxY: Double = Double.POSITIVE_INFINITY, val maxZ: Double = Double.POSITIVE_INFINITY, val maxW: Double = Double.POSITIVE_INFINITY)
Link copied to clipboard
class EditorScene(val sceneData: SceneData, val project: EditorProject) : BaseReleasable
Link copied to clipboard
Link copied to clipboard
class GameEntity(val entityData: GameEntityData, val scene: EditorScene)
Link copied to clipboard
Link copied to clipboard
abstract class KoolBehavior
Link copied to clipboard
data class MeshLayoutInfo(val vertexLayout: List<Attribute>, val instanceLayout: List<Attribute>, val primitiveType: PrimitiveType, val numJoints: Int)
Link copied to clipboard
class ProjectReader(srcDir: FileSystemDirectory)
Link copied to clipboard
Link copied to clipboard
class SceneHitTest(val scene: EditorScene)
Link copied to clipboard
class SceneShaderData(val scene: EditorScene, isNotifying: Boolean = true)

Properties

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun AppAssetsLoader.loadBlob(path: String): Result<Uint8Buffer>
Link copied to clipboard
suspend fun AppAssetsLoader.loadBlobOrNull(ref: AssetReference.Blob): Uint8Buffer?
suspend fun AppAssetsLoader.loadBlobOrNull(path: String): Uint8Buffer?
Link copied to clipboard
suspend fun AppAssetsLoader.loadHdri(path: String): Result<EnvironmentMap>
Link copied to clipboard
Link copied to clipboard
suspend fun AppAssetsLoader.loadHdriOrNull(path: String): EnvironmentMap?
Link copied to clipboard
suspend fun AppAssetsLoader.loadHeightmap(path: String): Result<Heightmap>
Link copied to clipboard
Link copied to clipboard
suspend fun AppAssetsLoader.loadModel(path: String): Result<GltfFile>
Link copied to clipboard
suspend fun AppAssetsLoader.loadModelOrNull(path: String): GltfFile?
Link copied to clipboard
suspend fun AppAssetsLoader.loadTexture2d(path: String): Result<Texture2d>
Link copied to clipboard
suspend fun AppAssetsLoader.loadTexture2dOrNull(path: String): Texture2d?
Link copied to clipboard
Link copied to clipboard
suspend fun AppAssetsLoader.requireBlob(ref: AssetReference.Blob): Uint8Buffer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "entitiesToHierarchy")
fun List<GameEntity>.toHierarchy(): List<GameEntityDataHierarchy>