W3cubDocs

/Godot 3.0

BakedLightmap

Inherits: VisualInstance < Spatial < Node < Object

Category: Core

Brief Description

Member Functions

int bake ( Node from_node=null, bool create_visual_debug=false )
void debug_bake ( )

Member Variables

Enums

enum BakeQuality

  • BAKE_QUALITY_LOW = 0
  • BAKE_QUALITY_MEDIUM = 1
  • BAKE_QUALITY_HIGH = 2

enum BakeError

  • BAKE_ERROR_OK = 0
  • BAKE_ERROR_NO_SAVE_PATH = 1
  • BAKE_ERROR_NO_MESHES = 2
  • BAKE_ERROR_CANT_CREATE_IMAGE = 3
  • BAKE_ERROR_USER_ABORTED = 4

enum BakeMode

  • BAKE_MODE_CONE_TRACE = 0
  • BAKE_MODE_RAY_TRACE = 1

Member Function Description

int bake ( Node from_node=null, bool create_visual_debug=false )

void debug_bake ( )

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_bakedlightmap.html