@kognifai/cogsengine
    Preparing search index...

    Class ReservoirGetCaseInfoComponent

    Component returning information of the Reservoir case opened in the Entity. Note that a rendering is required to fill in the information. Check if dimension field is non zero.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    dimensions: uvec3

    Dimensions of the case I,J,K. Empty before case is initialized and rendered.

    dynamicProperties: string[]

    List of dynamic 3D property names.

    isTyped: boolean

    Internal flag set if component is a Cogs Core component.

    staticProperties: string[]

    List of static 3D property names.

    timestamps: string[]

    List of timestamps in format YYYYMMDDHHMMSS.

    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.