Options
All
  • Public
  • Public/Protected
  • All
Menu

A behavior that forwards the Resizable interface to its object.

Hierarchy

Implements

Index

Methods

  • activate(enable: boolean): void
  • activated(): boolean
  • enableSynchronization(enable: boolean): void
  • getHeight(): number
  • getName(): string
  • getNameId(): number
  • getNetworkSyncData(): BehaviorNetworkSyncData
  • getWidth(): number
  • isSyncedOverNetwork(): boolean
  • onActivate(): void
  • onCreated(): void
  • onDeActivate(): void
  • onDestroy(): void
  • This method is called when the owner of the behavior is being removed from the scene and is about to be destroyed/reused later or when the behavior is removed from an object (can happen in case of hot-reloading only. Otherwise, behaviors are just de-activated, not removed. See onDeActivate).

    Returns void

  • onObjectHotReloaded(): void
  • setHeight(newHeight: number): void
  • setSize(newWidth: number, newHeight: number): void
  • setWidth(newWidth: number): void
  • updateFromBehaviorData(oldBehaviorData: any, newBehaviorData: any): boolean
  • updateFromNetworkSyncData(networkSyncData: BehaviorNetworkSyncData): void
  • usesLifecycleFunction(): boolean

Constructors

Properties

name: string
type: string

Generated using TypeDoc