@kognifai/cogsengine
    Preparing search index...

    Class RadialLogComponent

    Component in Extension Drilling

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    azimuths: BufferViewFloat32 | null

    Clockwise rotation from grid north in radians, per sample.

    colors: BufferViewFloat32 | null

    One color per radius value, only used if set.

    gradient: BufferViewFloat32 | null

    Color gradient. Always required for now.

    high_side_color: vec4

    Color for drawing high side indicator.

    high_side_index: number

    Index of sector to use for finding radius.

    high_side_size: number

    Height of high side indicator.

    inclinations: BufferViewFloat32 | null

    Positive values interpreted as down, per sample.

    indexes: BufferViewFloat32 | null

    Measured depth per sample.

    isTyped: boolean = false

    Internal flag set if component is a Cogs Core component.

    normalize_range: boolean

    Automatically use min/max radius (from buffer) with gradient.

    positions: BufferViewFloat32 | null

    Center position for each sample.

    r_max: number

    Manual max radius for gradient. Radius get clamped if higher.

    r_min: number

    Manual min radius for gradient. Radius get clamped if lower.

    radiuses: BufferViewFloat32 | null

    One radius per sector (sectors = radiuses/samples). Clockwise order from top/high side when looking down the trajectory.

    Accessors

    • get entity(): Entity | null

      Gets the optional owning entity

      Returns Entity | null

    • set entity(entity: Entity | null): void

      Internal: set owning entity.

      Parameters

      Returns void

    • get name(): string

      Component name == type. For compatibility

      Returns string

    • get type(): string

      Gets the type of the component. Ex. "TransformComponent", "SceneComponent" etc.

      Returns string

    Methods

    • Internal: Creates a new component of the given type (name). Component is wrapped when adding to an entity.

      Parameters

      • type: string

        Type of the component. Ex. "TransformComponent"

      Returns Component

      Created Cogs.js component.

    • Internal: Creates a new component being wrapped as an existing member of the entity

      Parameters

      • type: string

        Type of the component. Ex. "TransformComponent"

      • entity: Entity

        The owning entity

      Returns Component

      Created Cogs.js component.