@kognifai/cogsengine
    Preparing search index...

    Class Image360Component

    Component in Extension Image360

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    debugColors: boolean

    Debugging: Enable colors that show structure of dynamic hierarchy.

    debugDepth: boolean

    Debugging: Enable colors that show depth values.

    disableLodUpdates: boolean

    Debugging: Disable update of dynamic lod calculations.

    drawOrder: number

    Draw order within a render bucke. Useful to control transparency overdraw. This value will be overriden by the material's draworder if that is nonzero.

    gradient: TextureResource

    Gradient texture to colorize scalar values.

    hasDepth: boolean

    Use depth data if data source has depth data.

    isTyped: boolean

    Internal flag set if component is a Cogs Core component.

    Layer mask used to determine visibility for a given camera viewport. The layer mask is combined with that of the camera. The resulting value can then be combined with the result of isVisible() to form a final visibility value.

    objectId: number

    Object identifier passed to rendering commands.

    renderFlags: RenderFlags

    Render flags used to control rendering behavior.

    source: string

    URL of json describing image pyramid.

    subsampling: number
    valueChannel: number

    Which channel to use for color.

    valueDomainMax: number

    Set the source domain for scalar values, see 360.json's bias and scale to account for datatype.

    valueDomainMin: number

    Set the source domain for scalar values, see 360.json's bias and scale to account for datatype.

    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.