ZComponent

interface ZComponent : ZRef(source)

Represents a component in the Zernikalos Engine that provides basic initialization and renderability functionalities. This interface is used as a foundation for defining components that interact with a ZRenderingContext.

See also

Inheritors

Properties

Link copied to clipboard
abstract val isInitialized: Boolean

Represents a boolean value indicating whether a component has been initialized.

Link copied to clipboard
abstract val isRenderizable: Boolean

Represents a boolean value indicating whether a component is renderizable.

Link copied to clipboard
abstract val refId: String

Represents the unique identifier for a reference-based component. The refId is used as a distinctive key for retrieving or linking this component within reference-dependent systems.

Functions

Link copied to clipboard
abstract fun initialize(ctx: ZRenderingContext)

Initializes the ZComponent using the provided ZRenderingContext.