new GoProVideoLayer(properties, videoURL, showFrustumopt)
construct a projected layer that will project a three.js onto other loaded geospatial data from the given perspective.
Parameters:Name | Type | Attributes | Default | Description |
---|
properties | Object | | | PropertiesName | Type | Description |
---|
id | String | Number | layer id should be unique | name | String | the name can be anything you want and is intended for labeling |
|
videoURL | String | | | url to a video |
properties.depthTest | Boolean | <optional>
| true | depth test prevents drawing the projected texture behind occluders but the precision is limitted at long distances |
properties.visible | Boolean | <optional>
| true | layer will be rendered if true (true by default) |
showFrustum | Boolean | <optional>
| true | show the projection camera frustum |