indigo.shared.scenegraph

Members list

Type members

Classlikes

final case class AmbientLight(color: RGBA) extends Light

Ambient light isn't emitted from anywhere in particular, it is the base amount of illumination. It's important for a dark cave to light enough for your player to appreciate just how dark it really is.

Ambient light isn't emitted from anywhere in particular, it is the base amount of illumination. It's important for a dark cave to light enough for your player to appreciate just how dark it really is.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Light
class Object
trait Matchable
class Any
Show all
object AmbientLight

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SpatialModifiers[T]
class BlankEntity
class Clip[M]
class Graphic[M]
class Group
trait Shape[T]
class Box
class Circle
class Line
class Polygon
class Sprite[M]
class Text[M]
class TextBox
Show all
final case class BlankEntity(size: Size, eventHandlerEnabled: Boolean, eventHandler: ((BlankEntity, GlobalEvent)) => Option[GlobalEvent], shaderData: ShaderData, position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends EntityNode[BlankEntity], Cloneable, SpatialModifiers[BlankEntity]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Cloneable
trait SceneNode
class Object
trait Matchable
class Any
Show all
object BlankEntity

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Blend

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Add
class Darken
class Lighten
class Max
class Min
class Subtract
Show all
object Blend

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Blend.type

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Blending(entity: Blend, layer: Blend, blendMaterial: BlendMaterial, clearColor: Option[RGBA])

Blending instances tell Indigo how to blend the entities onto a layer, and then how to blend the layer onto the layers below it.

Blending instances tell Indigo how to blend the entities onto a layer, and then how to blend the layer onto the layers below it.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Blending

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Blending.type
sealed trait Camera

Parent type of camera instances. Cameras are used to look around your games graphics / levels / scenes.

Parent type of camera instances. Cameras are used to look around your games graphics / levels / scenes.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Fixed
class LookAt
object Camera

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Camera.type
final case class Clip[M <: Material](size: Size, sheet: ClipSheet, playMode: ClipPlayMode, material: M, eventHandlerEnabled: Boolean, eventHandler: ((Clip[_], GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends EntityNode[Clip[M]], Cloneable, SpatialModifiers[Clip[M]]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Cloneable
trait EntityNode[Clip[M]]
trait RenderNode[Clip[M]]
trait SceneNode
class Object
trait Matchable
class Any
Show all
object Clip

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Clip.type

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Loop
class PlayOnce
class PlayCount
object ClipPlayMode

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ClipSheet(frameCount: Int, frameDuration: Seconds, wrapAt: Int, arrangement: ClipSheetArrangement, startOffset: Int)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ClipSheet

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ClipSheet.type

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class CloneBatch(id: CloneId, depth: Depth, cloneData: Batch[CloneBatchData], staticBatchKey: Option[BindingKey]) extends DependentNode[CloneBatch]

Represents many clones of the same clone blank, differentiated only by their transform data.

Represents many clones of the same clone blank, differentiated only by their transform data.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any
Show all
object CloneBatch

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
CloneBatch.type
final case class CloneBatchData(x: Int, y: Int, rotation: Radians, scaleX: Double, scaleY: Double)

Represents the standard allowable transformations of a clone.

Represents the standard allowable transformations of a clone.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class CloneBlank(id: CloneId, cloneable: () => Cloneable, isStatic: Boolean)

Used as the blueprint for any clones that want to copy it.

Used as the blueprint for any clones that want to copy it.

Value parameters

cloneable

The primitive to clone, can be a Shape, Graphic or Sprite, or any custom entity that extends Cloneable

id

The CloneId of this blank

isStatic

Static clone blanks are only processed once and cached. This means that static sprites will never play their animations!

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CloneBlank

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
CloneBlank.type
object CloneId

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CloneId.type
final case class CloneTileData(x: Int, y: Int, rotation: Radians, scaleX: Double, scaleY: Double, cropX: Int, cropY: Int, cropWidth: Int, cropHeight: Int)

Represents the allowable transformations of a tile clone.

Represents the allowable transformations of a tile clone.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CloneTileData

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class CloneTiles(id: CloneId, depth: Depth, cloneData: Batch[CloneTileData], staticBatchKey: Option[BindingKey]) extends DependentNode[CloneTiles]

Represents many clones of the same cloneblank, differentiated by their transform data and which part of the texture it is cropped on.

Represents many clones of the same cloneblank, differentiated by their transform data and which part of the texture it is cropped on.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any
Show all
object CloneTiles

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
CloneTiles.type
trait Cloneable

Used to distingush between cloneable and non-clonable scene graph nodes.

Used to distingush between cloneable and non-clonable scene graph nodes.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BlankEntity
class Clip[M]
class Graphic[M]
trait Shape[T]
class Box
class Circle
class Line
class Polygon
class Sprite[M]
Show all
trait DependentNode[T <: SceneNode] extends SceneNode

DependentNodes are built-in node types where Indigo understands how to build the shader data, and the bounds are dependant on the contents of the node.

DependentNodes are built-in node types where Indigo understands how to build the shader data, and the bounds are dependant on the contents of the node.

Attributes

Companion
object
Supertypes
trait SceneNode
class Object
trait Matchable
class Any
Known subtypes
class CloneBatch
class CloneTiles
class Group
class Mutants
class Sprite[M]
class Text[M]
Show all
object DependentNode

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class DirectionLight(color: RGBA, specular: RGBA, rotation: Radians) extends Light

Direction lights apply light to a scene evenly from a particular direction, as if from a point a very long way away, e.g. the sun.

Direction lights apply light to a scene evenly from a particular direction, as if from a point a very long way away, e.g. the sun.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Light
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait EntityNode[T <: SceneNode] extends RenderNode[T]

EntityNodes can be extended to create custom scene elements.

EntityNodes can be extended to create custom scene elements.

Can be made cloneable by extending Cloneable.

Attributes

Companion
object
Supertypes
trait RenderNode[T]
trait SceneNode
class Object
trait Matchable
class Any
Known subtypes
class BlankEntity
class Clip[M]
object EntityNode

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
EntityNode.type
sealed trait Falloff

Represents different lighting falloff models, also known as attenuation, i.e. how much a light power decays over distance.

Represents different lighting falloff models, also known as attenuation, i.e. how much a light power decays over distance.

Quadratic is the most physically accurate, but possibly least useful for 2D games! All other models are unrealistic, but possibly easier to work with.

Note that "intensity" will feel different in different lighting models. Try smooth with intensity 1 or 2, Linear 5, or Quadratic 500 and compare.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Linear
class None
class Quadratic
class SmoothLinear
object Falloff

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Falloff.type
final case class Graphic[M <: Material](material: M, crop: Rectangle, eventHandlerEnabled: Boolean, eventHandler: ((Graphic[_], GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends RenderNode[Graphic[M]], Cloneable, SpatialModifiers[Graphic[M]]

Graphics are used to draw images on the screen, in a cheap efficient but expressive way. Graphic's party trick is it's ability to crop images.

Graphics are used to draw images on the screen, in a cheap efficient but expressive way. Graphic's party trick is it's ability to crop images.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Cloneable
trait RenderNode[Graphic[M]]
trait SceneNode
class Object
trait Matchable
class Any
Show all
object Graphic

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Graphic.type
final case class Group(children: Batch[SceneNode], eventHandlerEnabled: Boolean, eventHandler: ((Group, GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends DependentNode[Group], SpatialModifiers[Group]

Used to group elements to allow them to be manipulated as a collection.

Used to group elements to allow them to be manipulated as a collection.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any
Show all
object Group

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Group.type
enum Layer

Layers are used to stack collections of renderable elements on top of one another, and then blend them into the rest of the image composited so far. They are very much like layers from photo editing software.

Layers are used to stack collections of renderable elements on top of one another, and then blend them into the rest of the image composited so far. They are very much like layers from photo editing software.

During the scene render, each 'Content' layer in depth order is blended into the one below it, a bit like doing a foldLeft over a list. You can control how the blend is performed to create effects.

Layer stacks are purely an organisational device, and are ignored during rendering.

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Layer

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Layer.type
enum LayerEntry

Layer entries are holders for Layers, that can either be tagged or untagged. If a layer entry is tagged with a BindingKey, then if two SceneUpdateFragements are merged together, two entries will the same tag will be combined at the depth of the original.

Layer entries are holders for Layers, that can either be tagged or untagged. If a layer entry is tagged with a BindingKey, then if two SceneUpdateFragements are merged together, two entries will the same tag will be combined at the depth of the original.

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object LayerEntry

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LayerEntry.type
sealed trait Light

Parent type for all lights

Parent type for all lights

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class Mutants(id: CloneId, depth: Depth, uniformBlocks: Array[Batch[UniformBlock]]) extends DependentNode[Mutants]

Represents many identical clones of the same clone blank, differentiated only by their shader data. Intended for use with custom entities in particular.

Represents many identical clones of the same clone blank, differentiated only by their shader data. Intended for use with custom entities in particular.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any
Show all
object Mutants

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Mutants.type

Scene audio can either be played on a loop, or be silenced.

Scene audio can either be played on a loop, or be silenced.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class PointLight(position: Point, color: RGBA, specular: RGBA, intensity: Double, falloff: Falloff) extends Light

Point lights emit light evenly in all directions from a point in space.

Point lights emit light evenly in all directions from a point in space.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Light
class Object
trait Matchable
class Any
Show all
object PointLight

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
PointLight.type
trait RenderNode[T <: SceneNode] extends SceneNode

RenderNodes are built-in node types that have their own size, and where Indigo understands how to build the shader data.

RenderNodes are built-in node types that have their own size, and where Indigo understands how to build the shader data.

Attributes

Companion
object
Supertypes
trait SceneNode
class Object
trait Matchable
class Any
Known subtypes
trait EntityNode[T]
class BlankEntity
class Clip[M]
class Graphic[M]
trait Shape[T]
class Box
class Circle
class Line
class Polygon
class TextBox
Show all
object RenderNode

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
RenderNode.type
final case class SceneAudio(sourceA: Option[SceneAudioSource], sourceB: Option[SceneAudioSource], sourceC: Option[SceneAudioSource])

Describes what audio is currently being played by the scene as part of a SceneUpdateFragment. Can play up to three audio sources at once.

Describes what audio is currently being played by the scene as part of a SceneUpdateFragment. Can play up to three audio sources at once.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SceneAudio

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SceneAudio.type
final case class SceneAudioSource(bindingKey: BindingKey, playbackPattern: PlaybackPattern, masterVolume: Volume)

Represents a single audio source, how it is being played, and at what volume. You could implement a cross fade between two audio sources.

Represents a single audio source, how it is being played, and at what volume. You could implement a cross fade between two audio sources.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait SceneNode

The parent type of all nodes a user might use or create. Defines the fields needed to draw something onto the screen.

The parent type of all nodes a user might use or create. Defines the fields needed to draw something onto the screen.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DependentNode[T]
class CloneBatch
class CloneTiles
class Group
class Mutants
class Sprite[M]
class Text[M]
trait RenderNode[T]
trait EntityNode[T]
class BlankEntity
class Clip[M]
class Graphic[M]
trait Shape[T]
class Box
class Circle
class Line
class Polygon
class TextBox
Show all
object SceneNode

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
SceneNode.type
final case class SceneUpdateFragment(layers: Batch[LayerEntry], lights: Batch[Light], audio: Option[SceneAudio], blendMaterial: Option[BlendMaterial], cloneBlanks: Batch[CloneBlank], camera: Option[Camera])

A description of what the engine should next present to the player.

A description of what the engine should next present to the player.

SceneUpdateFragments are predicatably composable, so you can make a scene in pieces and then combine them all at the end.

Note that a SceneUpdateFragment represents what is to happen next. It is not a diff. If you remove a sprite from the definition it will not be drawn.

Value parameters

audio

Background audio.

blendMaterial

Optional blend material that describes how to render the scene to the screen.

camera

Scene level camera enabling pan and zoom.

cloneBlanks

A list of elements that will be referenced by clones in the main layers.

layers

The layers game elements are placed on.

lights

Dynamic lights.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Shape[T <: Shape[_]] extends RenderNode[T], Cloneable, SpatialModifiers[T]

Parent type for all Shapes, which are visible elements draw mathematically that require no textures. Shapes are quite versitile and support different fills and stroke effects, even lighting. Due to the way strokes around shapes are drawn, the corners are always rounded.

Parent type for all Shapes, which are visible elements draw mathematically that require no textures. Shapes are quite versitile and support different fills and stroke effects, even lighting. Due to the way strokes around shapes are drawn, the corners are always rounded.

Attributes

Companion
object
Supertypes
trait SpatialModifiers[T]
trait Cloneable
trait RenderNode[T]
trait SceneNode
class Object
trait Matchable
class Any
Show all
Known subtypes
class Box
class Circle
class Line
class Polygon
object Shape

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Shape.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BlankEntity
class Clip[M]
class Graphic[M]
class Group
trait Shape[T]
class Box
class Circle
class Line
class Polygon
class Sprite[M]
class Text[M]
class TextBox
Show all
final case class SpotLight(position: Point, color: RGBA, specular: RGBA, intensity: Double, angle: Radians, rotation: Radians, falloff: Falloff) extends Light

Spot lights emit light like a lamp, they are essentially a point light, where the light is only allow to escape in a particular anglular range.

Spot lights emit light like a lamp, they are essentially a point light, where the light is only allow to escape in a particular anglular range.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Light
class Object
trait Matchable
class Any
Show all
object SpotLight

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SpotLight.type
final case class Sprite[M <: Material](bindingKey: BindingKey, material: M, animationKey: AnimationKey, animationActions: Batch[AnimationAction], eventHandlerEnabled: Boolean, eventHandler: ((Sprite[_], GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends DependentNode[Sprite[M]], Cloneable, SpatialModifiers[Sprite[M]]

Sprites are used to represented key-frame animated screen elements.

Sprites are used to represented key-frame animated screen elements.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Cloneable
trait DependentNode[Sprite[M]]
trait SceneNode
class Object
trait Matchable
class Any
Show all
object Sprite

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Sprite.type
final case class Text[M <: Material](text: String, alignment: TextAlignment, fontKey: FontKey, lineHeight: Int, letterSpacing: Int, material: M, eventHandlerEnabled: Boolean, eventHandler: ((Text[_], GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends DependentNode[Text[M]], SpatialModifiers[Text[M]]

Used to draw text onto the screen based on font sprite sheets (images / textures) and a character mapping instance called FontInfo. Text instances are a bit of work to set up, but give super crisp pixel perfect results.

Used to draw text onto the screen based on font sprite sheets (images / textures) and a character mapping instance called FontInfo. Text instances are a bit of work to set up, but give super crisp pixel perfect results.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait DependentNode[Text[M]]
trait SceneNode
class Object
trait Matchable
class Any
Show all
object Text

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Text.type
final case class TextBox(text: String, style: TextStyle, size: Size, eventHandlerEnabled: Boolean, eventHandler: ((TextBox, GlobalEvent)) => Option[GlobalEvent], position: Point, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip) extends RenderNode[TextBox], SpatialModifiers[TextBox]

Used to draw text on the screen quickly based on a font. Much quicker and eaiser to use that Text, however suffers from all the problems of browser rendered fonts, most notably, you cannot have pixel perfect fonts (fine for mock-ups of HD UI layers perhaps).

Used to draw text on the screen quickly based on a font. Much quicker and eaiser to use that Text, however suffers from all the problems of browser rendered fonts, most notably, you cannot have pixel perfect fonts (fine for mock-ups of HD UI layers perhaps).

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait SceneNode
class Object
trait Matchable
class Any
Show all
object TextBox

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TextBox.type
final case class TextLine(text: String, lineBounds: Rectangle)

Represents a single line of text.

Represents a single line of text.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Zoom

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Zoom.type

Types

opaque type CloneId

A CloneId is used to connect a Clone instance to a CloneBlank.

A CloneId is used to connect a Clone instance to a CloneBlank.

Attributes

opaque type Zoom

Zoom your camera in and out! Behaves like physical camera's zoom, so x2 means "make everything twice as big". Unlike a real camera, you can zoom in or our infinitely!

Zoom your camera in and out! Behaves like physical camera's zoom, so x2 means "make everything twice as big". Unlike a real camera, you can zoom in or our infinitely!

Attributes