Types

Link copied to clipboard
abstract class ZBaseComponent(internalData: ZComponentData? = null) : ZComponent, ZLoggable

Represents a template for a basic component in Zernikalos. These are used for storing and sharing data

Link copied to clipboard

RENDERER SECTION

Link copied to clipboard
interface ZBindeable
Link copied to clipboard
interface ZComponent : ZRef

Represents a component in Zernikalos.

Link copied to clipboard
abstract class ZComponentData : ZLoggable, ZRef

Represents an abstract base class for data objects associated with components in the Zernikalos Engine.

Link copied to clipboard
Link copied to clipboard
abstract class ZComponentSerializer<T : ZComponent, D : Any> : KSerializer<T>

SERIALIZATION SECTION

Link copied to clipboard
Link copied to clipboard
interface ZRef
Link copied to clipboard
abstract class ZRefComponentSerializer<T : ZComponent, D : ZComponentData, K : ZRefComponentWrapper<D>>(loaderContext: ZLoaderContext) : KSerializer<T>
Link copied to clipboard
Link copied to clipboard
interface ZRenderizable
Link copied to clipboard
Link copied to clipboard
interface ZResizable

An interface for objects that will listen to changes on the viewport dimensions.

Link copied to clipboard
Link copied to clipboard

Represents a viewport box for rendering objects in Zernikalos.

Link copied to clipboard
@Serializable
data class ZViewportData(var clearColor: ZColor = ZColor(.2f, .2f, .2f, 1.0f)) : ZComponentData