# Class: EnvData
环境数据资源,一般用xr-frame-cli生成。
# Table of contents
# Constructors
# Accessors
- diffuseSH
- hasDiffuse
- hasSpecular
- skyboxMap
- specularMap
- specularMipmapCount
- specularMipmaps
- specularRGBD
- useHalfSkyMap
# Methods
# Constructors
# constructor
• new EnvData(options
)
# Parameters
Name | Type |
---|---|
options | IEnvDataOptions |
# Accessors
# diffuseSH
• get
diffuseSH(): Float32Array
# Returns
Float32Array
# hasDiffuse
• get
hasDiffuse(): boolean
# Returns
boolean
# hasSpecular
• get
hasSpecular(): boolean
# Returns
boolean
# skyboxMap
• get
skyboxMap(): default
# Returns
default
# specularMap
• get
specularMap(): default
# Returns
default
# specularMipmapCount
• get
specularMipmapCount(): number
# Returns
number
# specularMipmaps
• get
specularMipmaps(): boolean
# Returns
boolean
# specularRGBD
• get
specularRGBD(): boolean
# Returns
boolean
# useHalfSkyMap
• get
useHalfSkyMap(): boolean
# Returns
boolean
# Methods
# destroy
▸ destroy(): void
# Returns
void