Reference Source
import {BCFMode} from 'xeokit-viewer/src/toolbar/BCFMode.js'
public class | source

BCFMode

Extends:

Controller → BCFMode

Manages BCF viewpoints.

Located at Toolbar#bcf.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

Inherited Summary

From class Controller
public

server: *

public

viewer: *

public
public

Destroys this Controller.

public

error(message: String)

Logs an error for this Controller to the JavaScript console.

public

fire(event: String, value: Object, forget: Boolean)

Fires an event on this Controller.

public

Gets whether or not this Controller is active.

public

Gets whether or not this Controller is enabled.

public

Returns true if there exist any subscribers to the given event on this Controller.

public

log(message: String)

Logs a console debugging message for this Controller.

public

off(subId: String)

Cancels an event subscription that was previously made with Controller#on or Controller#once.

public

on(event: String, callback: Function, scope: Object): String

Subscribes to an event on this Controller.

public

once(event: String, callback: Function, scope: Object)

Subscribes to the next occurrence of the given event, then un-subscribes as soon as the event is handled.

public

setActive(active: boolean)

Activates or deactivates this Controller.

public

setEnabled(enabled: boolean)

Enables or disables this Controller.

public

warn(message: String)

Logs a warning for this Controller to the JavaScript console.

Public Constructors

public constructor() source

Public Methods

public clearViewpoints() source

public createViewpoint() source