Class Image2DLoadFromFile
Constructors
constructor
-
Parameters
-
Optional imageFile: string
-
Optional maskFile: string
Properties
imageFile
imageFile: string
maskFile
maskFile: string
Static _isSharedComp
_isSharedComp: boolean
Static _size
_size: number
Static _view
_view: any
Static cid
cid: number
Methods
Static _dtorFn
-
Parameters
Returns void
Static _fromPtr
-
Parameters
Static _tempHeapPtr
-
Parameters
Returns number
Static _toPtr
-
Parameters
Returns void
Initialize an image from an asset file Once loading has started, the asset loading system will remove this component from the image