Path: blob/master/modules/gltf/doc_classes/GLTFAnimation.xml
10278 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="GLTFAnimation" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3</brief_description>4<description>5</description>6<tutorials>7<link title="Runtime file loading and saving">$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link>8</tutorials>9<methods>10<method name="get_additional_data">11<return type="Variant" />12<param index="0" name="extension_name" type="StringName" />13<description>14Gets additional arbitrary data in this [GLTFAnimation] instance. This can be used to keep per-node state data in [GLTFDocumentExtension] classes, which is important because they are stateless.15The argument should be the [GLTFDocumentExtension] name (does not have to match the extension name in the glTF file), and the return value can be anything you set. If nothing was set, the return value is [code]null[/code].16</description>17</method>18<method name="set_additional_data">19<return type="void" />20<param index="0" name="extension_name" type="StringName" />21<param index="1" name="additional_data" type="Variant" />22<description>23Sets additional arbitrary data in this [GLTFAnimation] instance. This can be used to keep per-node state data in [GLTFDocumentExtension] classes, which is important because they are stateless.24The first argument should be the [GLTFDocumentExtension] name (does not have to match the extension name in the glTF file), and the second argument can be anything you want.25</description>26</method>27</methods>28<members>29<member name="loop" type="bool" setter="set_loop" getter="get_loop" default="false">30</member>31<member name="original_name" type="String" setter="set_original_name" getter="get_original_name" default="""">32The original name of the animation.33</member>34</members>35</class>363738