Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StaticCubemap

Hierarchy

Index

Constructors

constructor

Properties

Protected _textureId

_textureId: WebGLTexture | null = null

deleted

deleted: AsyncEvent<string> = new AsyncEvent<string>()

id

id: string

isPersistent

isPersistent: boolean = false

name

name: string

nx

nx: AssetReference<Texture2D> = new AssetReference(Texture2D)

ny

ny: AssetReference<Texture2D> = new AssetReference(Texture2D)

nz

nz: AssetReference<Texture2D> = new AssetReference(Texture2D)

px

px: AssetReference<Texture2D> = new AssetReference(Texture2D)

py

py: AssetReference<Texture2D> = new AssetReference(Texture2D)

pz

pz: AssetReference<Texture2D> = new AssetReference(Texture2D)

Optional templatePath

templatePath: undefined | string

Accessors

textureId

  • get textureId(): null | WebGLTexture

version

  • get version(): number

Methods

begin

  • begin(stage: number): boolean

copy

deserialize

destroy

  • destroy(): void

getHeight

  • getHeight(): number

getWidth

  • getWidth(): number

graphicLoad

  • graphicLoad(): boolean

graphicUnload

  • graphicUnload(): void

isA

  • isA<T>(type: object): boolean

isLoaded

  • isLoaded(): boolean

save

  • save(folderPath?: undefined | string): void

serialize

setProperty

setState

upgrade