@kognifai/cogsengine
    Preparing search index...

    Class RiserTensionerComponent

    Component in Extension Drilling

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bottomOffset: vec3

    Offset of bottom from trajectory position.

    cylinderBaseLength: number

    Length of the cylinder base part (measured from the start of the cylinder).

    cylinderBaseRadius: number

    Radius of the cylinder base.

    cylinderHeadLength: number

    Length of the cylinder head part (measured from the end of the cylinder).

    cylinderHeadRadius: number

    Radius of the cylinder head.

    cylinderInnerRadius: number

    Inner radius of the cylinder.

    cylinderLength: number

    Length of the entire outer cylinder.

    cylinderRadius: number

    Radius of the main part of the outer cylinder.

    endDepth: number

    End depth along trajectory. See TrajectoryComponent Field indexes, Measured Depth (MD)

    isTyped: boolean

    Internal flag set if component is a Cogs Core component.

    rodLength: number

    Length of the rod.

    rodMaterial: Entity

    Rod material.

    rodRadius: number

    Radius of the rod.

    startDepth: number

    Start depth along trajectory. See TrajectoryComponent Field indexes, Measured Depth (MD)

    topOffset: vec3

    Offset of top from trajectory position.

    Accessors

    • get entity(): Entity

      Gets the optional owning entity

      Returns Entity

    • set entity(entity: Entity): 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.