M3D / M3D / Utility / LoaderMessage
Class: LoaderMessage
Memberof
M3D.Utility
Description
场景的消息
Hierarchy
-
↳
LoaderMessage
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new LoaderMessage(state
, loadType
, scene
, para?
): LoaderMessage
Parameters
Name | Type |
---|---|
state | string |
loadType | string |
scene | Scene |
para? | Map <string , any > |
Returns
Description
构造函数
Overrides
Properties
exception
• exception: any
Inherited from
expired
• expired: boolean
Inherited from
handler
• handler: any
Inherited from
info
• info: string
Inherited from
level
• level: number
Inherited from
loadType
• loadType: string
scene
• scene: Scene
state
• state: string
Inherited from
type
• type: string
Inherited from
Methods
setExpired
▸ setExpired(isExpired
): void
Parameters
Name | Type | Description |
---|---|---|
isExpired | boolean | 是否消息过期 |
Returns
void
Description
设置消息过期