Scenic v0.10.2 Scenic.ViewPort.Config View Source

Helper module for configuring Drivers during startup.

Link to this section Summary

Functions

Test if the config for a ViewPort is valid or not

Test if the config for a ViewPort is valid or not

Link to this section Types

Link to this type

t() View Source
t() :: %Scenic.ViewPort.Config{
  default_scene: name :: atom() | {module :: atom(), any()},
  default_scene_activation: any(),
  drivers: list(),
  max_depth: pos_integer(),
  name: atom(),
  on_close: :stop_viewport | :stop_system | function(),
  opts: [{atom(), any()}],
  size: Scenic.Math.point()
}

Link to this section Functions

Test if the config for a ViewPort is valid or not.

returns :ok or raises an error

Test if the config for a ViewPort is valid or not.

returns true or false