Documentation
¶
Overview ¶
Package scene provides an implementation of a scene
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scene ¶
type Scene struct { Camera *camera.AnyCamera `json:"camera"` Materials []*materials.AnyMaterial `json:"materials"` Mesh mesh.Mesh `json:"mesh"` MaxDepth int `json:"max_depth"` }
Scene contains all the information for a scene
func LoadFromBytes ¶
LoadFromBytes loads the scene from a gzipped json byte array
func LoadFromFile ¶
LoadFromFile loads the scene from a gzipped json file
Click to show internal directories.
Click to hide internal directories.