mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
d516aab8fa
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
75 lines
2.7 KiB
XML
75 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="BakedLightmap" inherits="VisualInstance" category="Core" version="3.0-stable">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
http://docs.godotengine.org/en/3.0/learning/features/3d/baked_lightmaps.html
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="bake">
|
|
<return type="int" enum="BakedLightmap.BakeError">
|
|
</return>
|
|
<argument index="0" name="from_node" type="Node" default="null">
|
|
</argument>
|
|
<argument index="1" name="create_visual_debug" type="bool" default="false">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="debug_bake">
|
|
<return type="void">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="bake_cell_size" type="float" setter="set_bake_cell_size" getter="get_bake_cell_size">
|
|
</member>
|
|
<member name="bake_energy" type="float" setter="set_energy" getter="get_energy">
|
|
</member>
|
|
<member name="bake_extents" type="Vector3" setter="set_extents" getter="get_extents">
|
|
</member>
|
|
<member name="bake_hdr" type="bool" setter="set_hdr" getter="is_hdr">
|
|
</member>
|
|
<member name="bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="BakedLightmap.BakeMode">
|
|
</member>
|
|
<member name="bake_propagation" type="float" setter="set_propagation" getter="get_propagation">
|
|
</member>
|
|
<member name="bake_quality" type="int" setter="set_bake_quality" getter="get_bake_quality" enum="BakedLightmap.BakeQuality">
|
|
</member>
|
|
<member name="capture_cell_size" type="float" setter="set_capture_cell_size" getter="get_capture_cell_size">
|
|
</member>
|
|
<member name="image_path" type="String" setter="set_image_path" getter="get_image_path">
|
|
</member>
|
|
<member name="light_data" type="BakedLightmapData" setter="set_light_data" getter="get_light_data">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="BAKE_QUALITY_LOW" value="0" enum="BakeQuality">
|
|
</constant>
|
|
<constant name="BAKE_QUALITY_MEDIUM" value="1" enum="BakeQuality">
|
|
</constant>
|
|
<constant name="BAKE_QUALITY_HIGH" value="2" enum="BakeQuality">
|
|
</constant>
|
|
<constant name="BAKE_MODE_CONE_TRACE" value="0" enum="BakeMode">
|
|
</constant>
|
|
<constant name="BAKE_MODE_RAY_TRACE" value="1" enum="BakeMode">
|
|
</constant>
|
|
<constant name="BAKE_ERROR_OK" value="0" enum="BakeError">
|
|
</constant>
|
|
<constant name="BAKE_ERROR_NO_SAVE_PATH" value="1" enum="BakeError">
|
|
</constant>
|
|
<constant name="BAKE_ERROR_NO_MESHES" value="2" enum="BakeError">
|
|
</constant>
|
|
<constant name="BAKE_ERROR_CANT_CREATE_IMAGE" value="3" enum="BakeError">
|
|
</constant>
|
|
<constant name="BAKE_ERROR_USER_ABORTED" value="4" enum="BakeError">
|
|
</constant>
|
|
</constants>
|
|
</class>
|