Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Raytracer

Hierarchy

Index

Constructors

constructor

Properties

maxBounces

maxBounces: number = 3

reflections

reflections: boolean = true

shadowRadius

shadowRadius: number = 0.6

shadowResolution

shadowResolution: number = 6

shadows

shadows: boolean = true

Accessors

active

  • get active(): boolean
  • set active(active: boolean): void

entity

id

  • get id(): string

parent

  • get parent(): undefined | Entity

projector

target

Methods

copy

deserialize

destroy

  • destroy(): void

isA

  • isA<T>(type: object): boolean

isLoaded

  • isLoaded(): boolean

onReplace

reset

  • reset(): void

restart

  • restart(): void

serialize

setEntity

  • setEntity(entity: Entity): void

setProperty

  • setProperty(name: string, value: any): void

setState

update

  • update(): void

upgrade