MRImageEntity
MRMediaEntity
MRImageEntity ⇐ Base html image represented in 3D space. mr-image
Kind: global class
Extends: MRMediaEntity
- MRImageEntity ⇐
MRMediaEntity
mrImageEntity.MRImageEntity
Kind: instance class of MRImageEntity
new exports.MRImageEntity()
Constructs a base image entity using a UIPlane and other 3D elements as necessary.
mrImageEntity.connected()
Callback function of MREntity - handles setting up this Image and associated 3D geometry style (from css) once it is connected to run as an entity component.
Kind: instance method of MRImageEntity
mrImageEntity.mutated(mutation)
Callback function of MREntity - Updates the image’s cover,fill,etc based on the mutation request.
Kind: instance method of MRImageEntity
Param | Type | Description |
---|---|---|
mutation | object |
the update/change/mutation to be handled. |