FrameInstance

Home

A FrameInstance is a render-level object that is used to store all Fragments and Lights that affect the Scene in the current render frame from the camera's point of view.

See also: Light, List, Fragment, Camera

Constructors

FrameInstance(fragments: List<Fragment>, lights: List<Light>, camera: Camera): FrameInstance Initializes with the given attribute values.

Variables

Public Variables

fragments: List<Fragment> A list of all Fragments in the FrameInstance. See also: List, Fragment
lights: List<Light> A list of all Lights in the FrameInstance. See also: List, Light
camera: Camera The Camera object used to render the frame. See also: Camera

Functions

Public Functions

copy(): FrameInstance Returns a copy of the FrameInstance object.

Static Functions

FrameInstance.copy(f: FrameInstance): FrameInstance Returns a copy of the given FrameInstance object.

Home

Copyright © 2020 Trevor Richard