Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LODGroup

Hierarchy

Index

Constructors

constructor

  • new LODGroup(entity: Entity3D): LODGroup

Events

onDeserialized

  • onDeserialized(data: any, context: {}, builtContext: {}): void
  • Parameters

    • data: any
    • context: {}
      • [key: string]: any[]
    • builtContext: {}
      • [key: string]: SmartArray<any>

    Returns void

Properties

Readonly entity

entity: Entity3D

Readonly id

id: number = ...

Readonly isDestroyed

isDestroyed: boolean = false

Readonly isDestroying

isDestroying: boolean = false

Readonly priority

priority: number = ...

Static Priority

Priority: { Align: number; Layout: number; Low: number; Physics: number; Render: number; Tool: number } = ...

Type declaration

  • Align: number
  • Layout: number
  • Low: number
  • Physics: number
  • Render: number
  • Tool: number

Static Optional Serialize

Serialize: (...args: any[]) => any

Type declaration

    • (...args: any[]): any
    • Parameters

      • Rest ...args: any[]

      Returns any

Accessors

active

  • get active(): boolean
  • set active(value: boolean): void
  • Returns boolean

  • Parameters

    • value: boolean

    Returns void

activeInHierarchy

  • get activeInHierarchy(): boolean
  • 在场景树中是否active

    readonly
    memberof

    Component

    Returns boolean

center

  • get center(): ICenter
  • set center(val: ICenter): void
  • Returns ICenter

  • Parameters

    • val: ICenter

    Returns void

lodCount

  • get lodCount(): number
  • set lodCount(val: number): void
  • Returns number

  • Parameters

    • val: number

    Returns void

lodList

  • get lodList(): ILodConfig[]
  • set lodList(val: ILodConfig[]): void
  • Returns ILodConfig[]

  • Parameters

    • val: ILodConfig[]

    Returns void

radius

  • get radius(): number
  • set radius(val: number): void
  • Returns number

  • Parameters

    • val: number

    Returns void

renderer

  • Returns MeshRenderer

  • Parameters

    Returns void

Methods

destroy

  • destroy(): void
  • Returns void

getTypeName

  • getTypeName(): string

isDetached

  • isDetached(): boolean
  • Returns boolean

resetProperties

  • resetProperties(): void

Generated using TypeDoc