Home Reference Source
public class | source

Mirror

Extends:

shared/AbstractPlugin~AbstractPlugin → Mirror

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public

options: {...defaultOptions: Object, ...undefined: Object}

Method Summary

Public Methods
public

attach()

public

detach()

public

getOptions(): *

public

onMirrorCreated(objectPattern: {"mirror": *, "source": *, "sensorEvent": *}): *

public

onMirrorMove(objectPattern: {"mirror": *, "sensorEvent": *}): *

Public Constructors

public constructor() source

Public Members

public initialX: * source

public initialY: * source

public mirrorOffset: * source

public options: {...defaultOptions: Object, ...undefined: Object} source

Public Methods

public attach() source

public detach() source

public getOptions(): * source

Return:

*

public onMirrorCreated(objectPattern: {"mirror": *, "source": *, "sensorEvent": *}): * source

Params:

NameTypeAttributeDescription
objectPattern {"mirror": *, "source": *, "sensorEvent": *}
  • default: {"mirror":null,"source":null,"sensorEvent":null}

Return:

*

public onMirrorMove(objectPattern: {"mirror": *, "sensorEvent": *}): * source

Params:

NameTypeAttributeDescription
objectPattern {"mirror": *, "sensorEvent": *}
  • default: {"mirror":null,"sensorEvent":null}

Return:

*