Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OwllyPolygonEntity

Hierarchy

Index

Constructors

Properties

context: null | OwllyRenderContext
dataCache: PolygonEntityDataCache
dataNode: null | Polygon
entity: null | Block
id: string
logoMesh: null | Mesh<BufferGeometry, Material | Material[]>
parentId: null | string
selectEntity: null | Block
shape: null | Shape
strokeSegments: null | LineSegments<BufferGeometry, Material | Material[]>

Methods

  • dispose(): void
  • 注销

    Returns void

  • emit(event: string, ...args: any[]): void
  • 事件发送

    Parameters

    • event: string

      事件名

    • Rest ...args: any[]

      参数

    Returns void

  • off(event: string, callback: Function): void
  • 关闭事件

    Parameters

    • event: string

      事件名

    • callback: Function

      回调

    Returns void

  • on(event: string, callback: Function): void
  • 开启事件

    Parameters

    • event: string

      事件名

    • callback: Function

      回调

    Returns void

  • render(): void
  • Returns void

  • resize(): void
  • Returns void

  • updateSelected(selected: boolean): void
  • Parameters

    • selected: boolean

    Returns void