ZBaseComponent

Represents the base class for components in the Zernikalos Engine.

This abstract class provides foundational properties and methods for components, including initialization, unique identification, and extendable internal initialization logic. It serves as a common ancestor for all component types and implements a capability-based system to avoid code duplication.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
override val isInitialized: Boolean

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

Link copied to clipboard
override val isRenderizable: Boolean

Represents a boolean value indicating whether a component is renderizable.

Link copied to clipboard

Indicates whether this component can be serialized.

Link copied to clipboard
override 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
open override fun initialize(ctx: ZRenderingContext)

Initializes the ZComponent using the provided ZRenderingContext.