Godot Engine – Multi-platform 2D and 3D game engine
# Russian translation of the Godot Engine class reference.
# Copyright (c) 2014-present Godot Engine contributors.
# Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.
# This file is distributed under the same license as the Godot source code.
#
# Alex <[email protected]>, 2020.
# Nikita <[email protected]>, 2020.
# Алексей Смирнов <[email protected]>, 2020, 2021, 2022, 2025.
# Chaosus89 <[email protected]>, 2020.
# John Smith <[email protected]>, 2020.
# NeoLan Qu <[email protected]>, 2020.
# Danil Alexeev <[email protected]>, 2020, 2021, 2023.
# Mazhar Gören <[email protected]>, 2020.
# Valentine <[email protected]>, 2020.
# GreyCat <[email protected]>, 2020.
# Pierre Stempin <[email protected]>, 2020.
# Ilya Brin <[email protected]>, 2020.
# Artroms <[email protected]>, 2021.
# narrnika <[email protected]>, 2021.
# TB Designes <[email protected]>, 2021.
# Alex Ty <[email protected]>, 2021.
# Anna Malinovskaia <[email protected]>, 2021.
# Poq Xert <[email protected]>, 2021.
# Чтабс <[email protected]>, 2021.
# Nikita Blizniuk <[email protected]>, 2021.
# Сергей Волков <[email protected]>, 2021.
# Alexander Sinitsyn <[email protected]>, 2021, 2022.
# Толя Богомолов <[email protected]>, 2021.
# Rustam Alieskerov <[email protected]>, 2021, 2022.
# Vladimir Svity <[email protected]>, 2021.
# SuperProCoolName <[email protected]>, 2021.
# GameOverCode <[email protected]>, 2021.
# trolley813 <[email protected]>, 2021.
# artem <[email protected]>, 2021.
# Werryx <[email protected]>, 2022.
# Eugene <[email protected]>, 2022.
# 140bpmdubstep <[email protected]>, 2022.
# Алексей Зотов <[email protected]>, 2022.
# Russkikh Michail <[email protected]>, 2022.
# Kirill Slesarenok <[email protected]>, 2022.
# Иван Гай <[email protected]>, 2022.
# Bebihindra <[email protected]>, 2022.
# Alex_Faction <[email protected]>, 2022, 2024.
# Turok Chukchin <[email protected]>, 2022.
# Rish Alternative <[email protected]>, 2022.
# Andrey <[email protected]>, 2022.
# Smadjavul <[email protected]>, 2022.
# Bozhko Artyom Dmitrievich <[email protected]>, 2022.
# FuzzMix <[email protected]>, 2022.
# МАН69К <[email protected]>, 2022.
# Vadim Mitroshkin <[email protected]>, 2022.
# SonicStalker Games <[email protected]>, 2022.
# Kedr <[email protected]>, 2022.
# Lost Net <[email protected]>, 2022, 2023.
# Vladimir Kirillovskiy <[email protected]>, 2022.
# motismob <[email protected]>, 2022.
# Handsless coder <[email protected]>, 2022.
# Evgeniy Khramov <[email protected]>, 2022, 2023.
# Григорий <[email protected]>, 2022.
# Artur Leonov (Depish) <[email protected]>, 2022.
# Patrik <[email protected]>, 2022, 2023.
# Alexander Alexeev <[email protected]>, 2023.
# Playmore Dev <[email protected]>, 2023.
# Alexandr Lis <[email protected]>, 2023.
# Yunis Nabiyev <[email protected]>, 2023.
# Vladislav Pesterev <[email protected]>, 2023.
# Кордис Ди <[email protected]>, 2023.
# Eugene One <[email protected]>, 2023.
# Animaliss <[email protected]>, 2023.
# W Red <[email protected]>, 2023.
# Nikita <[email protected]>, 2023.
# Огненный рыцарь <[email protected]>, 2023.
# ZIP2020 <[email protected]>, 2023.
# Plizik <[email protected]>, 2023.
# Kulagin Daniel <[email protected]>, 2023.
# MaksKraft <[email protected]>, 2023.
# Jester1337 <[email protected]>, 2023.
# Maxim Raklo <[email protected]>, 2023.
# Daniil Zimchuk <[email protected]>, 2023.
# Hunter342 <[email protected]>, 2023.
# Rodion Furtov <[email protected]>, 2023.
# Ilia Brykin <[email protected]>, 2023.
# Mikhail Sychev <[email protected]>, 2023.
# Ruslan <[email protected]>, 2023, 2024.
# DLushin <[email protected]>, 2023.
# Maxi fox <[email protected]>, 2023.
# Blezz Rot <[email protected]>, 2023.
# a-d-polevoi <[email protected]>, 2023.
# Affir Vega <[email protected]>, 2023.
# Atom-FG <[email protected]>, 2023.
# Kirill <[email protected]>, 2023.
# suprohub <[email protected]>, 2024.
# Saveliy <[email protected]>, 2024.
# Ivan Oranchuk <[email protected]>, 2024.
# Danil Fadeev <[email protected]>, 2024.
# ShaniZ <[email protected]>, 2024.
# vvv331 <[email protected]>, 2024.
# Val Zay <[email protected]>, 2024.
# viktordino <[email protected]>, 2024.
# Evgeniy Khramov <[email protected]>, 2024.
# qvapelsin <[email protected]>, 2024.
# Ipwnik ЗАКРЫТО <[email protected]>, 2024.
# Error <[email protected]>, 2024.
# Dauren <[email protected]>, 2024.
# Wertyfire <[email protected]>, 2024.
# EVOR <[email protected]>, 2024.
# Vyber <[email protected]>, 2024.
# Даниил Магомедов <[email protected]>, 2024.
# Vladimir Chistov <[email protected]>, 2024.
# Александр Лис <[email protected]>, 2024.
# UltraTaber <[email protected]>, 2024.
# Nick Sabinin <[email protected]>, 2024.
# Kira Young <[email protected]>, 2024.
# qwojj <[email protected]>, 2024, 2025.
# Dainis K <[email protected]>, 2024.
# name <[email protected]>, 2024.
# VladnotVlad <[email protected]>, 2024.
# Dimas007 <[email protected]>, 2024.
# EdwardBrok <[email protected]>, 2024.
# СТАРЫЙ ХЛЕБ <[email protected]>, 2024.
# Kiril Yakymchuk <[email protected]>, 2025.
# Arseniy <[email protected]>, 2025.
# arkology <[email protected]>, 2025.
# Unkwealth <[email protected]>, 2025.
# Kirill Sergeev <[email protected]>, 2025.
# ghKoty <[email protected]>, 2025.
# Mister Ky <[email protected]>, 2025.
# Belonogov Nikolay <[email protected]>, 2025.
# Andrey Razin <[email protected]>, 2025.
# Deniil <[email protected]>, 2025.
# spantamano <[email protected]>, 2025.
# JekSun97 <[email protected]>, 2025, 2026.
# Deniil <[email protected]>, 2025, 2026.
# Steve Fly <[email protected]>, 2025.
# kentaurus <[email protected]>, 2025.
# SpectreMP <[email protected]>, 2025.
# Arthur <[email protected]>, 2025.
# Marat Ismailov <[email protected]>, 2025.
# Mikael Grigoryan <[email protected]>, 2025.
# zhoeshin <[email protected]>, 2025.
# penggrin12 <[email protected]>, 2025.
# cofeek-codes <[email protected]>, 2025.
# MariyaShikunova <[email protected]>, 2026.
# Translator <[email protected]>, 2026.
# DatVex <[email protected]>, 2026.
# JekSun97 <[email protected]>, 2026.
msgid ""
msgstr ""
"Project-Id-Version: Godot Engine class reference\n"
"Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n"
"PO-Revision-Date: 2026-11-24 08:50+0000\n"
"Last-Translator: JekSun97 <[email protected]>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/godot-engine/"
"godot-class-reference/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8-bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Weblate 2026.12.dev0\n"
msgid "All classes"
msgstr "Все классы"
msgid "Globals"
msgstr "Глобальные"
msgid "Nodes"
msgstr "Узлы"
msgid "Resources"
msgstr "Ресурсы"
msgid "Editor-only"
msgstr "Только для редактора"
msgid "Other objects"
msgstr "Другие объекты"
msgid "Variant types"
msgstr "Вариативные типы"
msgid "Description"
msgstr "Описание"
msgid "Tutorials"
msgstr "Обучающие материалы"
msgid "Properties"
msgstr "Свойства"
msgid "Constructors"
msgstr "Конструкторы"
msgid "Methods"
msgstr "Методы"
msgid "Operators"
msgstr "Операторы"
msgid "Theme Properties"
msgstr "Свойства темы"
msgid "Signals"
msgstr "Сигналы"
msgid "Enumerations"
msgstr "Перечисления"
msgid "Constants"
msgstr "Константы"
msgid "Annotations"
msgstr "Аннотации"
msgid "Property Descriptions"
msgstr "Описания свойств"
msgid "Constructor Descriptions"
msgstr "Описания конструктора"
msgid "Method Descriptions"
msgstr "Описания метода"
msgid "Operator Descriptions"
msgstr "Описания оператора"
msgid "Theme Property Descriptions"
msgstr "Описания свойств темы"
msgid "Inherits:"
msgstr "Наследует:"
msgid "Inherited By:"
msgstr "Наследуется от:"
msgid "(overrides %s)"
msgstr "(переопределяет %s)"
msgid "Default"
msgstr "По умолчанию"
msgid "Setter"
msgstr "Сеттер"
msgid "value"
msgstr "значение"
msgid "Getter"
msgstr "Геттер"
msgid ""
"This method should typically be overridden by the user to have any effect."
msgstr ""
"Этот метод обычно должен быть переопределен пользователем, чтобы иметь какой-"
"либо эффект."
msgid ""
"This method has no side effects. It doesn't modify any of the instance's "
"member variables."
msgstr ""
"Этот метод не имеет побочных эффектов. Он не изменяет ни одну из переменных-"
"членов экземпляра."
msgid ""
"This method accepts any number of arguments after the ones described here."
msgstr "Этот метод принимает любое количество аргументов после описанных здесь."
msgid "This method is used to construct a type."
msgstr "Этот метод используется для создания типа."
msgid ""
"This method doesn't need an instance to be called, so it can be called "
"directly using the class name."
msgstr ""
"Этот метод не нуждается в вызове экземпляра, поэтому его можно вызвать "
"напрямую, используя имя класса."
msgid ""
"This method describes a valid operator to use with this type as left-hand "
"operand."
msgstr ""
"Этот метод описывает допустимый оператор для использования с этим типом в "
"качестве левого операнда."
msgid "This value is an integer composed as a bitmask of the following flags."
msgstr ""
"Это значение является целым числом, составленным как битовая маска следующих "
"флагов."
msgid "No return value."
msgstr "Нет возвращаемого значения."
msgid ""
"There is currently no description for this class. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания класса нет. Пожалуйста помогите нам :ref:`предложив "
"таковой <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this signal. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого сигнала нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this enum. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого сигнала нет. Пожалуйста помогите "
"нам :ref:`предложив <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this constant. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этой константы нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this annotation. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этой аннотации нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this property. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого свойства нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this constructor. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого конструктора нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this method. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого метода нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this operator. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого оператора нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There is currently no description for this theme property. Please help us "
"by :ref:`contributing one <doc_updating_the_class_reference>`!"
msgstr ""
"На данный момент описания этого параметра темы нет. Пожалуйста помогите "
"нам :ref:`предложив таковое <doc_updating_the_class_reference>`!"
msgid ""
"There are notable differences when using this API with C#. "
"See :ref:`doc_c_sharp_differences` for more information."
msgstr ""
"Существуют заметные различия при использовании данного API с C#. Подробнее "
"см. :ref:`doc_c_sharp_differences`."
msgid "Deprecated:"
msgstr "Устарело:"
msgid "Experimental:"
msgstr "Экспериментальное:"
msgid "This signal may be changed or removed in future versions."
msgstr "Этот сигнал может быть изменён или удалён в будущих версиях."
msgid "This constant may be changed or removed in future versions."
msgstr "Эта постоянная может быть изменена или удалена в будущих версиях."
msgid "This property may be changed or removed in future versions."
msgstr "Это свойство может быть изменено или удалено в будущих версиях."
msgid "This constructor may be changed or removed in future versions."
msgstr "Этот конструктор может быть изменён или удалён в будущих версиях."
msgid "This method may be changed or removed in future versions."
msgstr "Этот метод может быть изменён или удалён в будущих версиях."
msgid "This operator may be changed or removed in future versions."
msgstr "Этот оператор может быть изменён или удалён в будущих версиях."
msgid "This theme property may be changed or removed in future versions."
msgstr "Это свойство темы может быть изменено или удалено в будущих версиях."
msgid "Built-in GDScript constants, functions, and annotations."
msgstr "Встроенные в GDScript константы, функции и аннотации."
msgid ""
"A list of utility functions and annotations accessible from any script "
"written in GDScript.\n"
"For the list of global functions and constants that can be accessed in any "
"scripting language, see [@GlobalScope]."
msgstr ""
"Список служебных функций и аннотаций, доступных из любого скрипта, "
"написанного на GDScript.\n"
"Список глобальных функций и констант, к которым можно обращаться в любом "
"скриптовом языке, см. в [@GlobalScope]."
msgid "GDScript exports"
msgstr "Экспорт GDScript"
msgid "Use [method Color.from_rgba8] instead."
msgstr "Вместо этого используйте [method Color.from_rgba8]."
msgid ""
"Returns a [Color] constructed from red ([param r8]), green ([param g8]), blue "
"([param b8]), and optionally alpha ([param a8]) integer channels, each "
"divided by [code]255.0[/code] for their final value. Using [method Color8] "
"instead of the standard [Color] constructor is useful when you need to match "
"exact color values in an [Image].\n"
"[codeblock]\n"
"var red = Color8(255, 0, 0) # Same as Color(1, 0, 0).\n"
"var dark_blue = Color8(0, 0, 51) # Same as Color(0, 0, 0.2).\n"
"var my_color = Color8(306, 255, 0, 102) # Same as Color(1.2, 1, 0, 0.4).\n"
"[/codeblock]\n"
"[b]Note:[/b] Due to the lower precision of [method Color8] compared to the "
"standard [Color] constructor, a color created with [method Color8] will "
"generally not be equal to the same color created with the standard [Color] "
"constructor. Use [method Color.is_equal_approx] for comparisons to avoid "
"issues with floating-point precision error."
msgstr ""
"Возвращает [Color], построенный из красного ([param r8]), зеленого ([param "
"g8]), синего ([param b8]) и, по желанию, альфа ([param a8]) целочисленных "
"каналов, каждый делится на [code]255.0[/code] для получения конечного "
"значения. Использование [method Color8] вместо стандартного конструктора "
"[Color] полезно когда нужно точно соответствовать значения цвета в [Image].\n"
"[codeblock].\n"
"var red = Color8(255, 0, 0) # То же самое, что "
"Color(1, 0, 0).\n"
"var dark_blue = Color8(0, 0, 51) # То же, что Color(0, 0, "
"0.2).\n"
"var my_color = Color8(306, 255, 0, 102) # То же, что Color(1.2, 1, 0, 0.4).\n"
"[/codeblock].\n"
"[b]Примечание:[/b] Из-за меньшей точности [method Color8] по сравнению со "
"стандартным конструктором [Color], цвет созданный с [method Color8] обычно не "
"будет равен тому же цвету созданному с помощью стандартного конструктора "
"[Color]. Используйте [method Color.is_equal_approx] для сравнений чтобы "
"избежать проблем с ошибкой точности плавающей точки."
msgid ""
"Asserts that the [param condition] is [code]true[/code]. If the [param "
"condition] is [code]false[/code], an error is generated and the current "
"method returns a default value. When running from the editor, failed asserts "
"also cause a debugger break. This can be used as a stronger form of [method "
"@GlobalScope.push_error] for reporting errors to project developers or add-on "
"users.\n"
"An optional [param message] can be shown in addition to the generic "
"\"Assertion failed\" message. You can use this to provide additional details "
"about why the assertion failed.\n"
"[b]Warning:[/b] For performance reasons, the code inside [method assert] is "
"only executed in debug builds or when running the project from the editor. "
"Don't include code that has side effects in an [method assert] call. "
"Otherwise, the project will behave differently when exported in release "
"mode.\n"
"[codeblock]\n"
"# Imagine we always want speed to be between 0 and 20.\n"
"var speed = -10\n"
"assert(speed < 20) # True, the program will continue.\n"
"assert(speed >= 0) # False, the program will stop.\n"
"assert(speed >= 0 and speed < 20) # You can also combine the two conditional "
"statements in one check.\n"
"assert(speed < 20, \"the speed limit is 20\") # Show a message.\n"
"[/codeblock]\n"
"[b]Note:[/b] [method assert] is a keyword, not a function. So you cannot "
"access it as a [Callable] or use it inside expressions."
msgstr ""
"Проверяет, что [param condition] [code]true[/code]. Если [param condition] "
"равен [code]false[/code], генерируется ошибка, и текущий метод возвращает "
"значение по умолчанию. При запуске из редактора неудачные проверки также "
"приводят к остановке отладчика. Это можно использовать как более надежную "
"форму [method @GlobalScope.push_error] для сообщения об ошибках разработчикам "
"проекта или пользователям плагинов.\n"
"В дополнение к общему сообщению «Проверка не удалась» можно отобразить "
"необязательное [param message]. Вы можете использовать его для предоставления "
"дополнительных сведений о причинах сбоя проверки.\n"
"[b]Предупреждение:[/b] В целях повышения производительности код внутри "
"[method assert] выполняется только в отладочных сборках или при запуске "
"проекта из редактора. Не включайте код с побочными эффектами в вызов [method "
"assert]. В противном случае проект будет вести себя иначе при экспорте в "
"режиме выпуска.\n"
"[codeblock]\n"
"# Представьте, что мы всегда хотим, чтобы скорость находилась в диапазоне от "
"0 до 20.\n"
"var speed = -10\n"
"assert(speed < 20) # Истина, программа будет продолжена.\n"
"assert(speed >= 0) # Ложь, программа будет остановлена.\n"
"assert(speed >= 0 and speed < 20) # Также можно объединить два условных "
"оператора в одну проверку.\n"
"assert(speed < 20, \"Ограничение скорости — 20\") # Показать сообщение.\n"
"[/codeblock]\n"
"[b]Примечание:[/b] [method assert] — это ключевое слово, а не функция. "
"Поэтому вы не можете получить к нему доступ как к [Callable] или использовать "
"его внутри выражений."
msgid ""
"Returns a single character (as a [String] of length 1) of the given Unicode "
"code point [param code].\n"
"[codeblock]\n"
"print(char(65)) # Prints \"A\"\n"
"print(char(129302)) # Prints \"🤖\" (robot face emoji)\n"
"[/codeblock]\n"
"This is the inverse of [method ord]. See also [method String.chr] and [method "
"String.unicode_at]."
msgstr ""
"Возвращает один символ (в виде [String] длиной 1) заданной кодовой точки "
"Unicode [param code].\n"
"[codeblock]\n"
"print(char(65)) # Выводит \"A\"\n"
"print(char(129302)) # Выводит \"🤖\" (эмодзи с лицом робота)\n"
"[/codeblock]\n"
"Это метод, обратный методу [method ord]. См. также [method String.chr] и "
"[method String.unicode_at]."
msgid "Use [method @GlobalScope.type_convert] instead."
msgstr "Вместо этого используйте [method @GlobalScope.type_convert]."
msgid ""
"Converts [param what] to [param type] in the best way possible. The [param "
"type] uses the [enum Variant.Type] values.\n"
"[codeblock]\n"
"var a = [4, 2.5, 1.2]\n"
"print(a is Array) # Prints true\n"
"\n"
"var b = convert(a, TYPE_PACKED_BYTE_ARRAY)\n"
"print(b) # Prints [4, 2, 1]\n"
"print(b is Array) # Prints false\n"
"[/codeblock]"
msgstr ""
"Преобразует [param what] в [param type] наилучшим образом. Тип [param type] "
"использует значения [enum Variant.Type].\n"
"[codeblock].\n"
"var a = [4, 2.5, 1.2]\n"
"print(a is Array) # Выводит true\n"
"\n"
"var b = convert(a, TYPE_PACKED_BYTE_ARRAY)\n"
"print(b) # Выводит [4, 2, 1]\n"
"print(b is Array) # Выводит false\n"
"[/codeblock]"
msgid ""
"Consider using [method JSON.to_native] or [method Object.get_property_list] "
"instead."
msgstr ""
"Вместо этого используйте [method JSON.to_native] или [method "
"Object.get_property_list]."
msgid ""
"Converts a [param dictionary] (created with [method inst_to_dict]) back to an "
"Object instance. Can be useful for deserializing."
msgstr ""
"Преобразует словарь [param dictionary] (ранее созданный с помощью [method "
"inst_to_dict]) обратно в экземпляр объекта. Полезно для десериализации."
msgid ""
"Returns an array of dictionaries representing the current call stack.\n"
"[codeblock]\n"
"func _ready():\n"
"\tfoo()\n"
"\n"
"func foo():\n"
"\tbar()\n"
"\n"
"func bar():\n"
"\tprint(get_stack())\n"
"[/codeblock]\n"
"Starting from [code]_ready()[/code], [code]bar()[/code] would print:\n"
"[codeblock lang=text]\n"
"[{function:bar, line:12, source:res://script.gd}, {function:foo, line:9, "
"source:res://script.gd}, {function:_ready, line:6, source:res://script.gd}]\n"
"[/codeblock]\n"
"See also [method print_debug], [method print_stack], and [method "
"Engine.capture_script_backtraces].\n"
"[b]Note:[/b] By default, backtraces are only available in editor builds and "
"debug builds. To enable them for release builds as well, you need to enable "
"[member ProjectSettings.debug/settings/gdscript/always_track_call_stacks]."
msgstr ""
"Возвращает массив словарей, представляющих текущий стек вызовов.\n"
"[codeblock]\n"
"func _ready():\n"
"\tfoo()\n"
"\n"
"func foo():\n"
"\tbar()\n"
"\n"
"func bar():\n"
"\tprint(get_stack())\n"
"[/codeblock]\n"
"Начиная с [code]_ready()[/code], [code]bar()[/code] выведет:\n"
"[codeblock lang=text]\n"
"[{function:bar, line:12, source:res://script.gd}, {function:foo, line:9, "
"source:res://script.gd}, {function:_ready, line:6, source:res://script.gd}]\n"
"[/codeblock]\n"
"См. также [method print_debug], [method print_stack] и [method "
"Engine.capture_script_backtraces].\n"
"[b]Примечание:[/b] По умолчанию обратные трассировки доступны только в "
"редакторских и отладочных сборках. Чтобы включить их и в релизных сборках, "
"необходимо включить [member ProjectSettings.debug/settings/gdscript/"
"always_track_call_stacks]."
msgid ""
"Consider using [method JSON.from_native] or [method Object.get_property_list] "
"instead."
msgstr ""
"Вместо этого используйте [method JSON.from_native] или [method "
"Object.get_property_list]."
msgid ""
"Returns the passed [param instance] converted to a [Dictionary]. Can be "
"useful for serializing.\n"
"[codeblock]\n"
"var foo = \"bar\"\n"
"func _ready():\n"
"\tvar d = inst_to_dict(self)\n"
"\tprint(d.keys())\n"
"\tprint(d.values())\n"
"[/codeblock]\n"
"Prints out:\n"
"[codeblock lang=text]\n"
"[@subpath, @path, foo]\n"
"[, res://test.gd, bar]\n"
"[/codeblock]\n"
"[b]Note:[/b] This function can only be used to serialize objects with an "
"attached [GDScript] stored in a separate file. Objects without an attached "
"script, with a script written in another language, or with a built-in script "
"are not supported.\n"
"[b]Note:[/b] This function is not recursive, which means that nested objects "
"will not be represented as dictionaries. Also, properties passed by reference "
"([Object], [Dictionary], [Array], and packed arrays) are copied by reference, "
"not duplicated."
msgstr ""
"Возвращает переданный [param instance], преобразованный в словарь. Может быть "
"полезен для сериализации.\n"
"[codeblock].\n"
"var foo = «bar»\n"
"func _ready():\n"
"\tvar d = inst_to_dict(self)\n"
"\tprint(d.keys())\n"
"\tprint(d.values())\n"
"[/codeblock].\n"
"Выводит:\n"
"[codeblock lang=text]\n"
"[@subpath, @path, foo]\n"
"[, res://test.gd, bar]\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Эта функция может быть использована только для "
"сериализации объектов с вложенным [GDScript], хранящимся в отдельном файле. "
"Объекты без пользовательского скрипта, со скриптом на другом языке, или со "
"встроенным скриптом не поддерживаются.\n"
"[b]Примечание:[/b] Эта функция не является рекурсивной, что означает, что "
"вложенные объекты не будут представлены в виде словарей. Кроме того, "
"свойства, передаваемые по ссылке ([Object], [Dictionary], [Array] и "
"упакованные массивы) копируются по ссылке, а не дублируются."
msgid ""
"Returns [code]true[/code] if [param value] is an instance of [param type]. "
"The [param type] value must be one of the following:\n"
"- A constant from the [enum Variant.Type] enumeration, for example [constant "
"TYPE_INT].\n"
"- An [Object]-derived class which exists in [ClassDB], for example [Node].\n"
"- A [Script] (you can use any class, including inner one).\n"
"Unlike the right operand of the [code]is[/code] operator, [param type] can be "
"a non-constant value. The [code]is[/code] operator supports more features "
"(such as typed arrays and dictionaries). Use the operator instead of this "
"method if you do not need to check the type dynamically.\n"
"[b]Examples:[/b]\n"
"[codeblock]\n"
"print(is_instance_of(a, TYPE_INT))\n"
"print(is_instance_of(a, Node))\n"
"print(is_instance_of(a, MyClass))\n"
"print(is_instance_of(a, MyClass.InnerClass))\n"
"[/codeblock]\n"
"[b]Note:[/b] If [param value] and/or [param type] are freed objects (see "
"[method @GlobalScope.is_instance_valid]), or [param type] is not one of the "
"above options, this method will raise a runtime error.\n"
"See also [method @GlobalScope.typeof], [method Object.is_class], [method "
"Object.get_script], [method Array.is_same_typed] (and other [Array] methods), "
"[method Dictionary.is_same_typed] (and other [Dictionary] methods)."
msgstr ""
"Возвращает [code]true[/code], если [param value] является экземпляром [param "
"type]. Значение [param type] должно быть одним из следующих:\n"
"- Константа из перечисления [enum Variant.Type], например [constant "
"TYPE_INT].\n"
"- Класс, производный от [Object], существующий в [ClassDB], например [Node].\n"
"- [Script] (можно использовать любой класс, включая внутренний).\n"
"В отличие от правого операнда оператора [code]is[/code], [param type] может "
"быть неконстантным значением. Оператор [code]is[/code] поддерживает больше "
"возможностей (таких как типизированные массивы и словари). Используйте "
"оператор вместо этого метода, если вам не нужно динамически проверять тип.\n"
"[b]Примеры:[/b]\n"
"[codeblock]\n"
"print(is_instance_of(a, TYPE_INT))\n"
"print(is_instance_of(a, Node))\n"
"print(is_instance_of(a, MyClass))\n"
"print(is_instance_of(a, MyClass.InnerClass))\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Если [param value] и/или [param type] являются "
"освобожденными объектами (см. [method @GlobalScope.is_instance_valid]), или "
"[param type] не является одним из вышеперечисленных вариантов, этот метод "
"вызовет ошибку во время выполнения.\n"
"См. также [method @GlobalScope.typeof], [method Object.is_class], [method "
"Object.get_script], [method Array.is_same_typed] (и другие методы [Array]), "
"[method Dictionary.is_same_typed] (и другие методы [Dictionary])."
msgid ""
"Returns the length of the given Variant [param var]. The length can be the "
"character count of a [String] or [StringName], the element count of any array "
"type, or the size of a [Dictionary]. For every other Variant type, a run-time "
"error is generated and execution is stopped.\n"
"[codeblock]\n"
"var a = [1, 2, 3, 4]\n"
"len(a) # Returns 4\n"
"\n"
"var b = \"Hello!\"\n"
"len(b) # Returns 6\n"
"[/codeblock]"
msgstr ""
"Возвращает длину указанного Variant [param var]. Длина может быть количеством "
"символов [String] или [StringName], количеством элементов любого типа массива "
"или размером [Dictionary]. Для любого другого типа Variant генерируется "
"ошибка времени выполнения и выполнение останавливается.\n"
"[codeblock]\n"
"a = [1, 2, 3, 4]\n"
"len(a) # Вернёт 4\n"
"\n"
"b = \"Hello!\"\n"
"len(b) # Вернёт 6\n"
"[/codeblock]"
msgid ""
"Returns a [Resource] from the filesystem located at the absolute [param "
"path]. Unless it's already referenced elsewhere (such as in another script or "
"in the scene), the resource is loaded from disk on function call, which might "
"cause a slight delay, especially when loading large scenes. To avoid "
"unnecessary delays when loading something multiple times, either store the "
"resource in a variable or use [method preload]. This method is equivalent of "
"using [method ResourceLoader.load] with [constant "
"ResourceLoader.CACHE_MODE_REUSE].\n"
"[b]Note:[/b] Resource paths can be obtained by right-clicking on a resource "
"in the FileSystem dock and choosing \"Copy Path\", or by dragging the file "
"from the FileSystem dock into the current script.\n"
"[codeblock]\n"
"# Load a scene called \"main\" located in the root of the project directory "
"and cache it in a variable.\n"
"var main = load(\"res://main.tscn\") # main will contain a PackedScene "
"resource.\n"
"[/codeblock]\n"
"[b]Important:[/b] Relative paths are [i]not[/i] relative to the script "
"calling this method, instead it is prefixed with [code]\"res://\"[/code]. "
"Loading from relative paths might not work as expected.\n"
"This function is a simplified version of [method ResourceLoader.load], which "
"can be used for more advanced scenarios.\n"
"[b]Note:[/b] Files have to be imported into the engine first to load them "
"using this function. If you want to load [Image]s at run-time, you may use "
"[method Image.load]. If you want to import audio files, you can use the "
"snippet described in [member AudioStreamMP3.data].\n"
"[b]Note:[/b] If [member ProjectSettings.editor/export/"
"convert_text_resources_to_binary] is [code]true[/code], [method "
"@GDScript.load] will not be able to read converted files in an exported "
"project. If you rely on run-time loading of files present within the PCK, set "
"[member ProjectSettings.editor/export/convert_text_resources_to_binary] to "
"[code]false[/code]."
msgstr ""
"Возвращает данные вида [Resource] из файловой системы, расположенный по "
"абсолютному адресу [param path]. Если на ресурс уже присутствуют ссылки в "
"другом месте (например, в другом скрипте или сцене), он загружается с диска "
"при вызове функции, что может вызвать небольшую задержку, особенно при "
"загрузке больших сцен. Чтобы избежать ненужных задержек при многократной "
"загрузке, храните ресурс в переменной, либо используйте [method preload]. "
"Этот способ является эквивалентом [method ResourceLoader.load] с параметром "
"[constant ResourceLoader.CACHE_MODE_REUSE].\n"
"[b]Примечание:[/b] Пути к ресурсам можно получить, щелкнув правой кнопкой "
"мыши на нужном ресурсе в окне файлов проекта и выбрав опцию \"Скопировать "
"путь\", или перетащив файл из окна файлов проекта в текущий сценарий.\n"
"[codeblock]\n"
"# Загрузите сцену с наименованием \"main\", расположенную в корне каталога "
"проекта, и кэшируйте ее в переменную.\n"
"var main = load(\"res://main.tscn\") # main будет содержать ресурс типа "
"\"Сжатая сцена\".\n"
"[/codeblock]\n"
"[b]Важно:[/b] Относительные пути [i] не [/i] относятся к скрипту, вызывающему "
"этот метод, вместо этого он имеет префикс [code]\"res://\"[/code]. Загрузка "
"из относительных путей может работать не так, как ожидалось.\n"
"Данная функция является упрощенной версией [method ResourceLoader.load], "
"которую можно использовать для более сложных сценариев.\n"
"[b]Примечание:[/b] Для загрузки файлов с помощью этой функции, их необходимо "
"предварительно импортировать в движок. Если требуется загрузить [Image] во "
"время выполнения, можно использовать [method Image.load]. Если вам необходимо "
"импортировать аудиофайлы, вы можете воспользоваться фрагментом, описанным в "
"[member AudioStreamMP3.data].\n"
"[b]Примечание:[/b] Если параметр [member ProjectSettings.editor/export/"
"convert_text_resources_to_binary] имеет значение [code]true[/code], то "
"[method @GDScript.load] не сможет прочитать преобразованные файлы в "
"экспортируемом проекте. Если вы полагаетесь на подгрузку по ходу работы "
"проекта файлов, присутствующих в пакете \"PCK\", во время выполнения проекта, "
"установите параметр [member ProjectSettings.editor/export/"
"convert_text_resources_to_binary] как [code]false[/code]."
msgid ""
"Returns an integer representing the Unicode code point of the given character "
"[param char], which should be a string of length 1.\n"
"[codeblock]\n"
"print(ord(\"A\")) # Prints 65\n"
"print(ord(\"🤖\")) # Prints 129302\n"
"[/codeblock]\n"
"This is the inverse of [method char]. See also [method String.chr] and "
"[method String.unicode_at]."
msgstr ""
"Возвращает целое число, представляющее кодовую точку Unicode заданного "
"символа [param char], которая должна быть строкой длиной 1.\n"
"[codeblock]\n"
"print(ord(\"A\")) # Выводит 65\n"
"print(ord(\"🤖\")) # Выводит 129302\n"
"[/codeblock]\n"
"Это метод, обратный методу [method char]. См. также [method String.chr] и "
"[method String.unicode_at]."
msgid ""
"Returns a [Resource] from the filesystem located at [param path]. During run-"
"time, the resource is loaded when the script is being parsed. This function "
"effectively acts as a reference to that resource. Note that this function "
"requires [param path] to be a constant [String]. If you want to load a "
"resource from a dynamic/variable path, use [method load].\n"
"[b]Note:[/b] Resource paths can be obtained by right-clicking on a resource "
"in the Assets Panel and choosing \"Copy Path\", or by dragging the file from "
"the FileSystem dock into the current script.\n"
"[codeblock]\n"
"# Create instance of a scene.\n"
"var diamond = preload(\"res://diamond.tscn\").instantiate()\n"
"[/codeblock]\n"
"[b]Note:[/b] [method preload] is a keyword, not a function. So you cannot "
"access it as a [Callable]."
msgstr ""
"Возвращает ресурс [Resource] из файловой системы, расположенной по адресу "
"[param path]. Во время выполнения скрипта ресурс загружается при разборе "
"скрипта. Эта функция фактически выступает в качестве ссылки на этот ресурс. "
"Обратите внимание, что данная функция требует, чтобы [param path] был "
"константой [String]. Если необходимо загрузить ресурс из динамического/"
"переменного пути, используйте [method load].\n"
"[b]Примечание:[/b] Пути к ресурсам можно получить, щелкнув правой кнопкой "
"мыши на ресурсе в панели активов и выбрав \"Copy Path\", или перетащив файл "
"из дока FileSystem в текущий скрипт.\n"
"[codeblock]\n"
"# Создаем экземпляр сцены.\n"
"var diamond = preload(\"res://diamond.tscn\").instantiate()\n"
"[/codeblock]\n"
"[b]Примечание:[/b] [method preload] - это ключевое слово, а не функция. "
"Поэтому вы не можете получить к нему доступ как к [Callable]."
msgid ""
"Like [method @GlobalScope.print], but includes the current stack frame when "
"running with the debugger turned on.\n"
"The output in the console may look like the following:\n"
"[codeblock lang=text]\n"
"Test print\n"
"At: res://test.gd:15:_process()\n"
"[/codeblock]\n"
"See also [method print_stack], [method get_stack], and [method "
"Engine.capture_script_backtraces].\n"
"[b]Note:[/b] By default, backtraces are only available in editor builds and "
"debug builds. To enable them for release builds as well, you need to enable "
"[member ProjectSettings.debug/settings/gdscript/always_track_call_stacks]."
msgstr ""
"Аналогично [method @GlobalScope.print], но при запуске с включённым "
"отладчиком включает текущий кадр стека.\n"
"Вывод в консоли может выглядеть следующим образом:\n"
"[codeblock lang=text]\n"
"Test print\n"
"At: res://test.gd:15:_process()\n"
"[/codeblock]\n"
"См. также [method print_stack], [method get_stack] и [method "
"Engine.capture_script_backtraces].\n"
"[b]Примечание:[/b] По умолчанию обратные трассировки доступны только в "
"редакторских и отладочных сборках. Чтобы включить их и в релизных сборках, "
"необходимо включить [member ProjectSettings.debug/settings/gdscript/"
"always_track_call_stacks]."
msgid ""
"Prints a stack trace at the current code location.\n"
"The output in the console may look like the following:\n"
"[codeblock lang=text]\n"
"Frame 0 - res://test.gd:16 in function '_process'\n"
"[/codeblock]\n"
"See also [method print_debug], [method get_stack], and [method "
"Engine.capture_script_backtraces].\n"
"[b]Note:[/b] By default, backtraces are only available in editor builds and "
"debug builds. To enable them for release builds as well, you need to enable "
"[member ProjectSettings.debug/settings/gdscript/always_track_call_stacks]."
msgstr ""
"Выводит трассировку стека в текущем месте кода.\n"
"Вывод в консоли может выглядеть следующим образом:\n"
"[codeblock lang=text]\n"
"Frame 0 - res://test.gd:16 in function '_process'\n"
"[/codeblock]\n"
"См. также [method print_debug], [method get_stack] и [method "
"Engine.capture_script_backtraces].\n"
"[b]Примечание:[/b] По умолчанию обратные трассировки доступны только в "
"редакторских и отладочных сборках. Чтобы включить их и в релизных сборках, "
"необходимо включить [member ProjectSettings.debug/settings/gdscript/"
"always_track_call_stacks]."
msgid ""
"Returns an array with the given range. [method range] can be called in three "
"ways:\n"
"[code]range(n: int)[/code]: Starts from 0, increases by steps of 1, and stops "
"[i]before[/i] [code]n[/code]. The argument [code]n[/code] is [b]exclusive[/"
"b].\n"
"[code]range(b: int, n: int)[/code]: Starts from [code]b[/code], increases by "
"steps of 1, and stops [i]before[/i] [code]n[/code]. The arguments [code]b[/"
"code] and [code]n[/code] are [b]inclusive[/b] and [b]exclusive[/b], "
"respectively.\n"
"[code]range(b: int, n: int, s: int)[/code]: Starts from [code]b[/code], "
"increases/decreases by steps of [code]s[/code], and stops [i]before[/i] "
"[code]n[/code]. The arguments [code]b[/code] and [code]n[/code] are "
"[b]inclusive[/b] and [b]exclusive[/b], respectively. The argument [code]s[/"
"code] [b]can[/b] be negative, but not [code]0[/code]. If [code]s[/code] is "
"[code]0[/code], an error message is printed.\n"
"[method range] converts all arguments to [int] before processing.\n"
"[b]Note:[/b] Returns an empty array if no value meets the value constraint "
"(e.g. [code]range(2, 5, -1)[/code] or [code]range(5, 5, 1)[/code]).\n"
"[b]Examples:[/b]\n"
"[codeblock]\n"
"print(range(4)) # Prints [0, 1, 2, 3]\n"
"print(range(2, 5)) # Prints [2, 3, 4]\n"
"print(range(0, 6, 2)) # Prints [0, 2, 4]\n"
"print(range(4, 1, -1)) # Prints [4, 3, 2]\n"
"[/codeblock]\n"
"To iterate over an [Array] backwards, use:\n"
"[codeblock]\n"
"var array = [3, 6, 9]\n"
"for i in range(array.size() - 1, -1, -1):\n"
"\tprint(array[i])\n"
"[/codeblock]\n"
"Output:\n"
"[codeblock lang=text]\n"
"9\n"
"6\n"
"3\n"
"[/codeblock]\n"
"To iterate over [float], convert them in the loop.\n"
"[codeblock]\n"
"for i in range (3, 0, -1):\n"
"\tprint(i / 10.0)\n"
"[/codeblock]\n"
"Output:\n"
"[codeblock lang=text]\n"
"0.3\n"
"0.2\n"
"0.1\n"
"[/codeblock]"
msgstr ""
"Возвращает массив с указанным диапазоном. [method range] можно вызвать тремя "
"способами:\n"
"[code]range(n: int)[/code]: Начинается с 0, увеличивается с шагом 1 и "
"останавливается [i]перед[/i] [code]n[/code]. Аргумент [code]n[/code] является "
"[b]исключающим[/b].\n"
"[code]range(b: int, n: int)[/code]: начинается с [code]b[/code], "
"увеличивается с шагом 1 и останавливается [i]перед[/i] [code]n[/code]. "
"Аргументы [code]b[/code] и [code]n[/code] являются [b]включающими[/b] и "
"[b]исключающими[/b] соответственно.\n"
"[code]range(b: int, n: int, s: int)[/code]: Начинается с [code]b[/code], "
"увеличивается/уменьшается с шагом [code]s[/code] и останавливается [i]перед[/"
"i] [code]n[/code]. Аргументы [code]b[/code] и [code]n[/code] являются "
"[b]включающими[/b] и [b]исключающими[/b] соответственно. Аргумент [code]s[/"
"code] [b]может[/b] быть отрицательным, но не [code]0[/code]. Если [code]s[/"
"code] равен [code]0[/code], выводится сообщение об ошибке.\n"
"[method range] преобразует все аргументы в [int] перед обработкой.\n"
"[b]Примечание:[/b] Возвращает пустой массив, если ни одно значение не "
"соответствует ограничению значения (например, [code]range(2, 5, -1)[/code] "
"или [code]range(5, 5, 1)[/code]).\n"
"[b]Примеры:[/b]\n"
"[codeblock]\n"
"print(range(4)) # Выводит [0, 1, 2, 3]\n"
"print(range(2, 5)) # Выводит [2, 3, 4]\n"
"print(range(0, 6, 2)) # Выводит [0, 2, 4]\n"
"print(range(4, 1, -1)) # Выводит [4, 3, 2]\n"
"[/codeblock]\n"
"Чтобы выполнить итерацию по [Array] в обратном направлении, используйте:\n"
"[codeblock]\n"
"var array = [3, 6, 9]\n"
"for i in range(array.size() - 1, -1, -1):\n"
"\tprint(array[i])\n"
"[/codeblock]\n"
"Получаем на выходе:\n"
"[codeblock lang=text]\n"
"9\n"
"6\n"
"3\n"
"[/codeblock]\n"
"Чтобы выполнить итерацию по [float], преобразуйте их в цикле.\n"
"[codeblock]\n"
"for i in range (3, 0, -1):\n"
"\tprint(i / 10.0)\n"
"[/codeblock]\n"
"Получаем на выходе:\n"
"[codeblock lang=text]\n"
"0.3\n"
"0.2\n"
"0.1\n"
"[/codeblock]"
msgid "Use [method ClassDB.class_exists] instead."
msgstr "Вместо этого используйте [method ClassDB.class_exists]."
msgid ""
"Returns [code]true[/code] if the given [Object]-derived class exists in "
"[ClassDB]. Note that [Variant] data types are not registered in [ClassDB].\n"
"[codeblock]\n"
"type_exists(\"Sprite2D\") # Returns true\n"
"type_exists(\"NonExistentClass\") # Returns false\n"
"[/codeblock]"
msgstr ""
"Возвращает [code]true[/code], если данный [Object]-производный класс "
"существует в [ClassDB]. Учитывайте, что [Variant] типы данных не "
"зарегестрированны в [ClassDB].\n"
"[codeblock]\n"
"type_exists(\"Sprite2D\") # Возвращает true\n"
"type_exists(\"NonExistentClass\") # Возвращает false\n"
"[/codeblock]"
msgid ""
"Constant that represents how many times the diameter of a circle fits around "
"its perimeter. This is equivalent to [code]TAU / 2[/code], or 180 degrees in "
"rotations."
msgstr ""
"Константа, которая показывает, сколько раз диаметр окружности укладывается "
"вокруг её периметра. Это эквивалентно [code]TAU / 2[/code], или повороту на "
"180 градусов."
msgid ""
"The circle constant, the circumference of the unit circle in radians. This is "
"equivalent to [code]PI * 2[/code], or 360 degrees in rotations."
msgstr ""
"Константа окружности, длина окружности круга в радианах. Это эквивалентно "
"числу [code]PI * 2[/code], или повороту в 360 градусов."
msgid ""
"Positive floating-point infinity. This is the result of floating-point "
"division when the divisor is [code]0.0[/code]. For negative infinity, use "
"[code]-INF[/code]. Dividing by [code]-0.0[/code] will result in negative "
"infinity if the numerator is positive, so dividing by [code]0.0[/code] is not "
"the same as dividing by [code]-0.0[/code] (despite [code]0.0 == -0.0[/code] "
"returning [code]true[/code]).\n"
"[b]Warning:[/b] Numeric infinity is only a concept with floating-point "
"numbers, and has no equivalent for integers. Dividing an integer number by "
"[code]0[/code] will not result in [constant INF] and will result in a run-"
"time error instead. Casting [code skip-lint]INF[/code] or [code]-INF[/code] "
"to an integer ([code]int(INF)[/code] or equivalent) is [b]undefined behavior[/"
"b]."
msgstr ""
"Положительная бесконечность для чисел с плавающей запятой. Такой результат "
"получается при делении числа с плавающей запятой на [code]0.0[/code]. Для "
"обозначения отрицательной бесконечности используется [code]-INF[/code]. "
"Деление на [code]-0,0[/code] приведет к отрицательной бесконечности, если "
"числитель положительный, поэтому деление на [code]0,0[/code] — это не то же "
"самое, что деление на [code]-0,0[/code] (несмотря на то, что [code]0,0 == "
"-0,0[/code] возвращает [code]true[/code]).\n"
"[b]Предупреждение:[/b] Понятие бесконечности применимо только к числам с "
"плавающей запятой; для целых чисел аналога не существует. Деление целого "
"числа на [code]0[/code] не приводит к получению [constant INF], а вызывает "
"ошибку во время выполнения программы. Приведение [code skip-lint]INF[/code] "
"или [code]-INF[/code] к целому типу (например, через [code]int(INF)[/code] "
"или аналогичные конструкции) является [b]неопределенным поведением[/b]."
msgid ""
"\"Not a Number\", an invalid floating-point value. It is returned by some "
"invalid operations, such as dividing floating-point [code]0.0[/code] by "
"[code]0.0[/code].\n"
"[constant NAN] has special properties, including that [code]!=[/code] always "
"returns [code]true[/code], while other comparison operators always return "
"[code]false[/code]. This is true even when comparing with itself ([code]NAN "
"== NAN[/code] returns [code]false[/code] and [code]NAN != NAN[/code] returns "
"[code]true[/code]). Due to this, you must use [method @GlobalScope.is_nan] to "
"check whether a number is equal to [constant NAN].\n"
"[b]Warning:[/b] \"Not a Number\" is only a concept with floating-point "
"numbers, and has no equivalent for integers. Dividing an integer [code]0[/"
"code] by [code]0[/code] will not result in [constant NAN] and will result in "
"a run-time error instead. Casting [code skip-lint]NAN[/code] to an integer "
"([code]int(NAN)[/code] or equivalent) is [b]undefined behavior[/b]."
msgstr ""
"«Not a Number» (не число) — это некорректное значение с плавающей запятой. "
"Оно возникает в результате выполнения некоторых недопустимых операций, "
"например, при делении числа с плавающей запятой [code]0.0[/code] на "
"[code]0.0[/code].\n"
"[constant NAN] обладает особыми свойствами: оператор [code]!=[/code] при её "
"участии всегда возвращает [code]true[/code], тогда как остальные операторы "
"сравнения — всегда [code]false[/code]. Это справедливо даже при сравнении с "
"самим собой (выражение [code]NAN == NAN[/code] вернёт [code]false[/code], а "
"[code]NAN != NAN[/code] — [code]true[/code]). В связи с этим для проверки "
"того, является ли число значением [constant NAN], необходимо использовать "
"метод [method @GlobalScope.is_nan].\n"
"[b]Предупреждение:[/b] Понятие «Not a Number» применимо только к числам с "
"плавающей запятой; для целых чисел аналога не существует. Деление целого "
"числа [code]0[/code] на [code]0[/code] не приводит к получению [constant "
"NAN], а вызывает ошибку во время выполнения программы. Приведение [code skip-"
"lint]NAN[/code] к целому типу (например, через [code]int(NAN)[/code] или "
"аналогичные конструкции) приводит к [b]неопределённому поведению[/b]."
msgid ""
"Marks a class or a method as abstract.\n"
"An abstract class is a class that cannot be instantiated directly. Instead, "
"it is meant to be inherited by other classes. Attempting to instantiate an "
"abstract class will result in an error.\n"
"An abstract method is a method that has no implementation. Therefore, a "
"newline or a semicolon is expected after the function header. This defines a "
"contract that inheriting classes must conform to, because the method "
"signature must be compatible when overriding.\n"
"Inheriting classes must either provide implementations for all abstract "
"methods, or the inheriting class must be marked as abstract. If a class has "
"at least one abstract method (either its own or an unimplemented inherited "
"one), then it must also be marked as abstract. However, the reverse is not "
"true: an abstract class is allowed to have no abstract methods.\n"
"[codeblock]\n"
"@abstract class Shape:\n"
"\t@abstract func draw()\n"
"\n"
"class Circle extends Shape:\n"
"\tfunc draw():\n"
"\t\tprint(\"Drawing a circle.\")\n"
"\n"
"class Square extends Shape:\n"
"\tfunc draw():\n"
"\t\tprint(\"Drawing a square.\")\n"
"[/codeblock]"
msgstr ""
"Помечает класс или метод как абстрактный.\n"
"Абстрактный класс — это класс, экземпляр которого невозможно создать "
"напрямую. Вместо этого он предназначен для наследования другими классами. "
"Попытка создать экземпляр абстрактного класса приведёт к ошибке.\n"
"Абстрактный метод — это метод, не имеющий реализации. Поэтому после заголовка "
"функции ожидается символ новой строки или точка с запятой. Это определяет "
"соглашение, которому должны соответствовать наследующие классы, поскольку "
"сигнатура метода должна быть совместима при переопределении.\n"
"Наследующие классы должны либо предоставлять реализации для всех абстрактных "
"методов, либо наследующий класс должен быть помечен как абстрактный. Если у "
"класса есть хотя бы один абстрактный метод (собственный или нереализованный "
"унаследованный), то он также должен быть помечен как абстрактный. Однако "
"обратное неверно: абстрактный класс может не иметь абстрактных методов.\n"
"[codeblock]\n"
"@abstract class Shape:\n"
"\t@abstract func draw()\n"
"\n"
"class Circle extends Shape:\n"
"\tfunc draw():\n"
"\t\tprint(\"Рисование круга.\")\n"
"\n"
"class Square extends Shape:\n"
"\tfunc draw():\n"
"\t\tprint(\"Рисование квадрата.\")\n"
"[/codeblock]"
msgid ""
"Mark the following property as exported (editable in the Inspector dock and "
"saved to disk). To control the type of the exported property, use the type "
"hint notation.\n"
"[codeblock]\n"
"extends Node\n"
"\n"
"enum Direction {LEFT, RIGHT, UP, DOWN}\n"
"\n"
"# Built-in types.\n"
"@export var string = \"\"\n"
"@export var int_number = 5\n"
"@export var float_number: float = 5\n"
"\n"
"# Enums.\n"
"@export var type: Variant.Type\n"
"@export var format: Image.Format\n"
"@export var direction: Direction\n"
"\n"
"# Resources.\n"
"@export var image: Image\n"
"@export var custom_resource: CustomResource\n"
"\n"
"# Nodes.\n"
"@export var node: Node\n"
"@export var custom_node: CustomNode\n"
"\n"
"# Typed arrays.\n"
"@export var int_array: Array[int]\n"
"@export var direction_array: Array[Direction]\n"
"@export var image_array: Array[Image]\n"
"@export var node_array: Array[Node]\n"
"[/codeblock]\n"
"[b]Note:[/b] Custom resources and nodes should be registered as global "
"classes using [code]class_name[/code], since the Inspector currently only "
"supports global classes. Otherwise, a less specific type will be exported "
"instead.\n"
"[b]Note:[/b] Node export is only supported in [Node]-derived classes and has "
"a number of other limitations."
msgstr ""
"Отметьте следующее свойство как экспортированное (его можно редактировать в "
"панели инспектора и сохранить на диске). Для управления типом экспортируемого "
"свойства используйте нотацию подсказки типа.\n"
"[codeblock]\n"
"extends Node\n"
"\n"
"enum Direction {LEFT, RIGHT, UP, DOWN}\n"
"\n"
"# встроенные типы.\n"
"@export var string = \"\"\n"
"@export var int_number = 5\n"
"@export var float_number: float = 5\n"
"\n"
"# Перечисления\n"
"@export var type: Variant.Type\n"
"@export var format: Image.Format\n"
"@export var direction: Direction\n"
"\n"
"# Ресурсы.\n"
"@export var image: Image\n"
"@export var custom_resource: CustomResource\n"
"\n"
"# Узлы.\n"
"@export var node: Node\n"
"@export var custom_node: CustomNode\n"
"\n"
"# Типизированные массивы.\n"
"@export var int_array: Array[int]\n"
"@export var direction_array: Array[Direction]\n"
"@export var image_array: Array[Image]\n"
"@export var node_array: Array[Node]\n"
"[/codeblock]\n"
"[b]Примечание.[/b] Пользовательские ресурсы и узлы должны быть "
"зарегистрированы как глобальные классы с использованием [code]class_name[/"
"code].\n"
"[b]Примечание:[/b] Экспорт узлов поддерживается только в классах, производных "
"от [Node], и имеет ряд других ограничений."
msgid ""
"Define a new category for the following exported properties. This helps to "
"organize properties in the Inspector dock.\n"
"See also [constant PROPERTY_USAGE_CATEGORY].\n"
"[codeblock]\n"
"@export_category(\"Statistics\")\n"
"@export var hp = 30\n"
"@export var speed = 1.25\n"
"[/codeblock]\n"
"[b]Note:[/b] Categories in the Inspector dock's list usually divide "
"properties coming from different classes (Node, Node2D, Sprite, etc.). For "
"better clarity, it's recommended to use [annotation @export_group] and "
"[annotation @export_subgroup], instead."
msgstr ""
"Определяет новую категорию для следующих экспортируемых свойств. Помогает "
"организовать свойства в Инспекторском доке.\n"
"Также просмотрите [constant PROPERTY_USAGE_CATEGORY].\n"
"[codeblock]\n"
"@export_category(\"Statistics\")\n"
"@export var hp = 30\n"
"@export var speed = 1.25\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Категории в листе Инспекторского дока обычно разделяют "
"свойства с других классов (Node, Node2D, Sprite, и др.). Для лучшего "
"понимания, вместо этого рекомендуется использовать [annotation @export_group] "
"и [annotation @export_subgroup]."
msgid ""
"Export a [Color], [Array][lb][Color][rb], or [PackedColorArray] property "
"without allowing its transparency ([member Color.a]) to be edited.\n"
"See also [constant PROPERTY_HINT_COLOR_NO_ALPHA].\n"
"[codeblock]\n"
"@export_color_no_alpha var dye_color: Color\n"
"@export_color_no_alpha var dye_colors: Array[Color]\n"
"[/codeblock]"
msgstr ""
"Экспорт свойства [Color] без разрешения редактирования его прозрачности "
"([member Color.a])\n"
"См. также [constant PROPERTY_HINT_COLOR_NO_ALPHA].\n"
"[codeblock]\n"
"@export_color_no_alpha var dye_color: Color\n"
"@export_color_no_alpha var dye_colors: Array[Color]\n"
"[/codeblock]"
msgid ""
"Allows you to set a custom hint, hint string, and usage flags for the "
"exported property. Note that there's no validation done in GDScript, it will "
"just pass the parameters to the editor.\n"
"[codeblock]\n"
"@export_custom(PROPERTY_HINT_NONE, \"suffix:m\") var suffix: Vector3\n"
"[/codeblock]\n"
"[b]Note:[/b] Regardless of the [param usage] value, the [constant "
"PROPERTY_USAGE_SCRIPT_VARIABLE] flag is always added, as with any explicitly "
"declared script variable."
msgstr ""
"Позволяет устанавливать пользовательскую подсказку, строку подсказки и флаги "
"использования для экспортируемого свойства. Обратите внимание, что в GDScript "
"нет проверки, он просто передает параметры в редактор.\n"
"[codeblock]\n"
"@export_custom(PROPERTY_HINT_NODE, \"suffix:m\") var suffix: Vector3\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Независимо от значения [param usage] флаг [constant "
"PROPERTY_USAGE_SCRIPT_VARIABLE] всегда добавляется, как и в случае с любой, "
"явно объявленной переменной скрипта."
msgid ""
"Export a [String], [Array][lb][String][rb], or [PackedStringArray] property "
"as a path to a directory. The path will be limited to the project folder and "
"its subfolders. See [annotation @export_global_dir] to allow picking from the "
"entire filesystem.\n"
"See also [constant PROPERTY_HINT_DIR].\n"
"[codeblock]\n"
"@export_dir var sprite_folder_path: String\n"
"@export_dir var sprite_folder_paths: Array[String]\n"
"[/codeblock]"
msgstr ""
"Экспортируйте свойство [String], [Array][lb][String][rb] или "
"[PackedStringArray] как путь к каталогу. Путь будет ограничен папкой проекта "
"и ее подпапками. См. [annotation @export_global_dir], чтобы разрешить выбор "
"из всей файловой системы.\n"
"См. также [constant PROPERTY_HINT_DIR]\n"
"[codeblock]\n"
"@export_dir var sprite_folder_path: String\n"
"@export_dir var sprite_folder_paths: Array[String]\n"
"[/codeblock]"
msgid ""
"Export an [int], [String], [StringName], [Array][lb][int][rb], [Array][lb]"
"[String][rb], [Array][lb][StringName][rb], [PackedByteArray], "
"[PackedInt32Array], [PackedInt64Array], or [PackedStringArray] property as an "
"enumerated list of options (or an array of options). If the property is an "
"[int], then the index of the value is stored, in the same order the values "
"are provided. You can add explicit values using a colon. If the property is a "
"[String], then the value is stored.\n"
"See also [constant PROPERTY_HINT_ENUM].\n"
"[codeblock]\n"
"@export_enum(\"Warrior\", \"Magician\", \"Thief\") var character_class: int\n"
"@export_enum(\"Slow:30\", \"Average:60\", \"Very Fast:200\") var "
"character_speed: int\n"
"@export_enum(\"Rebecca\", \"Mary\", \"Leah\") var character_name: String\n"
"\n"
"@export_enum(\"Sword\", \"Spear\", \"Mace\") var character_items: Array[int]\n"
"@export_enum(\"double_jump\", \"climb\", \"dash\") var character_skills: "
"Array[String]\n"
"[/codeblock]\n"
"If you want to set an initial value, you must specify it explicitly:\n"
"[codeblock]\n"
"@export_enum(\"Rebecca\", \"Mary\", \"Leah\") var character_name: String = "
"\"Rebecca\"\n"
"[/codeblock]\n"
"If you want to use named GDScript enums, then use [annotation @export] "
"instead:\n"
"[codeblock]\n"
"enum CharacterName {REBECCA, MARY, LEAH}\n"
"@export var character_name: CharacterName\n"
"\n"
"enum CharacterItem {SWORD, SPEAR, MACE}\n"
"@export var character_items: Array[CharacterItem]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство типа [int], [String], [StringName], [Array][lb][int]"
"[rb], [Array][lb][String][rb], [Array][lb][StringName][rb], "
"[PackedByteArray], [PackedInt32Array], [PackedInt64Array] или "
"[PackedStringArray] в виде перечисляемого списка (или массива) вариантов "
"выбора. Если свойство имеет тип [int], то сохраняется индекс выбранного "
"значения (в том порядке, в котором они были указаны). С помощью двоеточия "
"можно задать явные значения. Если свойство имеет тип [String], то сохраняется "
"само значение.\n"
"См. также [constant PROPERTY_HINT_ENUM].\n"
"[codeblock]\n"
"@export_enum(\"Воин\", \"Маг\", \"Вор\") var character_class: int\n"
"@export_enum(\"Медленный:30\", \"Средний:60\", \"Очень быстрый:200\") var "
"character_speed: int\n"
"@export_enum(\"Ребекка\", \"Мэри\", \"Лия\") var character_name: String\n"
"\n"
"@export_enum(\"Меч\", \"Копьё\", \"Булава\") var character_items: Array[int]\n"
"@export_enum(\"double_jump\", \"climb\", \"dash\") var character_skills: "
"Array[String]\n"
"[/codeblock]\n"
"Если вы хотите задать начальное значение, его необходимо указать явно:\n"
"[codeblock]\n"
"@export_enum(\"Ребекка\", \"Мэри\", \"Лия\") var character_name: String = "
"\"Ребекка\"\n"
"[/codeblock]\n"
"Если вы хотите использовать именованные перечисления (enums) в GDScript, то "
"вместо этого воспользуйтесь [annotation @export]:\n"
"[codeblock]\n"
"enum CharacterName {REBECCA, MARY, LEAH}\n"
"@export var character_name: CharacterName\n"
"\n"
"enum CharacterItem {SWORD, SPEAR, MACE}\n"
"@export var character_items: Array[CharacterItem]\n"
"[/codeblock]"
msgid ""
"Export a floating-point property with an easing editor widget. Additional "
"hints can be provided to adjust the behavior of the widget. [code]"
"\"attenuation\"[/code] flips the curve, which makes it more intuitive for "
"editing attenuation properties. [code]\"positive_only\"[/code] limits values "
"to only be greater than or equal to zero.\n"
"See also [constant PROPERTY_HINT_EXP_EASING].\n"
"[codeblock]\n"
"@export_exp_easing var transition_speed\n"
"@export_exp_easing(\"attenuation\") var fading_attenuation\n"
"@export_exp_easing(\"positive_only\") var effect_power\n"
"@export_exp_easing var speeds: Array[float]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство с плавающей точкой с помощью виджета редактора "
"плавности. Дополнительные подсказки могут быть предоставлены, чтобы "
"подкорректировать действия виджета. [code]\"attenuation\"[/code] "
"(\"затухание\") переворачивает ломаную, что делает её более интуитивной для "
"редактирования свойств затухания. [code]\"positive_only\"[/code] "
"(\"только_положительные\") ограничивает диапазон значений до 0, тем самым "
"оставляя только 0 и числа больше 0.\n"
"Также просмотрите [constant PROPERTY_HINT_EXP_EASING].\n"
"[codeblock]\n"
"@export_exp_easing var transition_speed\n"
"@export_exp_easing(\"attenuation\") var fading_attenuation\n"
"@export_exp_easing(\"positive_only\") var effect_power\n"
"@export_exp_easing var speeds: Array[float]\n"
"[/codeblock]"
msgid ""
"Export a [String], [Array][lb][String][rb], or [PackedStringArray] property "
"as a path to a file. The path will be limited to the project folder and its "
"subfolders. See [annotation @export_global_file] to allow picking from the "
"entire filesystem.\n"
"If [param filter] is provided, only matching files will be available for "
"picking.\n"
"See also [constant PROPERTY_HINT_FILE].\n"
"[codeblock]\n"
"@export_file var sound_effect_path: String\n"
"@export_file(\"*.txt\") var notes_path: String\n"
"@export_file var level_paths: Array[String]\n"
"[/codeblock]\n"
"[b]Note:[/b] The file will be stored and referenced as UID, if available. "
"This ensures that the reference is valid even when the file is moved. You can "
"use [ResourceUID] methods to convert it to path."
msgstr ""
"Экспортируйте свойство [String], [Array][lb][String][rb] или "
"[PackedStringArray] как путь к файлу. Путь будет ограничен папкой проекта и "
"её подпапками. См. [annotation @export_global_file], чтобы разрешить выбор из "
"всей файловой системы.\n"
"Если указан [param filter], для выбора будут доступны только соответствующие "
"файлы.\n"
"См. также [constant PROPERTY_HINT_FILE].\n"
"[codeblock]\n"
"@export_file var sound_effect_path: String\n"
"@export_file(\"*.txt\") var notes_path: String\n"
"@export_file var level_paths: Array[String]\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Файл будет сохранён и будет указан как UID, если он "
"доступен. Это гарантирует корректность ссылки даже при перемещении файла. Вы "
"можете преобразовать её в путь, используя методы [ResourceUID]."
msgid ""
"Same as [annotation @export_file], except the file will be stored as a raw "
"path. This means that it may become invalid when the file is moved. If you "
"are exporting a [Resource] path, consider using [annotation @export_file] "
"instead."
msgstr ""
"То же, что и [annotation @export_file], но файл будет сохранён как "
"необработанный путь. Это означает, что он может стать недействительным при "
"перемещении файла. Если вы экспортируете путь [Resource], рассмотрите "
"возможность использования [annotation @export_file]."
msgid ""
"Export an integer property as a bit flag field. This allows to store several "
"\"checked\" or [code]true[/code] values with one property, and comfortably "
"select them from the Inspector dock.\n"
"See also [constant PROPERTY_HINT_FLAGS].\n"
"[codeblock]\n"
"@export_flags(\"Fire\", \"Water\", \"Earth\", \"Wind\") var spell_elements = "
"0\n"
"[/codeblock]\n"
"You can add explicit values using a colon:\n"
"[codeblock]\n"
"@export_flags(\"Self:4\", \"Allies:8\", \"Foes:16\") var spell_targets = 0\n"
"[/codeblock]\n"
"You can also combine several flags:\n"
"[codeblock]\n"
"@export_flags(\"Self:4\", \"Allies:8\", \"Self and Allies:12\", \"Foes:16\")\n"
"var spell_targets = 0\n"
"[/codeblock]\n"
"[b]Note:[/b] A flag value must be at least [code]1[/code] and at most [code]2 "
"** 32 - 1[/code].\n"
"[b]Note:[/b] Unlike [annotation @export_enum], the previous explicit value is "
"not taken into account. In the following example, A is 16, B is 2, C is 4.\n"
"[codeblock]\n"
"@export_flags(\"A:16\", \"B\", \"C\") var x\n"
"[/codeblock]\n"
"You can also use the annotation on [Array][lb][int][rb], [PackedByteArray], "
"[PackedInt32Array], and [PackedInt64Array]\n"
"[codeblock]\n"
"@export_flags(\"Fire\", \"Water\", \"Earth\", \"Wind\") var phase_elements: "
"Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортировать целочисленное свойство как поле битового флага. Это позволяет "
"хранить несколько значений \"checked\" или [code]true[/code] с одним "
"свойством и удобно выбирать их из панели инспектора.\n"
"См. также [constant PROPERTY_HINT_FLAGS].\n"
"[codeblock]\n"
"@export_flags(\"Fire\", \"Water\", \"Earth\", \"Wind\") var spell_elements = "
"0\n"
"[/codeblock]\n"
"Вы можете добавлять явные значения, используя двоеточие:\n"
"[codeblock]\n"
"@export_flags(\"Self:4\", \"Allies:8\", \"Foes:16\") var spell_targets = 0\n"
"[/codeblock]\n"
"Вы также можете объединить несколько флагов:\n"
"[codeblock]\n"
"@export_flags(\"Self:4\", \"Allies:8\", \"Self and Allies:12\", \"Foes:16\")\n"
"var spell_targets = 0\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Значение флага должно быть не менее [code]1[/code] и не "
"более [code]2 ** 32 - 1[/code].\n"
"[b]Примечание:[/b] В отличие от [annotation @export_enum], предыдущее явное "
"значение не учитывается. В следующем примере A равно 16, B равно 2, C равно "
"4.\n"
"[codeblock]\n"
"@export_flags(\"A:16\", \"B\", \"C\") var x\n"
"[/codeblock]\n"
"Вы также можете использовать аннотацию на [Array][lb][int][rb], "
"[PackedByteArray], [PackedInt32Array], и [PackedInt64Array]\n"
"[codeblock]\n"
"@export_flags(\"Fire\", \"Water\", \"Earth\", \"Wind\") var phase_elements: "
"Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for 2D navigation layers. The "
"widget in the Inspector dock will use the layer names defined in [member "
"ProjectSettings.layer_names/2d_navigation/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_2D_NAVIGATION].\n"
"[codeblock]\n"
"@export_flags_2d_navigation var navigation_layers: int\n"
"@export_flags_2d_navigation var navigation_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство целого числа как поле битового флага для 2D слоев "
"навигации. Виджет в вкладке инспектора будет использовать имена слоев, "
"определённых в [member ProjectSettings.layer_names/2d_navigation/layer_1].\n"
"Также просмотрите [constant PROPERTY_HINT_LAYERS_2D_NAVIGATION].\n"
"[codeblock]\n"
"@export_flags_2d_navigation var navigation_layers: int\n"
"@export_flags_2d_navigation var navigation_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for 2D physics layers. The "
"widget in the Inspector dock will use the layer names defined in [member "
"ProjectSettings.layer_names/2d_physics/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_2D_PHYSICS].\n"
"[codeblock]\n"
"@export_flags_2d_physics var physics_layers: int\n"
"@export_flags_2d_physics var physics_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство целого числа как поле битового флага для 2D физики "
"слоев. Виджет в окне Инспектора будет использовать имена слоев, определённых "
"в [member ProjectSettings.layer_names/2d_physics/layer_1].\n"
"Также просмотрите [constant PROPERTY_HINT_LAYERS_2D_PHYSICS].\n"
"[codeblock]\n"
"@export_flags_2d_physics var physics_layers: int\n"
"@export_flags_2d_physics var physics_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for 2D render layers. The "
"widget in the Inspector dock will use the layer names defined in [member "
"ProjectSettings.layer_names/2d_render/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_2D_RENDER].\n"
"[codeblock]\n"
"@export_flags_2d_render var render_layers: int\n"
"@export_flags_2d_render var render_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство целого числа как поле битового флага для рендеринга 2D "
"слоев. Виджет в окне Инспектора будет использовать имена слоев, указанных в "
"[member ProjectSettings.layer_names/2d_render/layer_1].\n"
"Также просмотрите [constant PROPERTY_HINT_LAYERS_2D_RENDER].\n"
"[codeblock]\n"
"@export_flags_2d_render var render_layers: int\n"
"@export_flags_2d_render var render_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for 3D navigation layers. The "
"widget in the Inspector dock will use the layer names defined in [member "
"ProjectSettings.layer_names/3d_navigation/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_3D_NAVIGATION].\n"
"[codeblock]\n"
"@export_flags_3d_navigation var navigation_layers: int\n"
"@export_flags_3d_navigation var navigation_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство целого числа как поле битового флага для 3D слоёв "
"навигации. Виджет в Инспекторском доке будет использовать имена слоёв, "
"указанных в [member ProjectSettings.layer_names/3d_navigation/layer_1].\n"
"Также просмотрите [constant PROPERTY_HINT_LAYERS_3D_NAVIGATION].\n"
"[codeblock]\n"
"@export_flags_3d_navigation var navigation_layers: int\n"
"@export_flags_3d_navigation var navigation_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for 3D physics layers. The "
"widget in the Inspector dock will use the layer names defined in [member "
"ProjectSettings.layer_names/3d_physics/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_3D_PHYSICS].\n"
"[codeblock]\n"
"@export_flags_3d_physics var physics_layers: int\n"
"@export_flags_3d_physics var physics_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство целого числа как поле битового флага для 3D физических "
"слоев. Виджет в Инспекторском доке будет использовать имена слоёв, указанных "
"в [member ProjectSettings.layer_names/3d_physics/layer_1].\n"
"Также посмотрите [constant PROPERTY_HINT_LAYERS_3D_PHYSICS].\n"
"[codeblock]\n"
"@export_flags_3d_physics var physics_layers: int\n"
"@export_flags_3d_physics var physics_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for 3D render layers. The "
"widget in the Inspector dock will use the layer names defined in [member "
"ProjectSettings.layer_names/3d_render/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_3D_RENDER].\n"
"[codeblock]\n"
"@export_flags_3d_render var render_layers: int\n"
"@export_flags_3d_render var render_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство целого числа как поле битового флага для рендеринга 3D "
"слоев. Виджет в Инспекторском доке будет использовать имена слоёв, указанных "
"в [member ProjectSettings.layer_names/3d_render/layer_1].\n"
"Также посмотрите [constant PROPERTY_HINT_LAYERS_3D_RENDER].\n"
"[codeblock]\n"
"@export_flags_3d_render var render_layers: int\n"
"@export_flags_3d_render var render_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export an integer property as a bit flag field for navigation avoidance "
"layers. The widget in the Inspector dock will use the layer names defined in "
"[member ProjectSettings.layer_names/avoidance/layer_1].\n"
"See also [constant PROPERTY_HINT_LAYERS_AVOIDANCE].\n"
"[codeblock]\n"
"@export_flags_avoidance var avoidance_layers: int\n"
"@export_flags_avoidance var avoidance_layers_array: Array[int]\n"
"[/codeblock]"
msgstr ""
"Экспортирует целочисленное свойство как поле битового флага для слоев "
"избегания навигации. Виджет в Инспекторском доке будет использовать имена "
"слоёв, объявленных в [member ProjectSettings.layer_names/avoidance/layer_1].\n"
"Также посмотрите [constant PROPERTY_HINT_LAYERS_AVOIDANCE].\n"
"[codeblock]\n"
"@export_flags_avoidance var avoidance_layers: int\n"
"@export_flags_avoidance var avoidance_layers_array: Array[int]\n"
"[/codeblock]"
msgid ""
"Export a [String], [Array][lb][String][rb], or [PackedStringArray] property "
"as an absolute path to a directory. The path can be picked from the entire "
"filesystem. See [annotation @export_dir] to limit it to the project folder "
"and its subfolders.\n"
"See also [constant PROPERTY_HINT_GLOBAL_DIR].\n"
"[codeblock]\n"
"@export_global_dir var sprite_folder_path: String\n"
"@export_global_dir var sprite_folder_paths: Array[String]\n"
"[/codeblock]"
msgstr ""
"Экспортирует свойство [String], [Array][lb][String][rb] или "
"[PackedStringArray] как абсолютный путь к каталогу. Путь может быть взят из "
"всей файловой системы. Чтобы ограничиться папкой проекта и ее вложенными "
"папками, смотрите [annotation @export_dir].\n"
"Также просмотрите [constant PROPERTY_HINT_GLOBAL_DIR].\n"
"[codeblock]\n"
"@export_global_dir var sprite_folder_path: String\n"
"@export_global_dir var sprite_folder_paths: Array[String]\n"
"[/codeblock]"
msgid ""
"Export a [String], [Array][lb][String][rb], or [PackedStringArray] property "
"as an absolute path to a file. The path can be picked from the entire "
"filesystem. See [annotation @export_file] to limit it to the project folder "
"and its subfolders.\n"
"If [param filter] is provided, only matching files will be available for "
"picking.\n"
"See also [constant PROPERTY_HINT_GLOBAL_FILE].\n"
"[codeblock]\n"
"@export_global_file var sound_effect_path: String\n"
"@export_global_file(\"*.txt\") var notes_path: String\n"
"@export_global_file var multiple_paths: Array[String]\n"
"[/codeblock]"
msgstr ""
"Экспортируйте свойство [String], [Array][lb][String][rb] или "
"[PackedStringArray] как абсолютный путь к файлу. Путь может быть взят из всей "
"файловой системы. Используйте [annotation @export_file], чтобы ограничить его "
"до папок проекта или его подпапок.\n"
"Если указан [param filter], то для выборки будут доступны только совпадающие "
"файлы.\n"
"Также просмотрите [constant PROPERTY_HINT_GLOBAL_FILE].\n"
"[codeblock]\n"
"@export_global_file var sound_effect_path: String\n"
"@export_global_file(\"*.txt\") var notes_path: String\n"
"@export_global_file var multiple_paths: Array[String]\n"
"[/codeblock]"
msgid ""
"Define a new group for the following exported properties. This helps to "
"organize properties in the Inspector dock. Groups can be added with an "
"optional [param prefix], which would make group to only consider properties "
"that have this prefix. The grouping will break on the first property that "
"doesn't have a prefix. The prefix is also removed from the property's name in "
"the Inspector dock.\n"
"If no [param prefix] is provided, then every following property will be added "
"to the group. The group ends when then next group or category is defined. You "
"can also force end a group by using this annotation with empty strings for "
"parameters, [code]@export_group(\"\", \"\")[/code].\n"
"Groups cannot be nested, use [annotation @export_subgroup] to add subgroups "
"within groups.\n"
"See also [constant PROPERTY_USAGE_GROUP].\n"
"[codeblock]\n"
"@export_group(\"Racer Properties\")\n"
"@export var nickname = \"Nick\"\n"
"@export var age = 26\n"
"\n"
"@export_group(\"Car Properties\", \"car_\")\n"
"@export var car_label = \"Speedy\"\n"
"@export var car_number = 3\n"
"\n"
"@export_group(\"\", \"\")\n"
"@export var ungrouped_number = 3\n"
"[/codeblock]"
msgstr ""
"Определите новую группу для следующих экспортированных свойств. Это поможет "
"упорядочить свойства в доке Инспектора. Группы могут быть добавлены с "
"необязательным префиксом [param prefix], который заставит группу учитывать "
"только те свойства, которые имеют этот префикс. Группировка прервется на "
"первом свойстве, не имеющем префикса. Префикс также будет удален из имени "
"свойства в доке Инспектора.\n"
"Если префикс [param prefix] не указан, то каждое следующее свойство будет "
"добавлено в группу. Группа заканчивается, когда определяется следующая группа "
"или категория. Вы также можете принудительно завершить группу, используя эту "
"аннотацию с пустыми строками в качестве параметров, [code]@export_group(\"\", "
"\"\")[/code].\n"
"Группы не могут быть вложенными, используйте [annotation @export_subgroup] "
"для добавления подгрупп внутри групп.\n"
"См. также [constant PROPERTY_USAGE_GROUP].\n"
"[codeblock]\n"
"@export_group(\"Racer Properties\")\n"
"@export var nickname = \"Nick\"\n"
"@export var age = 26\n"
"\n"
"@export_group(\"Car Properties\", \"car_\")\n"
"@export var car_label = \"Speedy\"\n"
"@export var car_number = 3\n"
"\n"
"@export_group(\"\", \"\")\n"
"@export var ungrouped_number = 3\n"
"[/codeblock]"
msgid ""
"Export a [String], [Array][lb][String][rb], [PackedStringArray], [Dictionary] "
"or [Array][lb][Dictionary][rb] property with a large [TextEdit] widget "
"instead of a [LineEdit]. This adds support for multiline content and makes it "
"easier to edit large amount of text stored in the property.\n"
"See also [constant PROPERTY_HINT_MULTILINE_TEXT].\n"
"[codeblock]\n"
"@export_multiline var character_biography\n"
"@export_multiline var npc_dialogs: Array[String]\n"
"@export_multiline(\"monospace\", \"no_wrap\") var favorite_ascii_art: String\n"
"[/codeblock]"
msgstr ""
"Экспортируйте свойство типа [String], [Array][lb][String][rb], "
"[PackedStringArray], [Dictionary] или [Array][lb][Dictionary][rb] с помощью "
"большого виджета [TextEdit] вместо [LineEdit]. Это добавляет поддержку "
"многострочного содержимого и упрощает редактирование больших объемов текста, "
"хранящихся в свойстве.\n"
"См. также [constant PROPERTY_HINT_MULTILINE_TEXT].\n"
"[codeblock]\n"
"@export_multiline var character_biography\n"
"@export_multiline var npc_dialogs: Array[String]\n"
"@export_multiline(\"monospace\", \"no_wrap\") var favorite_ascii_art: String\n"
"[/codeblock]"
msgid ""
"Export a [NodePath] or [Array][lb][NodePath][rb] property with a filter for "
"allowed node types.\n"
"See also [constant PROPERTY_HINT_NODE_PATH_VALID_TYPES].\n"
"[codeblock]\n"
"@export_node_path(\"Button\", \"TouchScreenButton\") var some_button\n"
"@export_node_path(\"Button\", \"TouchScreenButton\") var many_buttons: "
"Array[NodePath]\n"
"[/codeblock]\n"
"[b]Note:[/b] The type must be a native class or a globally registered script "
"(using the [code]class_name[/code] keyword) that inherits [Node]."
msgstr ""
"Экспортирует свойство [NodePath] или [Array][lb][NodePath][rb] с фильтром для "
"разрешенных типов узлов.\n"
"См. также [constant PROPERTY_HINT_NODE_PATH_VALID_TYPES].\n"
"[codeblock]\n"
"@export_node_path(\"Button\", \"TouchScreenButton\") var some_button\n"
"@export_node_path(\"Button\", \"TouchScreenButton\") var many_buttons: "
"Array[NodePath]\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Тип должен быть собственным классом или глобально "
"зарегистрированным скриптом (с помощью ключевого слова [code]class_name[/"
"code]), который наследует [Node]."
msgid ""
"Export a [String], [Array][lb][String][rb], or [PackedStringArray] property "
"with a placeholder text displayed in the editor widget when no value is "
"present.\n"
"See also [constant PROPERTY_HINT_PLACEHOLDER_TEXT].\n"
"[codeblock]\n"
"@export_placeholder(\"Name in lowercase\") var character_id: String\n"
"@export_placeholder(\"Name in lowercase\") var friend_ids: Array[String]\n"
"[/codeblock]"
msgstr ""
"Экспортируйте свойство [String], [Array][lb][String][rb] или "
"[PackedStringArray] с текстом-заполнителем, отображаемым в виджете редактора, "
"если значение отсутствует.\n"
"См. также [constant PROPERTY_HINT_PLACEHOLDER_TEXT].\n"
"[codeblock]\n"
"@export_placeholder(\"Name in lowercase\") var character_id: String\n"
"@export_placeholder(\"Name in lowercase\") var friend_ids: Array[String]\n"
"[/codeblock]"
msgid ""
"Export an [int], [float], [Array][lb][int][rb], [Array][lb][float][rb], "
"[PackedByteArray], [PackedInt32Array], [PackedInt64Array], "
"[PackedFloat32Array], or [PackedFloat64Array] property as a range value. The "
"range must be defined by [param min] and [param max], as well as an optional "
"[param step] and a variety of extra hints. The [param step] defaults to "
"[code]1[/code] for integer properties. For floating-point numbers this value "
"depends on your [member EditorSettings.interface/inspector/"
"default_float_step] setting.\n"
"If hints [code]\"or_greater\"[/code] and [code]\"or_less\"[/code] are "
"provided, the editor widget will not cap the value at range boundaries. The "
"[code]\"exp\"[/code] hint will make the edited values on range to change "
"exponentially. The [code]\"prefer_slider\"[/code] hint will make integer "
"values use the slider instead of arrows for editing, while [code]"
"\"hide_control\"[/code] will hide the element controlling the value of the "
"editor widget.\n"
"Hints also allow to indicate the units for the edited value. Using [code]"
"\"radians_as_degrees\"[/code] you can specify that the actual value is in "
"radians, but should be displayed in degrees in the Inspector dock (the range "
"values are also in degrees). [code]\"degrees\"[/code] allows to add a degree "
"sign as a unit suffix (the value is unchanged). Finally, a custom suffix can "
"be provided using [code]\"suffix:unit\"[/code], where \"unit\" can be any "
"string.\n"
"See also [constant PROPERTY_HINT_RANGE].\n"
"[codeblock]\n"
"@export_range(0, 20) var number\n"
"@export_range(-10, 20) var number\n"
"@export_range(-10, 20, 0.2) var number: float\n"
"@export_range(0, 20) var numbers: Array[float]\n"
"\n"
"@export_range(0, 100, 1, \"or_greater\") var power_percent\n"
"@export_range(0, 100, 1, \"or_greater\", \"or_less\") var health_delta\n"
"\n"
"@export_range(-180, 180, 0.001, \"radians_as_degrees\") var angle_radians\n"
"@export_range(0, 360, 1, \"degrees\") var angle_degrees\n"
"@export_range(-8, 8, 2, \"suffix:px\") var target_offset\n"
"[/codeblock]"
msgstr ""
"Экспортируйте свойство типа [int], [float], [Array][lb][int][rb], [Array][lb]"
"[float][rb], [PackedByteArray], [PackedInt32Array], [PackedInt64Array], "
"[PackedFloat32Array] или [PackedFloat64Array] в качестве значения диапазона. "
"Диапазон должен быть определен параметрами [param min] и [param max], а также "
"необязательным параметром [param step] и различными дополнительными "
"подсказками. Параметр [param step] по умолчанию равен [code]1[/code] для "
"целочисленных свойств. Для чисел с плавающей запятой это значение зависит от "
"вашей настройки [member EditorSettings.interface/inspector/"
"default_float_step].\n"
"Если указаны подсказки [code]\"or_greater\"[/code] и [code]\"or_less\"[/"
"code], виджет редактора не будет ограничивать значение границами диапазона. "
"Подсказка [code]\"exp\"[/code] заставит редактируемые значения в диапазоне "
"изменяться экспоненциально. Подсказка [code]\"prefer_slider\"[/code] заставит "
"целочисленные значения использовать ползунок вместо стрелок для "
"редактирования, а [code]\"hide_control\"[/code] скроет элемент, управляющий "
"значением виджета редактора.\n"
"Подсказки также позволяют указывать единицы измерения редактируемого "
"значения. Используя [code]\"radians_as_degrees\"[/code], вы можете указать, "
"что фактическое значение указано в радианах, но должно отображаться в "
"градусах в панели инспектора (значения диапазона также указаны в градусах). "
"[code]\"degrees\"[/code] позволяет добавить знак градуса в качестве суффикса "
"единиц измерения (значение остается неизменным). Наконец, можно указать "
"пользовательский суффикс с помощью [code]\"suffix:unit\"[/code], где \"unit\" "
"может быть любой строкой.\n"
"См. также [constant PROPERTY_HINT_RANGE].\n"
"[codeblock]\n"
"@export_range(0, 20) var number\n"
"@export_range(-10, 20) var number\n"
"@export_range(-10, 20, 0.2) var number: float\n"
"@export_range(0, 20) var numbers: Array[float]\n"
"\n"
"@export_range(0, 100, 1, \"or_greater\") var power_percent\n"
"@export_range(0, 100, 1, \"or_greater\", \"or_less\") var health_delta\n"
"\n"
"@export_range(-180, 180, 0.001, \"radians_as_degrees\") var angle_radians\n"
"@export_range(0, 360, 1, \"degrees\") var angle_degrees\n"
"@export_range(-8, 8, 2, \"suffix:px\") var target_offset\n"
"[/codeblock]"
msgid ""
"Export a property with [constant PROPERTY_USAGE_STORAGE] flag. The property "
"is not displayed in the editor, but it is serialized and stored in the scene "
"or resource file. This can be useful for [annotation @tool] scripts. Also the "
"property value is copied when [method Resource.duplicate] or [method "
"Node.duplicate] is called, unlike non-exported variables.\n"
"[codeblock]\n"
"var a # Not stored in the file, not displayed in the editor.\n"
"@export_storage var b # Stored in the file, not displayed in the editor.\n"
"@export var c: int # Stored in the file, displayed in the editor.\n"
"[/codeblock]"
msgstr ""
"Экспорт свойства с [constant PROPERTY_USAGE_STORAGE] флажком. Свойство не "
"отображается в редакторе, но оно сериализуется и сохраняется в сцене или "
"файле ресурсов. Это может быть полезно для [annotation @tool] скриптов. Так "
"же значение свойства копируется, когда [method Resource.duplicate] или "
"[method Node.duplicate] вызывается, в отличии от не экспортируемых "
"переменных\n"
"[codeblock]\n"
"var a # Не хранится в файле, не отображается в редакторе .\n"
"@export_storage var b # Хранится в файле, не отображается в редакторе.\n"
"@export var c: int # Хранится в файле, отображается в редакторе.\n"
"[/codeblock]"
msgid ""
"Define a new subgroup for the following exported properties. This helps to "
"organize properties in the Inspector dock. Subgroups work exactly like "
"groups, except they need a parent group to exist. See [annotation "
"@export_group].\n"
"See also [constant PROPERTY_USAGE_SUBGROUP].\n"
"[codeblock]\n"
"@export_group(\"Racer Properties\")\n"
"@export var nickname = \"Nick\"\n"
"@export var age = 26\n"
"\n"
"@export_subgroup(\"Car Properties\", \"car_\")\n"
"@export var car_label = \"Speedy\"\n"
"@export var car_number = 3\n"
"[/codeblock]\n"
"[b]Note:[/b] Subgroups cannot be nested, but you can use the slash separator "
"([code]/[/code]) to achieve the desired effect:\n"
"[codeblock]\n"
"@export_group(\"Car Properties\")\n"
"@export_subgroup(\"Wheels\", \"wheel_\")\n"
"@export_subgroup(\"Wheels/Front\", \"front_wheel_\")\n"
"@export var front_wheel_strength = 10\n"
"@export var front_wheel_mobility = 5\n"
"@export_subgroup(\"Wheels/Rear\", \"rear_wheel_\")\n"
"@export var rear_wheel_strength = 8\n"
"@export var rear_wheel_mobility = 3\n"
"@export_subgroup(\"Wheels\", \"wheel_\")\n"
"@export var wheel_material: PhysicsMaterial\n"
"[/codeblock]"
msgstr ""
"Определите новую подгруппу для следующих экспортируемых свойств. Это помогает "
"организовать свойства в доке инспектора. Подгруппы работают точно так же, как "
"группы, за исключением того, что для них нужна родительская группа. См. "
"[annotation @export_group].\n"
"См. также [constant PROPERTY_USAGE_SUBGROUP].\n"
"[codeblock]\n"
"@export_group(\"Racer Properties\")\n"
"@export var nickname = \"Nick\"\n"
"@export var age = 26\n"
"\n"
"@export_subgroup(\"Car Properties\", \"car_\")\n"
"@export var car_label = \"Speedy\"\n"
"@export var car_number = 3\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Подгруппы не могут быть вложенными, но вы можете "
"использовать разделитель слеш ([code]/[/code]) для достижения желаемого "
"эффекта:\n"
"[codeblock]\n"
"@export_group(\"Car Properties\")\n"
"@export_subgroup(\"Wheels\", \"wheel_\")\n"
"@export_subgroup(\"Wheels/Front\", \"front_wheel_\")\n"
"@export var front_wheel_strength = 10\n"
"@export var front_wheel_mobility = 5\n"
"@export_subgroup(\"Wheels/Rear\", \"rear_wheel_\")\n"
"@export var rear_wheel_strength = 8\n"
"@export var rear_wheel_mobility = 3\n"
"@export_subgroup(\"Wheels\", \"wheel_\")\n"
"@export var wheel_material: PhysicsMaterial\n"
"[/codeblock]"
msgid ""
"Export a [Callable] property as a clickable button with the label [param "
"text]. When the button is pressed, the callable is called.\n"
"If [param icon] is specified, it is used to fetch an icon for the button via "
"[method Control.get_theme_icon], from the [code]\"EditorIcons\"[/code] theme "
"type. If [param icon] is omitted, the default [code]\"Callable\"[/code] icon "
"is used instead.\n"
"Consider using the [EditorUndoRedoManager] to allow the action to be reverted "
"safely.\n"
"See also [constant PROPERTY_HINT_TOOL_BUTTON].\n"
"[codeblock]\n"
"@tool\n"
"extends Sprite2D\n"
"\n"
"@export_tool_button(\"Hello\") var hello_action = hello\n"
"@export_tool_button(\"Randomize the color!\", \"ColorRect\")\n"
"var randomize_color_action = randomize_color\n"
"\n"
"func hello():\n"
"\tprint(\"Hello world!\")\n"
"\n"
"func randomize_color():\n"
"\tvar undo_redo = EditorInterface.get_editor_undo_redo()\n"
"\tundo_redo.create_action(\"Randomized Sprite2D Color\")\n"
"\tundo_redo.add_do_property(self, &\"self_modulate\", Color(randf(), randf(), "
"randf()))\n"
"\tundo_redo.add_undo_property(self, &\"self_modulate\", self_modulate)\n"
"\tundo_redo.commit_action()\n"
"[/codeblock]\n"
"[b]Note:[/b] The property is exported without the [constant "
"PROPERTY_USAGE_STORAGE] flag because a [Callable] cannot be properly "
"serialized and stored in a file.\n"
"[b]Note:[/b] In an exported project neither [EditorInterface] nor "
"[EditorUndoRedoManager] exist, which may cause some scripts to break. To "
"prevent this, you can use [method Engine.get_singleton] and omit the static "
"type from the variable declaration:\n"
"[codeblock]\n"
"var undo_redo = "
"Engine.get_singleton(&\"EditorInterface\").get_editor_undo_redo()\n"
"[/codeblock]\n"
"[b]Note:[/b] Avoid storing lambda callables in member variables of "
"[RefCounted]-based classes (e.g. resources), as this can lead to memory "
"leaks. Use only method callables and optionally [method Callable.bind] or "
"[method Callable.unbind]."
msgstr ""
"Экспортируйте свойство [Callable] как нажимаемую кнопку с меткой [param "
"text]. При нажатии кнопки вызывается вызываемое свойство.\n"
"Если указан [param icon], он используется для получения значка для кнопки "
"через [method Control.get_theme_icon] из типа темы [code]\"EditorIcons\"[/"
"code]. Если [param icon] опущен, вместо него используется значок по умолчанию "
"[code]\"Callable\"[/code].\n"
"Рассмотрите возможность использования [EditorUndoRedoManager], чтобы "
"обеспечить безопасную отмену действия.\n"
"Смотрите также [constant PROPERTY_HINT_TOOL_BUTTON].\n"
"[codeblock]\n"
"@tool\n"
"extends Sprite2D\n"
"\n"
"@export_tool_button(\"Hello\") var hello_action = hello\n"
"@export_tool_button(\"Randomize the color!\", \"ColorRect\")\n"
"var randomize_color_action = randomize_color\n"
"\n"
"func hello():\n"
"\tprint(\"Hello world!\")\n"
"\n"
"func randomize_color():\n"
"\tvar undo_redo = EditorInterface.get_editor_undo_redo()\n"
"\tundo_redo.create_action(\"Randomized Sprite2D Color\")\n"
"\tundo_redo.add_do_property(self, &\"self_modulate\", Color(randf(), randf(), "
"randf()))\n"
"\tundo_redo.add_undo_property(self, &\"self_modulate\", self_modulate)\n"
"\tundo_redo.commit_action()\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Свойство экспортируется без флага [constant "
"PROPERTY_USAGE_STORAGE], поскольку [Callable] не может быть правильно "
"сериализован и сохранен в файле.\n"
"[b]Примечание:[/b] В экспортированном проекте нет ни [EditorInterface], ни "
"[EditorUndoRedoManager], что может привести к поломке некоторых скриптов. "
"Чтобы предотвратить это, можно использовать [method Engine.get_singleton] и "
"опустить статический тип из объявления переменной:\n"
"[codeblock]\n"
"var undo_redo = "
"Engine.get_singleton(&\"EditorInterface\").get_editor_undo_redo()\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Избегайте хранения вызываемых лямбда-функций в переменных-"
"членах классов на основе [RefCounted] (например, ресурсов), так как это может "
"привести к утечкам памяти. Используйте только вызываемые методы и, по "
"желанию, [method Callable.bind] или [method Callable.unbind]."
msgid ""
"Add a custom icon to the current script. The icon specified at [param "
"icon_path] is displayed in the Scene dock for every node of that class, as "
"well as in various editor dialogs.\n"
"[codeblock]\n"
"@icon(\"res://path/to/class/icon.svg\")\n"
"[/codeblock]\n"
"[b]Note:[/b] Only the script can have a custom icon. Inner classes are not "
"supported.\n"
"[b]Note:[/b] As annotations describe their subject, the [annotation @icon] "
"annotation must be placed before the class definition and inheritance.\n"
"[b]Note:[/b] Unlike most other annotations, the argument of the [annotation "
"@icon] annotation must be a string literal (constant expressions are not "
"supported)."
msgstr ""
"Добавить пользовательский значок в текущий скрипт. Значок, указанный в [param "
"icon_path], отображается в доке сцены для каждого узла этого класса, а также "
"в различных диалоговых окнах редактора.\n"
"[codeblock]\n"
"@icon(\"res://path/to/class/icon.svg\")\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Только скрипт может иметь свой значок. Внутренние классы "
"не поддерживаются.\n"
"[b]Примечание:[/b] Поскольку аннотации описывают свой предмет, аннотация "
"[annotation @icon] должна быть размещена перед определением класса и "
"наследованием.\n"
"[b]Примечание:[/b] В отличие от большинства других аннотаций, аргумент "
"аннотации [annotation @icon] должен быть строковым литералом (константные "
"выражения не поддерживаются)."
msgid ""
"Mark the following property as assigned when the [Node] is ready. Values for "
"these properties are not assigned immediately when the node is initialized "
"([method Object._init]), and instead are computed and stored right before "
"[method Node._ready].\n"
"[codeblock]\n"
"@onready var character_name = $Label\n"
"[/codeblock]"
msgstr ""
"Отметьте следующее свойство как назначенное, когда [Node] готов. Значения для "
"этих свойств не назначаются немедленно при инициализации узла ([method "
"Object._init]), а вместо этого вычисляются и сохраняются непосредственно "
"перед [method Node._ready].\n"
"[codeblock]\n"
"@onready var character_name: Label = $Label\n"
"[/codeblock]"
msgid ""
"Mark the following method for remote procedure calls. See [url=$DOCS_URL/"
"tutorials/networking/high_level_multiplayer.html]High-level multiplayer[/"
"url].\n"
"If [param mode] is set as [code]\"any_peer\"[/code], allows any peer to call "
"this RPC function. Otherwise, only the authority peer is allowed to call it "
"and [param mode] should be kept as [code]\"authority\"[/code]. When "
"configuring functions as RPCs with [method Node.rpc_config], each of these "
"modes respectively corresponds to the [constant "
"MultiplayerAPI.RPC_MODE_AUTHORITY] and [constant "
"MultiplayerAPI.RPC_MODE_ANY_PEER] RPC modes. See [enum "
"MultiplayerAPI.RPCMode]. If a peer that is not the authority tries to call a "
"function that is only allowed for the authority, the function will not be "
"executed. If the error can be detected locally (when the RPC configuration is "
"consistent between the local and the remote peer), an error message will be "
"displayed on the sender peer. Otherwise, the remote peer will detect the "
"error and print an error there.\n"
"If [param sync] is set as [code]\"call_remote\"[/code], the function will "
"only be executed on the remote peer, but not locally. To run this function "
"locally too, set [param sync] to [code]\"call_local\"[/code]. When "
"configuring functions as RPCs with [method Node.rpc_config], this is "
"equivalent to setting [code]call_local[/code] to [code]true[/code].\n"
"The [param transfer_mode] accepted values are [code]\"unreliable\"[/code], "
"[code]\"unreliable_ordered\"[/code], or [code]\"reliable\"[/code]. It sets "
"the transfer mode of the underlying [MultiplayerPeer]. See [member "
"MultiplayerPeer.transfer_mode].\n"
"The [param transfer_channel] defines the channel of the underlying "
"[MultiplayerPeer]. See [member MultiplayerPeer.transfer_channel].\n"
"The order of [param mode], [param sync] and [param transfer_mode] does not "
"matter, but values related to the same argument must not be used more than "
"once. [param transfer_channel] always has to be the 4th argument (you must "
"specify 3 preceding arguments).\n"
"[codeblock]\n"
"@rpc\n"
"func fn(): pass\n"
"\n"
"@rpc(\"any_peer\", \"unreliable_ordered\")\n"
"func fn_update_pos(): pass\n"
"\n"
"@rpc(\"authority\", \"call_remote\", \"reliable\", 0) # Equivalent to @rpc\n"
"func fn_default(): pass\n"
"[/codeblock]\n"
"[b]Note:[/b] Methods annotated with [annotation @rpc] cannot receive objects "
"which define required parameters in [method Object._init]. See [method "
"Object._init] for more details."
msgstr ""
"Отметьте следующий метод для удаленных процедурных вызовов. См. "
"[url=$DOCS_URL/tutorials/networking/"
"high_level_multiplayer.html]Высокоуровневый многопользовательский режим[/"
"url].\n"
"Если [param mode] установлено как [code]\"any_peer\"[/code], это разрешает "
"любому узлу вызывать эту функцию RPC. В противном случае, вызывать ее может "
"только уполномоченный узел, и [param mode] следует оставить как [code]"
"\"authority\"[/code]. При настройке функций как RPC с помощью [method "
"Node.rpc_config] каждый из этих режимов соответствует режимам RPC [constant "
"MultiplayerAPI.RPC_MODE_AUTHORITY] и [constant "
"MultiplayerAPI.RPC_MODE_ANY_PEER]. См. [enum MultiplayerAPI.RPCMode]. Если "
"узел, не являющийся уполномоченным узлом, попытается вызвать функцию, "
"разрешенную только уполномоченному узлу, функция не будет выполнена. Если "
"ошибка обнаруживается локально (когда конфигурация RPC согласована между "
"локальным и удаленным узлом), сообщение об ошибке будет отображено на узле-"
"отправителе. В противном случае, удаленный узел обнаружит ошибку и выведет "
"сообщение об ошибке на свой узел.\n"
"Если [param sync] установлено как [code]\"call_remote\"[/code], функция будет "
"выполняться только на удаленном узле, но не локально. Чтобы запустить эту "
"функцию локально, установите [param sync] в [code]\"call_local\"[/code]. При "
"настройке функций как RPC с помощью [method Node.rpc_config] это эквивалентно "
"установке [code]call_local[/code] в [code]true[/code].\n"
"Принимаемые значения [param transfer_mode]: [code]\"unreliable\"[/code], "
"[code]\"unreliable_ordered\"[/code] или [code]\"reliable\"[/code]. Этот "
"параметр задает режим передачи данных для базового объекта [MultiplayerPeer]. "
"См. [member MultiplayerPeer.transfer_mode].\n"
"Параметр [param transfer_channel] определяет канал базового объекта "
"[MultiplayerPeer]. См. [member MultiplayerPeer.transfer_channel].\n"
"Порядок параметров [param mode], [param sync] и [param transfer_mode] не "
"имеет значения, но значения, относящиеся к одному и тому же аргументу, не "
"должны использоваться более одного раза. Параметр [param transfer_channel] "
"всегда должен быть 4-м аргументом (необходимо указать 3 предшествующих "
"аргумента).\n"
"[codeblock]\n"
"@rpc\n"
"func fn(): pass\n"
"\n"
"@rpc(\"any_peer\", \"unreliable_ordered\")\n"
"func fn_update_pos(): pass\n"
"\n"
"@rpc(\"authority\", \"call_remote\", \"reliable\", 0) # Эквивалентно @rpc\n"
"func fn_default(): pass\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Методы, аннотированные [annotation @rpc], не могут "
"принимать объекты, которые определяют обязательные параметры в [method "
"Object._init]. Дополнительные сведения см. в [method Object._init]."
msgid ""
"Make a script with static variables to not persist after all references are "
"lost. If the script is loaded again the static variables will revert to their "
"default values.\n"
"[b]Note:[/b] As annotations describe their subject, the [annotation "
"@static_unload] annotation must be placed before the class definition and "
"inheritance.\n"
"[b]Warning:[/b] Currently, due to a bug, scripts are never freed, even if "
"[annotation @static_unload] annotation is used."
msgstr ""
"Делает так, чтобы скрипт со статическими переменными не сохранялся после "
"потери всех ссылок. При повторной загрузке скрипта статическим переменным "
"будут установлены значения по умолчанию.\n"
"[b]Примечание: [/b] Поскольку аннотации описывают собственный предмет, "
"аннотация [annotation @static_unload] должна быть помещена перед объявлением "
"класса и наследованием.\n"
"[b]Предупреждение:[/b] В настоящее время, из-за ошибки скрипты никогда не "
"освобождаются, даже если используется аннотация [annotation @static_unload]."
msgid ""
"Mark the current script as a tool script, allowing it to be loaded and "
"executed by the editor. See [url=$DOCS_URL/tutorials/plugins/"
"running_code_in_the_editor.html]Running code in the editor[/url].\n"
"[codeblock]\n"
"@tool\n"
"extends Node\n"
"[/codeblock]\n"
"[b]Note:[/b] As annotations describe their subject, the [annotation @tool] "
"annotation must be placed before the class definition and inheritance."
msgstr ""
"Отметьте текущий скрипт как скрипт-инструмент, позволяя редактору загружать и "
"выполнять его. См. [url=$DOCS_URL/tutorials/plugins/"
"running_code_in_the_editor.html]Запуск кода в редакторе[/url]\n"
"[codeblock]\n"
"@tool\n"
"extends Node\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Поскольку аннотации описывают свой предмет, аннотация "
"[annotation @tool] должна быть помещена перед определением и наследованием "
"класса."
msgid ""
"Mark the following statement to ignore the specified [param warning]. See "
"[url=$DOCS_URL/tutorials/scripting/gdscript/warning_system.html]GDScript "
"warning system[/url].\n"
"[codeblock]\n"
"func test():\n"
"\tprint(\"hello\")\n"
"\treturn\n"
"\t@warning_ignore(\"unreachable_code\")\n"
"\tprint(\"unreachable\")\n"
"[/codeblock]\n"
"See also [annotation @warning_ignore_start] and [annotation "
"@warning_ignore_restore]."
msgstr ""
"Отметьте следующее утверждение, чтобы игнорировать указанное [param warning]. "
"См. [url=$DOCS_URL/tutorials/scripting/gdscript/warning_system.html]Система "
"предупреждений GDScript[/url].\n"
"[codeblock]\n"
"func test():\n"
"\tprint(\"hello\")\n"
"\treturn\n"
"\t@warning_ignore(\"unreachable_code\")\n"
"\tprint(\"unreachable\")\n"
"[/codeblock]\n"
"См. также [annotation @warning_ignore_start] и [annotation "
"@warning_ignore_restore]."
msgid ""
"Stops ignoring the listed warning types after [annotation "
"@warning_ignore_start]. Ignoring the specified warning types will be reset to "
"Project Settings. This annotation can be omitted to ignore the warning types "
"until the end of the file.\n"
"[b]Note:[/b] Unlike most other annotations, arguments of the [annotation "
"@warning_ignore_restore] annotation must be string literals (constant "
"expressions are not supported)."
msgstr ""
"Прекращает игнорировать перечисленные типы предупреждений после [annotation "
"@warning_ignore_start]. Игнорирование указанных типов предупреждений будет "
"сброшено до настроек проекта. Эту аннотацию можно опустить, чтобы "
"игнорировать типы предупреждений до конца файла.\n"
"[b]Примечание:[/b] В отличие от большинства других аннотаций, аргументы "
"аннотации [annotation @warning_ignore_restore] должны быть строковыми "
"литералами (константные выражения не поддерживаются)."
msgid ""
"Starts ignoring the listed warning types until the end of the file or the "
"[annotation @warning_ignore_restore] annotation with the given warning type.\n"
"[codeblock]\n"
"func test():\n"
"\tvar a = 1 # Warning (if enabled in the Project Settings).\n"
"\t@warning_ignore_start(\"unused_variable\")\n"
"\tvar b = 2 # No warning.\n"
"\tvar c = 3 # No warning.\n"
"\t@warning_ignore_restore(\"unused_variable\")\n"
"\tvar d = 4 # Warning (if enabled in the Project Settings).\n"
"[/codeblock]\n"
"[b]Note:[/b] To suppress a single warning, use [annotation @warning_ignore] "
"instead.\n"
"[b]Note:[/b] Unlike most other annotations, arguments of the [annotation "
"@warning_ignore_start] annotation must be string literals (constant "
"expressions are not supported)."
msgstr ""
"Начинает игнорировать перечисленные типы предупреждений до конца файла или "
"аннотации [annotation @warning_ignore_restore] с указанным типом "
"предупреждения.\n"
"[codeblock]\n"
"func test():\n"
"\tvar a = 1 # Warning (if enabled in the Project Settings).\n"
"\t@warning_ignore_start(\"unused_variable\")\n"
"\tvar b = 2 # No warning.\n"
"\tvar c = 3 # No warning.\n"
"\t@warning_ignore_restore(\"unused_variable\")\n"
"\tvar d = 4 # Warning (if enabled in the Project Settings).\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Чтобы подавить одно предупреждение, используйте вместо "
"этого [annotation @warning_ignore].\n"
"[b]Примечание:[/b] В отличие от большинства других аннотаций, аргументы "
"аннотации [annotation @warning_ignore_start] должны быть строковыми "
"литералами (константные выражения не поддерживаются)."
msgid "Global scope constants and functions."
msgstr "Константы и функции глобальной области видимости."
msgid ""
"A list of global scope enumerated constants and built-in functions. This is "
"all that resides in the globals, constants regarding error codes, keycodes, "
"property hints, etc.\n"
"Singletons are also documented here, since they can be accessed from "
"anywhere.\n"
"For the entries that can only be accessed from scripts written in GDScript, "
"see [@GDScript]."
msgstr ""
"Список глобальных областей видимости, перечисленных констант и встроенных "
"функций. Это все, что находится в глобальных, константах, касающихся кодов "
"ошибок, кодов клавиш, подсказок свойств и т. д.\n"
"Здесь также документируются синглтоны, поскольку к ним можно получить доступ "
"из любой точки мира.\n"
"Информацию о записях, доступ к которым возможен только из скриптов, "
"написанных на GDScript, см. в [@GDScript]."
msgid "Random number generation"
msgstr "Генерация случайных чисел"
msgid ""
"Returns the absolute value of a [Variant] parameter [param x] (i.e. non-"
"negative value). Supported types: [int], [float], [Vector2], [Vector2i], "
"[Vector3], [Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"var a = abs(-1)\n"
"# a is 1\n"
"\n"
"var b = abs(-1.2)\n"
"# b is 1.2\n"
"\n"
"var c = abs(Vector2(-3.5, -4))\n"
"# c is (3.5, 4)\n"
"\n"
"var d = abs(Vector2i(-5, -6))\n"
"# d is (5, 6)\n"
"\n"
"var e = abs(Vector3(-7, 8.5, -3.8))\n"
"# e is (7, 8.5, 3.8)\n"
"\n"
"var f = abs(Vector3i(-7, -8, -9))\n"
"# f is (7, 8, 9)\n"
"[/codeblock]\n"
"[b]Note:[/b] For better type safety, use [method absf], [method absi], "
"[method Vector2.abs], [method Vector2i.abs], [method Vector3.abs], [method "
"Vector3i.abs], [method Vector4.abs], or [method Vector4i.abs]."
msgstr ""
"Возвращает абсолютное значение [Variant] параметра [param x] (т.е "
"положительное значение). Поддерживаемые типы данных: [int], [float], "
"[Vector2], [Vector2i], [Vector3], [Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"var a = abs(-1)\n"
"# a это 1\n"
"\n"
"var b = abs(-1.2)\n"
"# b это 1.2\n"
"\n"
"var c = abs(Vector2(-3.5, -4))\n"
"# c это (3.5, 4)\n"
"\n"
"var d = abs(Vector2i(-5, -6))\n"
"# d это (5, 6)\n"
"\n"
"var e = abs(Vector3(-7, 8.5, -3.8))\n"
"# e это (7, 8.5, 3.8)\n"
"\n"
"var f = abs(Vector3i(-7, -8, -9))\n"
"# f это (7, 8, 9)\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Для лучшей безопасности типов, используйте методы [method "
"absf], [method absi], [method Vector2.abs], [method Vector2i.abs], [method "
"Vector3.abs], [method Vector3i.abs], [method Vector4.abs], или [method "
"Vector4i.abs]."
msgid ""
"Returns the absolute value of float parameter [param x] (i.e. positive "
"value).\n"
"[codeblock]\n"
"# a is 1.2\n"
"var a = absf(-1.2)\n"
"[/codeblock]"
msgstr ""
"Возвращает абсолютное значение параметра float [param x] (т.е. положительное "
"значение).\n"
"[codeblock]\n"
"# a is 1.2\n"
"var a = absf(-1.2)\n"
"[/codeblock]"
msgid ""
"Returns the absolute value of int parameter [param x] (i.e. positive value).\n"
"[codeblock]\n"
"# a is 1\n"
"var a = absi(-1)\n"
"[/codeblock]"
msgstr ""
"Возвращает абсолютное значение параметра int [param x] (т.е. положительное "
"значение).\n"
"[codeblock]\n"
"# a is 1\n"
"var a = absi(-1)\n"
"[/codeblock]"
msgid ""
"Returns the arc cosine of [param x] in radians. Use to get the angle of "
"cosine [param x]. [param x] will be clamped between [code]-1.0[/code] and "
"[code]1.0[/code] (inclusive), in order to prevent [method acos] from "
"returning [constant @GDScript.NAN].\n"
"[codeblock]\n"
"# c is 0.523599 or 30 degrees if converted with rad_to_deg(c)\n"
"var c = acos(0.866025)\n"
"[/codeblock]"
msgstr ""
"Возвращает арккосинус [param x] в радианах. Используйте для получения угла "
"косинуса [param x]. [param x] будет ограничено между [code]-1.0[/code] и "
"[code]1.0[/code] (включительно), чтобы предотвратить возврат [method acos] "
"[constant @GDScript.NAN].\n"
"[codeblock]\n"
"# c равен 0,523599 или 30 градусов, если преобразовано с помощью "
"rad_to_deg(c)\n"
"var c = acos(0.866025)\n"
"[/codeblock]"
msgid ""
"Returns the hyperbolic arc (also called inverse) cosine of [param x], "
"returning a value in radians. Use it to get the angle from an angle's cosine "
"in hyperbolic space if [param x] is larger or equal to 1. For values of "
"[param x] lower than 1, it will return 0, in order to prevent [method acosh] "
"from returning [constant @GDScript.NAN].\n"
"[codeblock]\n"
"var a = acosh(2) # Returns 1.31695789692482\n"
"cosh(a) # Returns 2\n"
"\n"
"var b = acosh(-1) # Returns 0\n"
"[/codeblock]"
msgstr ""
"Возвращает гиперболический дуговой (также называемый обратным) косинус [param "
"x], возвращая значение в радианах. Используйте его для получения угла из "
"косинуса угла в гиперболическом пространстве, если [param x] больше или равен "
"1. Для значений [param x] меньше 1 он вернет 0, чтобы предотвратить возврат "
"[method acosh] [constant @GDScript.NAN].\n"
"[codeblock]\n"
"var a = acosh(2) # Returns 1.31695789692482\n"
"cosh(a) # Returns 2\n"
"\n"
"var b = acosh(-1) # Returns 0\n"
"[/codeblock]"
msgid ""
"Returns the difference between the two angles (in radians), in the range of "
"[code][-PI, +PI][/code]. When [param from] and [param to] are opposite, "
"returns [code]-PI[/code] if [param from] is smaller than [param to], or "
"[code]PI[/code] otherwise."
msgstr ""
"Возвращает разницу между двумя углами (в радианах) в диапазоне [code][-PI, "
"+PI[/code]. Когда [param from] и [param to] противоположны, возвращает [code]-"
"PI[/code], если [param from] меньше, чем [param to], или [code]PI[/code] в "
"противном случае."
msgid ""
"Returns the arc sine of [param x] in radians. Use to get the angle of sine "
"[param x]. [param x] will be clamped between [code]-1.0[/code] and [code]1.0[/"
"code] (inclusive), in order to prevent [method asin] from returning [constant "
"@GDScript.NAN].\n"
"[codeblock]\n"
"# s is 0.523599 or 30 degrees if converted with rad_to_deg(s)\n"
"var s = asin(0.5)\n"
"[/codeblock]"
msgstr ""
"Возвращает арксинус [param x] в радианах. Используйте для получения угла "
"синуса [param x]. [param x] будет ограничено между [code]-1.0[/code] и "
"[code]1.0[/code] (включительно), чтобы предотвратить возврат [method asin] "
"[constant @GDScript.NAN].\n"
"[codeblock]\n"
"# s равен 0,523599 или 30 градусам, если преобразовано с помощью "
"rad_to_deg(s)\n"
"var s = asin(0.5)\n"
"[/codeblock]"
msgid ""
"Returns the hyperbolic arc (also called inverse) sine of [param x], returning "
"a value in radians. Use it to get the angle from an angle's sine in "
"hyperbolic space.\n"
"[codeblock]\n"
"var a = asinh(0.9) # Returns 0.8088669356527824\n"
"sinh(a) # Returns 0.9\n"
"[/codeblock]"
msgstr ""
"Возвращает гиперболический дуговой (также называемый обратным) синус [param "
"x], возвращая значение в радианах. Используйте его, чтобы получить угол из "
"синуса угла в гиперболическом пространстве.\n"
"[codeblock]\n"
"var a = asinh(0.9) # Returns 0.8088669356527824\n"
"sinh(a) # Returns 0.9\n"
"[/codeblock]"
msgid ""
"Returns the arc tangent of [param x] in radians. Use it to get the angle from "
"an angle's tangent in trigonometry.\n"
"The method cannot know in which quadrant the angle should fall. See [method "
"atan2] if you have both [code]y[/code] and [code skip-lint]x[/code].\n"
"[codeblock]\n"
"var a = atan(0.5) # a is 0.463648\n"
"[/codeblock]\n"
"If [param x] is between [code]-PI / 2[/code] and [code]PI / 2[/code] "
"(inclusive), [code]atan(tan(x))[/code] is equal to [param x]."
msgstr ""
"Возвращает арктангенс [param x] в радианах. Используйте его для получения "
"угла из тангенса угла в тригонометрии.\n"
"Метод не может знать, в какой квадрант должен попасть угол. Смотрите [method "
"atan2], если у вас есть и [code]y[/code], и [code skip-lint]x[/code].\n"
"[codeblock]\n"
"var a = atan(0.5) # a is 0.463648\n"
"[/codeblock]\n"
"Если [param x] находится между [code]-PI / 2[/code] и [code]PI / 2[/code] "
"(включительно), [code]atan(tan(x))[/code] равен [param x]."
msgid ""
"Returns the arc tangent of [code]y/x[/code] in radians. Use to get the angle "
"of tangent [code]y/x[/code]. To compute the value, the method takes into "
"account the sign of both arguments in order to determine the quadrant.\n"
"Important note: The Y coordinate comes first, by convention.\n"
"[codeblock]\n"
"var a = atan2(0, -1) # a is 3.141593\n"
"[/codeblock]"
msgstr ""
"Возвращает арктангенс [code]y/x[/code] в радианах. Используйте для получения "
"угла тангенса [code]y/x[/code]. Для вычисления значения метод учитывает знак "
"обоих аргументов, чтобы определить квадрант.\n"
"Важное примечание: по соглашению координата Y идет первой.\n"
"[codeblock]\n"
"var a = atan2(0, -1) # a is 3.141593\n"
"[/codeblock]"
msgid ""
"Returns the hyperbolic arc (also called inverse) tangent of [param x], "
"returning a value in radians. Use it to get the angle from an angle's tangent "
"in hyperbolic space if [param x] is between -1 and 1 (non-inclusive).\n"
"In mathematics, the inverse hyperbolic tangent is only defined for -1 < "
"[param x] < 1 in the real set, so values equal or lower to -1 for [param x] "
"return negative [constant @GDScript.INF] and values equal or higher than 1 "
"return positive [constant @GDScript.INF] in order to prevent [method atanh] "
"from returning [constant @GDScript.NAN].\n"
"[codeblock]\n"
"var a = atanh(0.9) # Returns 1.47221948958322\n"
"tanh(a) # Returns 0.9\n"
"\n"
"var b = atanh(-2) # Returns -inf\n"
"tanh(b) # Returns -1\n"
"[/codeblock]"
msgstr ""
"Возвращает тангенс гиперболической дуги (также называемой обратной) к [param "
"x], возвращая значение в радианах. Используется для получения угла из "
"тангенса угла в гиперболическом пространстве, если [param x] находится в "
"диапазоне от -1 до 1 (не включительно).\n"
"В математике обратный гиперболический тангенс определен только для -1 < "
"[param x] < 1 в вещественном множестве, поэтому значения, равные или меньшие "
"-1 для [param x], возвращают отрицательные [constant @GDScript.INF], а "
"значения, равные или большие 1, возвращают положительные [constant "
"@GDScript.INF], чтобы [method atanh] не возвращал [constant @GDScript.NAN].\n"
"[codeblock].\n"
"var a = atanh(0.9) # Возвращает 1.47221948958322\n"
"tanh(a) # Возвращает 0.9\n"
"\n"
"var b = atanh(-2) # Возвращает -inf\n"
"tanh(b) # Возвращает -1\n"
"[/codeblock]"
msgid ""
"Returns the derivative at the given [param t] on a one-dimensional "
"[url=https://en.wikipedia.org/wiki/B%C3%A9zier_curve]Bézier curve[/url] "
"defined by the given [param control_1], [param control_2], and [param end] "
"points."
msgstr ""
"Возвращает производную при заданной [param t] на одномерной [url=https://"
"ru.wikipedia.org/wiki/Кривая_Безье]кривой Безье[/url], заданной точками "
"[param control_1], [param control_2] и [param end]."
msgid ""
"Returns the point at the given [param t] on a one-dimensional [url=https://"
"en.wikipedia.org/wiki/B%C3%A9zier_curve]Bézier curve[/url] defined by the "
"given [param control_1], [param control_2], and [param end] points."
msgstr ""
"Возвращает точку в заданной точке [param t] на одномерной [url=https://"
"ru.wikipedia.org/wiki/Кривая_Безье]кривой Безье[/url], определяемой заданными "
"точками [param control_1], [param control_2] и [param end]."
msgid ""
"Decodes a byte array back to a [Variant] value, without decoding objects.\n"
"[b]Note:[/b] If you need object deserialization, see [method "
"bytes_to_var_with_objects]."
msgstr ""
"Декодирует байтовый массив обратно в значение [Variant], без декодирования "
"объектов.\n"
"[b]Примечание:[/b] Если вам нужна десериализация объектов, смотрите [method "
"bytes_to_var_with_objects]."
msgid ""
"Decodes a byte array back to a [Variant] value. Decoding objects is allowed.\n"
"[b]Warning:[/b] Deserialized object can contain code which gets executed. Do "
"not use this option if the serialized object comes from untrusted sources to "
"avoid potential security threats (remote code execution)."
msgstr ""
"Декодирует массив байтов обратно в значение [Variant]. Декодирование объектов "
"разрешено.\n"
"[b]Предупреждение:[/b] Десериализованный объект может содержать код, который "
"будет выполнен. Не используйте эту опцию, если сериализованный объект получен "
"из ненадежных источников, чтобы избежать потенциальных угроз безопасности "
"(удаленное выполнение кода)."
msgid ""
"Rounds [param x] upward (towards positive infinity), returning the smallest "
"whole number that is not less than [param x]. Supported types: [int], "
"[float], [Vector2], [Vector2i], [Vector3], [Vector3i], [Vector4], "
"[Vector4i].\n"
"[codeblock]\n"
"var i = ceil(1.45) # i is 2.0\n"
"i = ceil(1.001) # i is 2.0\n"
"[/codeblock]\n"
"See also [method floor], [method round], and [method snapped].\n"
"[b]Note:[/b] For better type safety, use [method ceilf], [method ceili], "
"[method Vector2.ceil], [method Vector3.ceil], or [method Vector4.ceil]."
msgstr ""
"Округляет [param x] в большую сторону (в сторону положительной "
"бесконечности), возвращая наименьшее целое число, которое не меньше [param "
"x]. Поддерживаемые типы: [int], [float], [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"var i = ceil(1.45) # i is 2.0\n"
"i = ceil(1.001) # i is 2.0\n"
"[/codeblock]\n"
"См. также [method floor], [method round], и [method snapped].\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method ceilf], "
"[method ceili], [method Vector2.ceil], [method Vector3.ceil], или [method "
"Vector4.ceil]."
msgid ""
"Rounds [param x] upward (towards positive infinity), returning the smallest "
"whole number that is not less than [param x].\n"
"A type-safe version of [method ceil], returning a [float]."
msgstr ""
"Округляет [param x] в большую сторону (в сторону положительной "
"бесконечности), возвращая наименьшее целое число, которое не меньше [param "
"x].\n"
"Типобезопасная версия [method ceil], возвращающая [float]."
msgid ""
"Rounds [param x] upward (towards positive infinity), returning the smallest "
"whole number that is not less than [param x].\n"
"A type-safe version of [method ceil], returning an [int]."
msgstr ""
"Округляет [param x] в большую сторону (в сторону положительной "
"бесконечности), возвращая наименьшее целое число, которое не меньше [param "
"x].\n"
"Типобезопасная версия [method ceil], возвращающая [int]."
msgid ""
"Clamps the [param value], returning a [Variant] not less than [param min] and "
"not more than [param max]. Any values that can be compared with the less than "
"and greater than operators will work.\n"
"[codeblock]\n"
"var a = clamp(-10, -1, 5)\n"
"# a is -1\n"
"\n"
"var b = clamp(8.1, 0.9, 5.5)\n"
"# b is 5.5\n"
"[/codeblock]\n"
"[b]Note:[/b] For better type safety, use [method clampf], [method clampi], "
"[method Vector2.clamp], [method Vector2i.clamp], [method Vector3.clamp], "
"[method Vector3i.clamp], [method Vector4.clamp], [method Vector4i.clamp], or "
"[method Color.clamp] (not currently supported by this method).\n"
"[b]Note:[/b] When using this on vectors it will [i]not[/i] perform component-"
"wise clamping, and will pick [param min] if [code]value < min[/code] or "
"[param max] if [code]value > max[/code]. To perform component-wise clamping "
"use the methods listed above."
msgstr ""
"Фиксирует [param value], возвращая [Variant] не меньше [param min] и не "
"больше [param max]. Будут работать любые значения, которые можно сравнить с "
"операторами «меньше» и «больше».\n"
"[codeblock]\n"
"var a = clamp(-10, -1, 5)\n"
"# a is -1\n"
"\n"
"var b = clamp(8.1, 0.9, 5.5)\n"
"# b is 5.5\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method clampf], "
"[method clampi], [method Vector2.clamp], [method Vector2i.clamp], [method "
"Vector3.clamp], [method Vector3i.clamp], [method Vector4.clamp], [method "
"Vector4i.clamp] или [method Color.clamp] (в настоящее время не поддерживается "
"этим методом).\n"
"[b]Примечание:[/b] При использовании этого на векторах он [i]не[/i] будет "
"выполнять покомпонентное ограничение, а выберет [param min], если [code]value "
"< min[/code] или [param max], если [code]value > max[/code]. Для выполнения "
"покомпонентного ограничения используйте методы, перечисленные выше."
msgid ""
"Clamps the [param value], returning a [float] not less than [param min] and "
"not more than [param max].\n"
"[codeblock]\n"
"var speed = 42.1\n"
"var a = clampf(speed, 1.0, 20.5) # a is 20.5\n"
"\n"
"speed = -10.0\n"
"var b = clampf(speed, -1.0, 1.0) # b is -1.0\n"
"[/codeblock]"
msgstr ""
"Ограничивает [param value], возвращая [float] не меньше [param min] и не "
"больше [param max].\n"
"[codeblock].\n"
"var speed = 42.1\n"
"var a = clampf(speed, 1.0, 20.5) # a равен 20.5\n"
"\n"
"speed = -10.0\n"
"var b = clampf(speed, -1.0, 1.0) # b равен -1.0\n"
"[/codeblock]"
msgid ""
"Clamps the [param value], returning an [int] not less than [param min] and "
"not more than [param max].\n"
"[codeblock]\n"
"var speed = 42\n"
"var a = clampi(speed, 1, 20) # a is 20\n"
"\n"
"speed = -10\n"
"var b = clampi(speed, -1, 1) # b is -1\n"
"[/codeblock]"
msgstr ""
"Зажимает [param value], возвращая [int] не меньше [param min] и не больше "
"[param max].\n"
"[codeblock].\n"
"var speed = 42\n"
"var a = clampi(speed, 1, 20) # a равно 20\n"
"\n"
"speed = -10\n"
"var b = clampi(speed, -1, 1) # b равно -1\n"
"[/codeblock]"
msgid ""
"Returns the cosine of angle [param angle_rad] in radians.\n"
"[codeblock]\n"
"cos(PI * 2) # Returns 1.0\n"
"cos(PI) # Returns -1.0\n"
"cos(deg_to_rad(90)) # Returns 0.0\n"
"[/codeblock]"
msgstr ""
"Возвращает косинус угла [param angle_rad] в радианах.\n"
"[codeblock].\n"
"cos(PI * 2) # Возвращает 1.0\n"
"cos(PI) # Возвращает -1.0\n"
"cos(deg_to_rad(90)) # Возвращает 0.0\n"
"[/codeblock]"
msgid ""
"Returns the hyperbolic cosine of [param x] in radians.\n"
"[codeblock]\n"
"print(cosh(1)) # Prints 1.543081\n"
"[/codeblock]"
msgstr ""
"Возвращает гиперболический косинус [param x] в радианах.\n"
"[codeblock]\n"
"print(cosh(1)) # Выводит 1.543081\n"
"[/codeblock]"
msgid ""
"Cubic interpolates between two values by the factor defined in [param weight] "
"with [param pre] and [param post] values."
msgstr ""
"Кубическая интерполяция между двумя значениями по коэффициенту, определенному "
"в [param weight], и значениями [param pre] и [param post]."
msgid ""
"Cubic interpolates between two rotation values with shortest path by the "
"factor defined in [param weight] with [param pre] and [param post] values. "
"See also [method lerp_angle]."
msgstr ""
"Кубическая интерполяция между двумя значениями вращения с кратчайшим путем по "
"коэффициенту, определенному в [param weight] со значениями [param pre] и "
"[param post]. См. также [method lerp_angle]."
msgid ""
"Cubic interpolates between two rotation values with shortest path by the "
"factor defined in [param weight] with [param pre] and [param post] values. "
"See also [method lerp_angle].\n"
"It can perform smoother interpolation than [method cubic_interpolate_angle] "
"by the time values."
msgstr ""
"Выполняет кубическую интерполяцию между двумя значениями вращения по "
"кратчайшему пути с коэффициентом, заданным параметром [param weight], "
"используя значения [param pre] и [param post]. См. также [method "
"lerp_angle].\n"
"Позволяет добиться более плавной интерполяции (с учётом временных значений) "
"по сравнению с [method cubic_interpolate_angle]."
msgid ""
"Cubic interpolates between two values by the factor defined in [param weight] "
"with [param pre] and [param post] values.\n"
"It can perform smoother interpolation than [method cubic_interpolate] by the "
"time values."
msgstr ""
"Кубическая интерполяция между двумя значениями с помощью коэффициента, "
"определенного в [param weight] со значениями [param pre] и [param post].\n"
"Он может выполнять более плавную интерполяцию, чем [method cubic_interpolate] "
"по значениям времени."
msgid "Converts from decibels to linear energy (audio)."
msgstr "Преобразует децибелы в линейную энергию (аудио)."
msgid ""
"Converts an angle expressed in degrees to radians.\n"
"[codeblock]\n"
"var r = deg_to_rad(180) # r is 3.141593\n"
"[/codeblock]"
msgstr ""
"Преобразует угол, выраженный в градусах, в радианы.\n"
"[codeblock]\n"
"r = deg2rad(180) # r = 3.141593\n"
"[/codeblock]"
msgid ""
"Returns an \"eased\" value of [param x] based on an easing function defined "
"with [param curve]. This easing function is based on an exponent. The [param "
"curve] can be any floating-point number, with specific values leading to the "
"following behaviors:\n"
"[codeblock lang=text]\n"
"- Lower than -1.0 (exclusive): Ease in-out\n"
"- -1.0: Linear\n"
"- Between -1.0 and 0.0 (exclusive): Ease out-in\n"
"- 0.0: Constant\n"
"- Between 0.0 to 1.0 (exclusive): Ease out\n"
"- 1.0: Linear\n"
"- Greater than 1.0 (exclusive): Ease in\n"
"[/codeblock]\n"
"[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/"
"ease_cheatsheet.png]ease() curve values cheatsheet[/url]\n"
"See also [method smoothstep]. If you need to perform more advanced "
"transitions, use [method Tween.interpolate_value]."
msgstr ""
"Возвращает \"облегченное\" значение [param x] на основе функции облегчения, "
"определенной с помощью [param curve]. Эта функция облегчения основана на "
"экспоненте. [param curve] может быть любым числом с плавающей точкой, с "
"определенными значениями, приводящими к следующим поведениям:\n"
"[codeblock lang=text]\n"
"- Lower than -1.0 (exclusive): Ease in-out\n"
"- -1.0: Linear\n"
"- Between -1.0 and 0.0 (exclusive): Ease out-in\n"
"- 0.0: Constant\n"
"- Between 0.0 to 1.0 (exclusive): Ease out\n"
"- 1.0: Linear\n"
"- Greater than 1.0 (exclusive): Ease in\n"
"[/codeblock]\n"
"[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/"
"ease_cheatsheet.png]ease() шпаргалка по значениям кривых[/url]\n"
"См. также [method smoothstep]. Если вам нужно выполнить более сложные "
"переходы, используйте [method Tween.interpolate_value]."
msgid ""
"Returns a human-readable name for the given [enum Error] code.\n"
"[codeblock]\n"
"print(OK) # Prints 0\n"
"print(error_string(OK)) # Prints \"OK\"\n"
"print(error_string(ERR_BUSY)) # Prints \"Busy\"\n"
"print(error_string(ERR_OUT_OF_MEMORY)) # Prints \"Out of memory\"\n"
"[/codeblock]"
msgstr ""
"Возвращает понятное человеку имя для указанного кода [enum Error].\n"
"[codeblock]\n"
"print(OK) # Выводит 0\n"
"print(error_string(OK)) # Выводит \"OK\"\n"
"print(error_string(ERR_BUSY)) # Выводит \"Busy\"\n"
"print(error_string(ERR_OUT_OF_MEMORY)) # Выводит \"Out of memory\"\n"
"[/codeblock]"
msgid ""
"The natural exponential function. It raises the mathematical constant [i]e[/"
"i] to the power of [param x] and returns it.\n"
"[i]e[/i] has an approximate value of 2.71828, and can be obtained with "
"[code]exp(1)[/code].\n"
"For exponents to other bases use the method [method pow].\n"
"[codeblock]\n"
"var a = exp(2) # Approximately 7.39\n"
"[/codeblock]"
msgstr ""
"Естественная показательная функция. Возводит математическую константу [i]e[/"
"i] в степень [param x] и возвращает ее.\n"
"[i]e[/i] имеет приблизительное значение 2,71828 и может быть получено с "
"помощью [code]exp(1)[/code].\n"
"Для возведения в степень с другими основаниями используйте method [method "
"pow].\n"
"[codeblock]\n"
"var a = exp(2) # Примерно 7.39\n"
"[/codeblock]"
msgid ""
"Rounds [param x] downward (towards negative infinity), returning the largest "
"whole number that is not more than [param x]. Supported types: [int], "
"[float], [Vector2], [Vector2i], [Vector3], [Vector3i], [Vector4], "
"[Vector4i].\n"
"[codeblock]\n"
"var a = floor(2.99) # a is 2.0\n"
"a = floor(-2.99) # a is -3.0\n"
"[/codeblock]\n"
"See also [method ceil], [method round], and [method snapped].\n"
"[b]Note:[/b] For better type safety, use [method floorf], [method floori], "
"[method Vector2.floor], [method Vector3.floor], or [method Vector4.floor]."
msgstr ""
"Округляет [param x] в меньшую сторону (в сторону отрицательной "
"бесконечности), возвращая наибольшее целое число, которое не больше [param "
"x]. Поддерживаемые типы: [int], [float], [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"var a = floor(2.99) # a is 2.0\n"
"a = floor(-2.99) # a is -3.0\n"
"[/codeblock]\n"
"См. также [method ceil], [method round] и [method snapped].\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method floorf], "
"[method floori], [method Vector2.floor], [method Vector3.floor] или [method "
"Vector4.floor]."
msgid ""
"Rounds [param x] downward (towards negative infinity), returning the largest "
"whole number that is not more than [param x].\n"
"A type-safe version of [method floor], returning a [float]."
msgstr ""
"Округляет [param x] в сторону уменьшения (к отрицательной бесконечности), "
"возвращая наибольшее целое число, которое не больше, чем [param x].\n"
"Безопасная для типов версия [method floor], возвращающая [float]."
msgid ""
"Rounds [param x] downward (towards negative infinity), returning the largest "
"whole number that is not more than [param x].\n"
"A type-safe version of [method floor], returning an [int].\n"
"[b]Note:[/b] This function is [i]not[/i] the same as [code]int(x)[/code], "
"which rounds towards 0."
msgstr ""
"Округляет [param x] вниз (в сторону отрицательной бесконечности), возвращая "
"наибольшее целое число, которое не больше, чем [param x].\n"
"Типобезопасная версия [method floor], возвращающая [int].\n"
"[b]Примечание:[/b] Эта функция [i]не[/i] то же самое, что [code]int(x)[/"
"code], которая округляет до 0."
msgid ""
"Returns the floating-point remainder of [param x] divided by [param y], "
"keeping the sign of [param x].\n"
"[codeblock]\n"
"var remainder = fmod(7, 5.5) # remainder is 1.5\n"
"[/codeblock]\n"
"For the integer remainder operation, use the [code]%[/code] operator."
msgstr ""
"Возвращает остаток с плавающей точкой от деления [param x] на [param y], "
"сохраняя знак [param x].\n"
"[codeblock]\n"
"var remainder = fmod(7, 5.5) # остаток равен 1.5\n"
"[/codeblock]\n"
"Для операции целочисленного остатка используйте оператор [code]%[/code]."
msgid ""
"Returns the floating-point modulus of [param x] divided by [param y], "
"wrapping equally in positive and negative.\n"
"[codeblock]\n"
"print(\" (x) (fmod(x, 1.5)) (fposmod(x, 1.5))\")\n"
"for i in 7:\n"
"\tvar x = i * 0.5 - 1.5\n"
"\tprint(\"%4.1f %4.1f | %4.1f\" % [x, fmod(x, 1.5), fposmod(x, "
"1.5)])\n"
"[/codeblock]\n"
"Prints:\n"
"[codeblock lang=text]\n"
" (x) (fmod(x, 1.5)) (fposmod(x, 1.5))\n"
"-1.5 -0.0 | 0.0\n"
"-1.0 -1.0 | 0.5\n"
"-0.5 -0.5 | 1.0\n"
" 0.0 0.0 | 0.0\n"
" 0.5 0.5 | 0.5\n"
" 1.0 1.0 | 1.0\n"
" 1.5 0.0 | 0.0\n"
"[/codeblock]"
msgstr ""
"Возвращает модуль с плавающей точкой [param x], деленный на [param y], с "
"одинаковой оберткой в положительных и отрицательных значениях.\n"
"[codeblock]\n"
"print(\" (x) (fmod(x, 1.5)) (fposmod(x, 1.5))\")\n"
"for i in 7:\n"
"\tvar x = i * 0.5 - 1.5\n"
"\tprint(\"%4.1f %4.1f | %4.1f\" % [x, fmod(x, 1.5), fposmod(x, "
"1.5)])\n"
"[/codeblock]\n"
"Prints:\n"
"[codeblock lang=text]\n"
" (x) (fmod(x, 1.5)) (fposmod(x, 1.5))\n"
"-1.5 -0.0 | 0.0\n"
"-1.0 -1.0 | 0.5\n"
"-0.5 -0.5 | 1.0\n"
" 0.0 0.0 | 0.0\n"
" 0.5 0.5 | 0.5\n"
" 1.0 1.0 | 1.0\n"
" 1.5 0.0 | 0.0\n"
"[/codeblock]"
msgid ""
"Returns the integer hash of the passed [param variable].\n"
"[codeblocks]\n"
"[gdscript]\n"
"print(hash(\"a\")) # Prints 177670\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.Print(GD.Hash(\"a\")); // Prints 177670\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает целочисленный хэш переданной [param variable].\n"
"[codeblocks]\n"
"[gdscript]\n"
"print(hash(\"a\")) # Выводит 177670\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.Print(GD.Hash(\"a\")); // Выводит 177670\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns the [Object] that corresponds to [param instance_id]. All Objects "
"have a unique instance ID. See also [method Object.get_instance_id].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var drink = \"water\"\n"
"\n"
"func _ready():\n"
"\tvar id = get_instance_id()\n"
"\tvar instance = instance_from_id(id)\n"
"\tprint(instance.drink) # Prints \"water\"\n"
"[/gdscript]\n"
"[csharp]\n"
"public partial class MyNode : Node\n"
"{\n"
"\tpublic string Drink { get; set; } = \"water\";\n"
"\n"
"\tpublic override void _Ready()\n"
"\t{\n"
"\t\tulong id = GetInstanceId();\n"
"\t\tvar instance = (MyNode)InstanceFromId(Id);\n"
"\t\tGD.Print(instance.Drink); // Prints \"water\"\n"
"\t}\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает [Object], соответствующий параметру [param instance_id]. Все "
"объекты имеют уникальный идентификатор (ID) экземпляра. См. также [method "
"Object.get_instance_id].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var drink = \"water\"\n"
"\n"
"func _ready():\n"
"\tvar id = get_instance_id()\n"
"\tvar instance = instance_from_id(id)\n"
"\tprint(instance.drink) # Выводит \"water\"\n"
"[/gdscript]\n"
"[csharp]\n"
"public partial class MyNode : Node\n"
"{\n"
"\tpublic string Drink { get; set; } = \"water\";\n"
"\n"
"\tpublic override void _Ready()\n"
"\t{\n"
"\t\tulong id = GetInstanceId();\n"
"\t\tvar instance = (MyNode)InstanceFromId(Id);\n"
"\t\tGD.Print(instance.Drink); // Выводит \"water\"\n"
"\t}\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns an interpolation or extrapolation factor considering the range "
"specified in [param from] and [param to], and the interpolated value "
"specified in [param weight]. The returned value will be between [code]0.0[/"
"code] and [code]1.0[/code] if [param weight] is between [param from] and "
"[param to] (inclusive). If [param weight] is located outside this range, then "
"an extrapolation factor will be returned (return value lower than [code]0.0[/"
"code] or greater than [code]1.0[/code]). Use [method clamp] on the result of "
"[method inverse_lerp] if this is not desired.\n"
"[codeblock]\n"
"# The interpolation ratio in the `lerp()` call below is 0.75.\n"
"var middle = lerp(20, 30, 0.75)\n"
"# middle is now 27.5.\n"
"\n"
"# Now, we pretend to have forgotten the original ratio and want to get it "
"back.\n"
"var ratio = inverse_lerp(20, 30, 27.5)\n"
"# ratio is now 0.75.\n"
"[/codeblock]\n"
"See also [method lerp], which performs the reverse of this operation, and "
"[method remap] to map a continuous series of values to another."
msgstr ""
"Возвращает коэффициент интерполяции или экстраполяции с учетом диапазона, "
"указанного в [param from] и [param to], и интерполированного значения, "
"указанного в [param weight]. Возвращаемое значение будет находиться между "
"[code]0.0[/code] и [code]1.0[/code], если [param weight] находится между "
"[param from] и [param to] (включительно). Если [param weight] находится за "
"пределами этого диапазона, то будет возвращен коэффициент экстраполяции "
"(возвращаемое значение меньше [code]0.0[/code] или больше [code]1.0[/code]). "
"Используйте [method clamp] для результата [method inverse_lerp], если это "
"нежелательно.\n"
"[codeblock]\n"
"# Коэффициент интерполяции в вызове `lerp()` ниже составляет 0,75.\n"
"var middle = lerp(20, 30, 0.75)\n"
"# средний показатель сейчас составляет 27,5.\n"
"\n"
"# Теперь мы делаем вид, что забыли исходное соотношение и хотим его "
"восстановить.\n"
"var ratio = inverse_lerp(20, 30, 27.5)\n"
"# Сейчас коэффициент составляет 0,75.\n"
"[/codeblock]\n"
"См. также [method lerp], который выполняет обратную операцию, и [method "
"remap] для преобразования одной непрерывной серии значений в другую."
msgid ""
"Returns [code]true[/code] if [param a] and [param b] are approximately equal "
"to each other.\n"
"Here, \"approximately equal\" means that [param a] and [param b] are within a "
"small internal epsilon of each other, which scales with the magnitude of the "
"numbers.\n"
"Infinity values of the same sign are considered equal."
msgstr ""
"Возвращает [code]true[/code], если [param a] и [param b] приблизительно равны "
"друг другу.\n"
"Здесь «приблизительно равны» означает, что [param a] и [param b] находятся в "
"пределах небольшого внутреннего эпсилона друг от друга, который "
"масштабируется с величиной чисел.\n"
"Значения бесконечности одного знака считаются равными."
msgid ""
"Returns whether [param x] is a finite value, i.e. it is not [constant "
"@GDScript.NAN], positive infinity, or negative infinity. See also [method "
"is_inf] and [method is_nan]."
msgstr ""
"Проверяет, является ли [param x] конечным значением, т. е. не является ли он "
"[constant @GDScript.NAN], положительной бесконечностью или отрицательной "
"бесконечностью."
msgid ""
"Returns [code]true[/code] if [param x] is either positive infinity or "
"negative infinity. See also [method is_finite] and [method is_nan]."
msgstr ""
"Возвращает [code]true[/code], если [param x] равен либо положительной "
"бесконечности, либо отрицательной бесконечности. См. также [method is_finite] "
"и [method is_nan]."
msgid ""
"Returns [code]true[/code] if the Object that corresponds to [param id] is a "
"valid object (e.g. has not been deleted from memory). All Objects have a "
"unique instance ID."
msgstr ""
"Возвращает [code]true[/code], если объект, соответствующий [param id], "
"является допустимым объектом (например, не был удален из памяти). Все объекты "
"имеют уникальный идентификатор экземпляра."
msgid ""
"Returns [code]true[/code] if [param instance] is a valid Object (e.g. has not "
"been deleted from memory)."
msgstr ""
"Возвращает [code]true[/code], если [param instance] является допустимым "
"объектом (например, не был удален из памяти)."
msgid ""
"Returns [code]true[/code] if [param x] is a NaN (\"Not a Number\" or invalid) "
"value. This method is needed as [constant @GDScript.NAN] is not equal to "
"itself, which means [code]x == NAN[/code] can't be used to check whether a "
"value is a NaN."
msgstr ""
"Возвращает [code]true[/code], если [param x] является NaN (\"Not a Number\") "
"или является некорректным значением. Этот метод необходим, поскольку "
"[constant @GDScript.NAN] не равен самому себе, что означает, что [code]x == "
"NAN[/code] нельзя использовать для проверки на NaN."
msgid ""
"Returns [code]true[/code], for value types, if [param a] and [param b] share "
"the same value. Returns [code]true[/code], for reference types, if the "
"references of [param a] and [param b] are the same.\n"
"[codeblock]\n"
"# Vector2 is a value type\n"
"var vec2_a = Vector2(0, 0)\n"
"var vec2_b = Vector2(0, 0)\n"
"var vec2_c = Vector2(1, 1)\n"
"is_same(vec2_a, vec2_a) # true\n"
"is_same(vec2_a, vec2_b) # true\n"
"is_same(vec2_a, vec2_c) # false\n"
"\n"
"# Array is a reference type\n"
"var arr_a = []\n"
"var arr_b = []\n"
"is_same(arr_a, arr_a) # true\n"
"is_same(arr_a, arr_b) # false\n"
"[/codeblock]\n"
"These are [Variant] value types: [code]null[/code], [bool], [int], [float], "
"[String], [StringName], [Vector2], [Vector2i], [Vector3], [Vector3i], "
"[Vector4], [Vector4i], [Rect2], [Rect2i], [Transform2D], [Transform3D], "
"[Plane], [Quaternion], [AABB], [Basis], [Projection], [Color], [NodePath], "
"[RID], [Callable] and [Signal].\n"
"These are [Variant] reference types: [Object], [Dictionary], [Array], "
"[PackedByteArray], [PackedInt32Array], [PackedInt64Array], "
"[PackedFloat32Array], [PackedFloat64Array], [PackedStringArray], "
"[PackedVector2Array], [PackedVector3Array], [PackedVector4Array], and "
"[PackedColorArray]."
msgstr ""
"Возвращает [code]true[/code] для типов значений, если [param a] и [param b] "
"имеют одно и то же значение. Возвращает [code]true[/code] для ссылочных "
"типов, если ссылки [param a] и [param b] совпадают.\n"
"[codeblock]\n"
"# Vector2 это тип значения\n"
"var vec2_a = Vector2(0, 0)\n"
"var vec2_b = Vector2(0, 0)\n"
"var vec2_c = Vector2(1, 1)\n"
"is_same(vec2_a, vec2_a) # true\n"
"is_same(vec2_a, vec2_b) # true\n"
"is_same(vec2_a, vec2_c) # false\n"
"\n"
"# Array это ссылочный тип\n"
"var arr_a = []\n"
"var arr_b = []\n"
"is_same(arr_a, arr_a) # true\n"
"is_same(arr_a, arr_b) # false\n"
"[/codeblock]\n"
"Это [Variant] типы значений: [code]null[/code], [bool], [int], [float], "
"[String], [StringName], [Vector2], [Vector2i], [Vector3], [Vector3i], "
"[Vector4], [Vector4i], [Rect2], [Rect2i], [Transform2D], [Transform3D], "
"[Plane], [Quaternion], [AABB], [Basis], [Projection], [Color], [NodePath], "
"[RID], [Callable] и [Signal].\n"
"Это [Variant] ссылочный тип: [Object], [Dictionary], [Array], "
"[PackedByteArray], [PackedInt32Array], [PackedInt64Array], "
"[PackedFloat32Array], [PackedFloat64Array], [PackedStringArray], "
"[PackedVector2Array], [PackedVector3Array] и [PackedColorArray]."
msgid ""
"Returns [code]true[/code] if [param x] is zero or almost zero. The comparison "
"is done using a tolerance calculation with a small internal epsilon.\n"
"This function is faster than using [method is_equal_approx] with one value as "
"zero."
msgstr ""
"Возвращает [code]true[/code], если [param x] равен или приблизительно равен "
"нулю. Сравнивается используя расчет допуска с небольшим внутренним эпсилон.\n"
"Эта функция работает быстрее, чем использование [method is_equal_approx] с "
"одним значением, равным нулю."
msgid ""
"Linearly interpolates between two values by the factor defined in [param "
"weight]. To perform interpolation, [param weight] should be between "
"[code]0.0[/code] and [code]1.0[/code] (inclusive). However, values outside "
"this range are allowed and can be used to perform [i]extrapolation[/i]. If "
"this is not desired, use [method clampf] to limit [param weight].\n"
"Both [param from] and [param to] must be the same type. Supported types: "
"[int], [float], [Vector2], [Vector3], [Vector4], [Color], [Quaternion], "
"[Basis], [Transform2D], [Transform3D].\n"
"[codeblock]\n"
"lerp(0, 4, 0.75) # Returns 3.0\n"
"[/codeblock]\n"
"See also [method inverse_lerp] which performs the reverse of this operation. "
"To perform eased interpolation with [method lerp], combine it with [method "
"ease] or [method smoothstep]. See also [method remap] to map a continuous "
"series of values to another.\n"
"[b]Note:[/b] For better type safety, use [method lerpf], [method "
"Vector2.lerp], [method Vector3.lerp], [method Vector4.lerp], [method "
"Color.lerp], [method Quaternion.slerp], [method Basis.slerp], [method "
"Transform2D.interpolate_with], or [method Transform3D.interpolate_with]."
msgstr ""
"Линейно интерполирует между двумя значениями с коэффициентом, определенным в "
"[param weight]. Для выполнения интерполяции [param weight] должен быть между "
"[code]0.0[/code] и [code]1.0[/code] (включительно). Однако значения за "
"пределами этого диапазона допускаются и могут использоваться для выполнения "
"[i]экстраполяции[/i]. Если это нежелательно, используйте [method clampf] для "
"ограничения [param weight].\n"
"Оба [param from] и [param to] должны быть одного типа. Поддерживаемые типы: "
"[int], [float], [Vector2], [Vector3], [Vector4], [Color], [Quaternion], "
"[Basis], [Transform2D], [Transform3D].\n"
"[codeblock]\n"
"lerp(0, 4, 0.75) # Returns 3.0\n"
"[/codeblock]\n"
"См. также [method inverse_lerp], который выполняет обратную операцию. Чтобы "
"выполнить упрощенную интерполяцию с помощью [method lerp], объедините его с "
"[method ease] или [method smoothstep]. См. также [method remap], чтобы "
"сопоставить непрерывный ряд значений с другим.\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method lerpf], "
"[method Vector2.lerp], [method Vector3.lerp], [method Vector4.lerp], [method "
"Color.lerp], [method Quaternion.slerp], [method Basis.slerp], [method "
"Transform2D.interpolate_with] или [method Transform3D.interpolate_with]."
msgid ""
"Linearly interpolates between two angles (in radians) by a [param weight] "
"value between 0.0 and 1.0.\n"
"Similar to [method lerp], but interpolates correctly when the angles wrap "
"around [constant @GDScript.TAU]. To perform eased interpolation with [method "
"lerp_angle], combine it with [method ease] or [method smoothstep].\n"
"[codeblock]\n"
"extends Sprite\n"
"var elapsed = 0.0\n"
"func _process(delta):\n"
"\tvar min_angle = deg_to_rad(0.0)\n"
"\tvar max_angle = deg_to_rad(90.0)\n"
"\trotation = lerp_angle(min_angle, max_angle, elapsed)\n"
"\telapsed += delta\n"
"[/codeblock]\n"
"[b]Note:[/b] This function lerps through the shortest path between [param "
"from] and [param to]. However, when these two angles are approximately "
"[code]PI + k * TAU[/code] apart for any integer [code]k[/code], it's not "
"obvious which way they lerp due to floating-point precision errors. For "
"example, [code]lerp_angle(0, PI, weight)[/code] lerps counter-clockwise, "
"while [code]lerp_angle(0, PI + 5 * TAU, weight)[/code] lerps clockwise."
msgstr ""
"Линейно интерполирует между двумя углами (в радианах) по значению [param "
"weight] между 0,0 и 1,0.\n"
"Аналогично [method lerp], но интерполирует правильно, когда углы огибают "
"[constant @GDScript.TAU]. Чтобы выполнить упрощенную интерполяцию с [method "
"lerp_angle], объедините его с [method ease] или [method smoothstep].\n"
"[codeblock]\n"
"extends Sprite\n"
"var elapsed = 0.0\n"
"func _process(delta):\n"
"\tvar min_angle = deg_to_rad(0.0)\n"
"\tvar max_angle = deg_to_rad(90.0)\n"
"\trotation = lerp_angle(min_angle, max_angle, elapsed)\n"
"\telapsed += delta\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Эта функция выполняет линейную интерполяцию по кратчайшему "
"пути между [param from] и [param to]. Однако, когда эти два угла "
"приблизительно [code]PI + k * TAU[/code] друг от друга для любого целого "
"числа [code]k[/code], неочевидно, в какую сторону они выполняют линейную "
"интерполяцию из-за ошибок точности с плавающей точкой. Например, "
"[code]lerp_angle(0, PI, weight)[/code] выполняет линейную интерполяцию против "
"часовой стрелки, тогда как [code]lerp_angle(0, PI + 5 * TAU, weight)[/code] "
"выполняет линейную интерполяцию по часовой стрелке."
msgid ""
"Linearly interpolates between two values by the factor defined in [param "
"weight]. To perform interpolation, [param weight] should be between "
"[code]0.0[/code] and [code]1.0[/code] (inclusive). However, values outside "
"this range are allowed and can be used to perform [i]extrapolation[/i]. If "
"this is not desired, use [method clampf] on the result of this function.\n"
"[codeblock]\n"
"lerpf(0, 4, 0.75) # Returns 3.0\n"
"[/codeblock]\n"
"See also [method inverse_lerp] which performs the reverse of this operation. "
"To perform eased interpolation with [method lerp], combine it with [method "
"ease] or [method smoothstep]."
msgstr ""
"Линейно интерполирует между двумя значениями с коэффициентом, определенным в "
"[param weight]. Для выполнения интерполяции [param weight] должен быть между "
"[code]0.0[/code] и [code]1.0[/code] (включительно). Однако значения за "
"пределами этого диапазона допускаются и могут использоваться для выполнения "
"[i]экстраполяции[/i]. Если это нежелательно, используйте [method clampf] для "
"результата этой функции.\n"
"[codeblock]\n"
"lerpf(0, 4, 0.75) # Returns 3.0\n"
"[/codeblock]\n"
"См. также [method inverse_lerp], который выполняет обратную операцию. Чтобы "
"выполнить облегченную интерполяцию с помощью [method lerp], объедините его с "
"[method ease] или [method smoothstep]."
msgid ""
"Converts from linear energy to decibels (audio). Since volume is not normally "
"linear, this can be used to implement volume sliders that behave as "
"expected.\n"
"[b]Example:[/b] Change the Master bus's volume through a [Slider] node, which "
"ranges from [code]0.0[/code] to [code]1.0[/code]:\n"
"[codeblock]\n"
"AudioServer.set_bus_volume_db(AudioServer.get_bus_index(\"Master\"), "
"linear_to_db($Slider.value))\n"
"[/codeblock]"
msgstr ""
"Преобразует линейную энергию в децибелы (аудио). Поскольку громкость обычно "
"нелинейна, это можно использовать для реализации ползунков громкости, которые "
"ведут себя ожидаемым образом.\n"
"[b]Пример:[/b] Измените громкость главной шины с помощью узла [Slider], "
"который находится в диапазоне от [code]0.0[/code] до [code]1.0[/code]:\n"
"[codeblock]\n"
"AudioServer.set_bus_volume_db(AudioServer.get_bus_index(\"Master\"), "
"linear_to_db($Slider.value))\n"
"[/codeblock]"
msgid ""
"Returns the [url=https://en.wikipedia.org/wiki/Natural_logarithm]natural "
"logarithm[/url] of [param x] (base [url=https://en.wikipedia.org/wiki/"
"E_(mathematical_constant)]e[/url], with [i]e[/i] being approximately "
"2.71828). This is the amount of time needed to reach a certain level of "
"continuous growth.\n"
"[b]Note:[/b] This is not the same as the \"log\" function on most "
"calculators, which uses a base 10 logarithm. To use base 10 logarithm, use "
"[code]log(x) / log(10)[/code].\n"
"[codeblock]\n"
"log(10) # Returns 2.302585\n"
"[/codeblock]\n"
"[b]Note:[/b] The logarithm of [code]0[/code] returns [code]-inf[/code], while "
"negative values return [code]-nan[/code]."
msgstr ""
"Возвращает [url=https://en.wikipedia.org/wiki/Natural_logarithm]натуральный "
"логарифм[/url] параметра [param x] (основание [url=https://en.wikipedia.org/"
"wiki/E_(mathematical_constant)]e[/url], где [i]e[/i] приблизительно равно "
"2,71828). Это время, необходимое для достижения определенного уровня "
"непрерывного роста.\n"
"[b]Примечание:[/b] Это не то же самое, что и функция \"log\" на большинстве "
"калькуляторов, которая использует десятичный логарифм. Для использования "
"десятичного логарифма используйте [code]log(x) / log(10)[/code].\n"
"[codeblock]\n"
"log(10) # Возвращает 2.302585\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Логарифм [code]0[/code] возвращает [code]-inf[/code], а "
"отрицательные значения возвращают [code]-nan[/code]."
msgid ""
"Returns the maximum of the given numeric values. This function can take any "
"number of arguments.\n"
"[codeblock]\n"
"max(1, 7, 3, -6, 5) # Returns 7\n"
"[/codeblock]\n"
"[b]Note:[/b] When using this on vectors it will [i]not[/i] perform component-"
"wise maximum, and will pick the largest value when compared using [code]x < "
"y[/code]. To perform component-wise maximum, use [method Vector2.max], "
"[method Vector2i.max], [method Vector3.max], [method Vector3i.max], [method "
"Vector4.max], and [method Vector4i.max]."
msgstr ""
"Возвращает наибольшее из указанных числовых значений. Эта функция может "
"принимать любое количество аргументов.\n"
"[codeblock]\n"
"max(1, 7, 3, -6, 5) # Возвращает 7\n"
"[/codeblock]\n"
"[b]Примечание:[/b] При использовании этой функции для векторов она [i]не[/i] "
"вернет максимальный из компонентов, а выберет наибольшее значение, путем "
"сравнения [code]x < y [/code]. Чтобы найти максимальный из компонентов "
"используйте [method Vector2.max], [method Vector2i.max], [method "
"Vector3.max], [method Vector3i.max], [method Vector4.max], and [method "
"Vector4i.max]."
msgid ""
"Returns the maximum of two [float] values.\n"
"[codeblock]\n"
"maxf(3.6, 24) # Returns 24.0\n"
"maxf(-3.99, -4) # Returns -3.99\n"
"[/codeblock]"
msgstr ""
"Возвращает максимальное из двух значений [float].\n"
"[codeblock]\n"
"maxf(3.6, 24) # Возвращает 24.0\n"
"maxf(-3.99, -4) # Возвращает -3.99\n"
"[/codeblock]"
msgid ""
"Returns the maximum of two [int] values.\n"
"[codeblock]\n"
"maxi(1, 2) # Returns 2\n"
"maxi(-3, -4) # Returns -3\n"
"[/codeblock]"
msgstr ""
"Возвращает максимальное из двух значений [int].\n"
"[codeblock]\n"
"maxi(1, 2) # Возвращает 2\n"
"maxi(-3, -4) # Возвращает -3\n"
"[/codeblock]"
msgid ""
"Returns the minimum of the given numeric values. This function can take any "
"number of arguments.\n"
"[codeblock]\n"
"min(1, 7, 3, -6, 5) # Returns -6\n"
"[/codeblock]\n"
"[b]Note:[/b] When using this on vectors it will [i]not[/i] perform component-"
"wise minimum, and will pick the smallest value when compared using [code]x < "
"y[/code]. To perform component-wise minimum, use [method Vector2.min], "
"[method Vector2i.min], [method Vector3.min], [method Vector3i.min], [method "
"Vector4.min], and [method Vector4i.min]."
msgstr ""
"Возвращает наименьшее из указанных числовых значений. Эта функция может "
"принимать любое количество аргументов.\n"
"[codeblock]\n"
"min(1, 7, 3, -6, 5) # Возвращает -6\n"
"[/codeblock]\n"
"[b]Примечание:[/b] При использовании этой функции для векторов она [i]не[/i] "
"вернет минимальный из компонентов, а выберет наименьшее значение, путем "
"сравнения [code]x < y [/code]. Чтобы найти минимальный из компонентов "
"используйте [method Vector2.min], [method Vector2i.min], [method "
"Vector3.min], [method Vector3i.min], [method Vector4.min], and [method "
"Vector4i.min]."
msgid ""
"Returns the minimum of two [float] values.\n"
"[codeblock]\n"
"minf(3.6, 24) # Returns 3.6\n"
"minf(-3.99, -4) # Returns -4.0\n"
"[/codeblock]"
msgstr ""
"Возвращает минимум из двух значений [float].\n"
"[codeblock]\n"
"minf(3.6, 24) # Возвращает 3.6\n"
"minf(-3.99, -4) # Возвращает -4.0\n"
"[/codeblock]"
msgid ""
"Returns the minimum of two [int] values.\n"
"[codeblock]\n"
"mini(1, 2) # Returns 1\n"
"mini(-3, -4) # Returns -4\n"
"[/codeblock]"
msgstr ""
"Возвращает минимальное из двух значений [int].\n"
"[codeblock]\n"
"mini(1, 2) # Возвращает 1\n"
"mini(-3, -4) # Возвращает -4\n"
"[/codeblock]"
msgid ""
"Moves [param from] toward [param to] by the [param delta] amount. Will not go "
"past [param to].\n"
"Use a negative [param delta] value to move away.\n"
"[codeblock]\n"
"move_toward(5, 10, 4) # Returns 9\n"
"move_toward(10, 5, 4) # Returns 6\n"
"move_toward(5, 10, 9) # Returns 10\n"
"move_toward(10, 5, -1.5) # Returns 11.5\n"
"[/codeblock]"
msgstr ""
"Перемещает [param from] в направлении [param to] на величину [param delta]. "
"Не выйдет за пределы [param to].\n"
"Используйте отрицательное значение [param delta], чтобы переместиться.\n"
"[codeblock]\n"
"move_toward(5, 10, 4) # Возвращает 9\n"
"move_toward(10, 5, 4) # Возвращает 6\n"
"move_toward(5, 10, 9) # Возвращает 10\n"
"move_toward(10, 5, -1.5) # Возвращает 11.5\n"
"[/codeblock]"
msgid ""
"Returns the smallest integer power of 2 that is greater than or equal to "
"[param value].\n"
"[codeblock]\n"
"nearest_po2(3) # Returns 4\n"
"nearest_po2(4) # Returns 4\n"
"nearest_po2(5) # Returns 8\n"
"\n"
"nearest_po2(0) # Returns 0 (this may not be expected)\n"
"nearest_po2(-1) # Returns 0 (this may not be expected)\n"
"[/codeblock]\n"
"[b]Warning:[/b] Due to its implementation, this method returns [code]0[/code] "
"rather than [code]1[/code] for values less than or equal to [code]0[/code], "
"with an exception for [param value] being the smallest negative 64-bit "
"integer ([code]-9223372036854775808[/code]) in which case the [param value] "
"is returned unchanged."
msgstr ""
"Возвращает наименьшую целую степень числа 2, которая больше или равна [param "
"value].\n"
"[codeblock]\n"
"nearest_po2(3) # Возвращает 4\n"
"nearest_po2(4) # Возвращает 4\n"
"nearest_po2(5) # Возвращает 8\n"
"\n"
"nearest_po2(0) # Возвращает 0 (может быть неожиданным)\n"
"nearest_po2(-1) # Возвращает 0 (может быть неожиданным)\n"
"[/codeblock]\n"
"[b]Предупреждение:[/b] Из-за своей реализации этот метод возвращает [code]0[/"
"code] вместо [code]1[/code] для значений, меньших или равных [code]0[/code], "
"за исключением [param value], являющегося наименьшим отрицательным 64-битным "
"целым числом ([code]-9223372036854775808[/code]), в этом случае [param value] "
"возвращается без изменений."
msgid ""
"Wraps [param value] between [code]0[/code] and the [param length]. If the "
"limit is reached, the next value the function returns is decreased to the "
"[code]0[/code] side or increased to the [param length] side (like a triangle "
"wave). If [param length] is less than zero, it becomes positive.\n"
"[codeblock]\n"
"pingpong(-3.0, 3.0) # Returns 3.0\n"
"pingpong(-2.0, 3.0) # Returns 2.0\n"
"pingpong(-1.0, 3.0) # Returns 1.0\n"
"pingpong(0.0, 3.0) # Returns 0.0\n"
"pingpong(1.0, 3.0) # Returns 1.0\n"
"pingpong(2.0, 3.0) # Returns 2.0\n"
"pingpong(3.0, 3.0) # Returns 3.0\n"
"pingpong(4.0, 3.0) # Returns 2.0\n"
"pingpong(5.0, 3.0) # Returns 1.0\n"
"pingpong(6.0, 3.0) # Returns 0.0\n"
"[/codeblock]"
msgstr ""
"Оборачивает [param value] между [code]0[/code] и [param length]. Если предел "
"достигнут, следующее возвращаемое функцией значение уменьшается до стороны "
"[code]0[/code] или увеличивается до стороны [param length] (как треугольная "
"волна). Если [param length] меньше нуля, оно становится положительным.\n"
"[codeblock]\n"
"pingpong(-3.0, 3.0) # Возвращает 3.0\n"
"pingpong(-2.0, 3.0) # Возвращает 2.0\n"
"pingpong(-1.0, 3.0) # Возвращает 1.0\n"
"pingpong(0.0, 3.0) # Возвращает 0.0\n"
"pingpong(1.0, 3.0) # Возвращает 1.0\n"
"pingpong(2.0, 3.0) # Возвращает 2.0\n"
"pingpong(3.0, 3.0) # Возвращает 3.0\n"
"pingpong(4.0, 3.0) # Возвращает 2.0\n"
"pingpong(5.0, 3.0) # Возвращает 1.0\n"
"pingpong(6.0, 3.0) # Возвращает 0.0\n"
"[/codeblock]"
msgid ""
"Returns the integer modulus of [param x] divided by [param y] that wraps "
"equally in positive and negative.\n"
"[codeblock]\n"
"print(\"#(i) (i % 3) (posmod(i, 3))\")\n"
"for i in range(-3, 4):\n"
"\tprint(\"%2d %2d | %2d\" % [i, i % 3, posmod(i, 3)])\n"
"[/codeblock]\n"
"Prints:\n"
"[codeblock lang=text]\n"
"(i) (i % 3) (posmod(i, 3))\n"
"-3 0 | 0\n"
"-2 -2 | 1\n"
"-1 -1 | 2\n"
" 0 0 | 0\n"
" 1 1 | 1\n"
" 2 2 | 2\n"
" 3 0 | 0\n"
"[/codeblock]"
msgstr ""
"Возвращает целочисленный модуль [param x], деленный на [param y], который "
"одинаково охватывает положительные и отрицательные числа.\n"
"[codeblock]\n"
"print(\"#(i) (i % 3) (posmod(i, 3))\")\n"
"for i in range(-3, 4):\n"
"\tprint(\"%2d %2d | %2d\" % [i, i % 3, posmod(i, 3)])\n"
"[/codeblock]\n"
"Выводит:\n"
"[codeblock lang=text]\n"
"(i) (i % 3) (posmod(i, 3))\n"
"-3 0 | 0\n"
"-2 -2 | 1\n"
"-1 -1 | 2\n"
" 0 0 | 0\n"
" 1 1 | 1\n"
" 2 2 | 2\n"
" 3 0 | 0\n"
"[/codeblock]"
msgid ""
"Returns the result of [param base] raised to the power of [param exp].\n"
"In GDScript, this is the equivalent of the [code]**[/code] operator.\n"
"[codeblock]\n"
"pow(2, 5) # Returns 32.0\n"
"pow(4, 1.5) # Returns 8.0\n"
"[/codeblock]"
msgstr ""
"Возвращает результат [param base], возведенный в степень [param exp].\n"
"В GDScript это эквивалент оператора [code]**[/code].\n"
"[codeblock]\n"
"pow(2, 5) # Возвращает 32.0\n"
"pow(4, 1.5) # Возвращает 8.0\n"
"[/codeblock]"
msgid ""
"Converts one or more arguments of any type to string in the best way possible "
"and prints them to the console.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = [1, 2, 3]\n"
"print(\"a\", \"b\", a) # Prints \"ab[1, 2, 3]\"\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array a = [1, 2, 3];\n"
"GD.Print(\"a\", \"b\", a); // Prints \"ab[1, 2, 3]\"\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] Consider using [method push_error] and [method push_warning] to "
"print error and warning messages instead of [method print] or [method "
"print_rich]. This distinguishes them from print messages used for debugging "
"purposes, while also displaying a stack trace when an error or warning is "
"printed. See also [member Engine.print_to_stdout] and [member "
"ProjectSettings.application/run/disable_stdout]."
msgstr ""
"Преобразует один или несколько аргументов любого типа в строку наилучшим "
"возможным способом и выводит их на консоль.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = [1, 2, 3]\n"
"print(\"a\", \"b\", a) # Выводит \"ab[1, 2, 3]\"\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array a = [1, 2, 3];\n"
"GD.Print(\"a\", \"b\", a); // Выводит \"ab[1, 2, 3]\"\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Рассмотрите возможность использования [method push_error] "
"и [method push_warning] для вывода сообщений об ошибках и предупреждений "
"вместо [method print] или [method print_rich]. Это отличает их от сообщений "
"печати, используемых для отладки, а также отображает трассировку стека при "
"выводе ошибки или предупреждения. См. также [member Engine.print_to_stdout] и "
"[member ProjectSettings.application/run/disable_stdout]."
msgid ""
"Converts one or more arguments of any type to string in the best way possible "
"and prints them to the console.\n"
"The following BBCode tags are supported: [code]b[/code], [code]i[/code], "
"[code]u[/code], [code]s[/code], [code]indent[/code], [code]code[/code], "
"[code]url[/code], [code]center[/code], [code]right[/code], [code]color[/"
"code], [code]bgcolor[/code], [code]fgcolor[/code].\n"
"URL tags support both URLs wrapped by a URL tag and URLs with a different "
"title ([code skip-lint][url=address]text[/url][/code]). Support for URLs with "
"a different title varies across terminal emulators. Most modern terminal "
"emulators support them, but Terminal.app and conhost (the legacy Windows "
"console) do not.\n"
"When printing to standard output, the supported subset of BBCode is converted "
"to ANSI escape codes for the terminal emulator to display. Support for ANSI "
"escape codes varies across terminal emulators, especially for italic and "
"strikethrough. In standard output, [code]code[/code] is represented with "
"faint text but without any font change. Unsupported tags are left as-is in "
"standard output.\n"
"[codeblocks]\n"
"[gdscript skip-lint]\n"
"print_rich(\"[color=green][b]Hello world![/b][/color]\") # Prints \"Hello "
"world!\", in green with a bold font.\n"
"[/gdscript]\n"
"[csharp skip-lint]\n"
"GD.PrintRich(\"[color=green][b]Hello world![/b][/color]\"); // Prints \"Hello "
"world!\", in green with a bold font.\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] Consider using [method push_error] and [method push_warning] to "
"print error and warning messages instead of [method print] or [method "
"print_rich]. This distinguishes them from print messages used for debugging "
"purposes, while also displaying a stack trace when an error or warning is "
"printed.\n"
"[b]Note:[/b] Output displayed in the editor supports clickable [code skip-"
"lint][url=address]text[/url][/code] tags. The [code skip-lint][url][/code] "
"tag's [code]address[/code] value is handled by [method OS.shell_open] when "
"clicked."
msgstr ""
"Преобразует один или несколько аргументов любого типа в строковый формат "
"(наиболее подходящим для этого способом) и выводит их в консоль.\n"
"Поддерживаются следующие BBCode-теги: [code]b[/code], [code]i[/code], "
"[code]u[/code], [code]s[/code], [code]indent[/code], [code]code[/code], "
"[code]url[/code], [code]center[/code], [code]right[/code], [code]color[/"
"code], [code]bgcolor[/code], [code]fgcolor[/code].\n"
"Теги [code]url[/code] позволяют использовать как простые ссылки, так и ссылки "
"с заданным текстом ([code skip-lint][url=адрес]текст[/url][/code]). Поддержка "
"ссылок с собственным текстом зависит от конкретного эмулятора терминала: "
"большинство современных эмуляторов поддерживают эту функцию, однако "
"Terminal.app и conhost (стандартная консоль Windows) — нет.\n"
"При выводе в стандартный поток (standard output) поддерживаемые BBCode-теги "
"преобразуются в ANSI-последовательности, которые интерпретируются эмулятором "
"терминала. Поддержка ANSI-последовательностей варьируется в зависимости от "
"эмулятора (особенно это касается курсива и зачеркнутого текста). Тег "
"[code]code[/code] отображается как текст пониженной яркости (без изменения "
"шрифта). Неподдерживаемые теги выводятся в исходном виде.\n"
"[codeblocks]\n"
"[gdscript skip-lint]\n"
"print_rich(\"[color=green][b]Hello world![/b][/color]\") # Выводит «Hello "
"world!» зелёным цветом, жирным шрифтом.\n"
"[/gdscript]\n"
"[csharp skip-lint]\n"
"GD.PrintRich(\"[color=green][b]Hello world![/b][/color]\"); // Выводит «Hello "
"world!» зелёным цветом, жирным шрифтом.\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Рекомендуется использовать [method push_error] и [method "
"push_warning] для вывода сообщений об ошибках и предупреждениях вместо "
"[method print] или [method print_rich]. Это позволяет отделить их от "
"сообщений, используемых для отладки, а также обеспечивает отображение "
"трассировки стека (stack trace) при возникновении ошибки или предупреждения.\n"
"[b]Примечание:[/b] В окне вывода редактора поддерживаются кликабельные теги "
"[code skip-lint][url=address]text[/url][/code]. При нажатии на такой тег "
"значение [code]address[/code] обрабатывается методом [method OS.shell_open]."
msgid ""
"If verbose mode is enabled ([method OS.is_stdout_verbose] returning "
"[code]true[/code]), converts one or more arguments of any type to string in "
"the best way possible and prints them to the console."
msgstr ""
"Если включен подробный режим ([method OS.is_stdout_verbose], возвращающий "
"[code]true[/code]), преобразует один или несколько аргументов любого типа в "
"строку наилучшим возможным способом и выводит их на консоль."
msgid ""
"Prints one or more arguments to strings in the best way possible to standard "
"error line.\n"
"[codeblocks]\n"
"[gdscript]\n"
"printerr(\"prints to stderr\")\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PrintErr(\"prints to stderr\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Выводит один или несколько аргументов в строки наилучшим образом в "
"стандартную строку ошибок.\n"
"[codeblocks]\n"
"[gdscript]\n"
"printerr(\"выводит на stderr\")\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PrintErr(\"выводит на stderr\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Prints one or more arguments to strings in the best way possible to the OS "
"terminal. Unlike [method print], no newline is automatically added at the "
"end.\n"
"[b]Note:[/b] The OS terminal is [i]not[/i] the same as the editor's Output "
"dock. The output sent to the OS terminal can be seen when running Godot from "
"a terminal. On Windows, this requires using the [code]console.exe[/code] "
"executable.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Prints \"ABC\" to terminal.\n"
"printraw(\"A\")\n"
"printraw(\"B\")\n"
"printraw(\"C\")\n"
"[/gdscript]\n"
"[csharp]\n"
"// Prints \"ABC\" to terminal.\n"
"GD.PrintRaw(\"A\");\n"
"GD.PrintRaw(\"B\");\n"
"GD.PrintRaw(\"C\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Выводит один или несколько аргументов строк наилучшим образом на терминал ОС. "
"В отличие от [method print], в конце автоматически не добавляется новая "
"строка.\n"
"[b]Примечание:[/b] Терминал ОС [i]не[/i] то же самое, что и док-станция "
"вывода редактора. Вывод, отправленный на терминал ОС, можно увидеть при "
"запуске Godot из терминала. В Windows для этого требуется использовать "
"исполняемый файл [code]console.exe[/code].\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Выводит на терминал «ABC».\n"
"printraw(\"A\")\n"
"printraw(\"B\")\n"
"printraw(\"C\")\n"
"[/gdscript]\n"
"[csharp]\n"
"// Выводит на терминал «ABC».\n"
"GD.PrintRaw(\"A\");\n"
"GD.PrintRaw(\"B\");\n"
"GD.PrintRaw(\"C\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Prints one or more arguments to the console with a space between each "
"argument.\n"
"[codeblocks]\n"
"[gdscript]\n"
"prints(\"A\", \"B\", \"C\") # Prints \"A B C\"\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PrintS(\"A\", \"B\", \"C\"); // Prints \"A B C\"\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Выводит один или несколько аргументов на консоль с пробелом между каждым "
"аргументом.\n"
"[codeblocks]\n"
"[gdscript]\n"
"prints(\"A\", \"B\", \"C\") # Выводит \"A B C\"\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PrintS(\"A\", \"B\", \"C\"); // Выводит \"A B C\"\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Prints one or more arguments to the console with a tab between each "
"argument.\n"
"[codeblocks]\n"
"[gdscript]\n"
"printt(\"A\", \"B\", \"C\") # Prints \"A B C\"\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PrintT(\"A\", \"B\", \"C\"); // Prints \"A B C\"\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Выводит на консоль один или несколько аргументов с табуляцией между каждым "
"аргументом.\n"
"[codeblocks]\n"
"[gdscript]\n"
"printt(\"A\", \"B\", \"C\") # Выводит \"A B C\"\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PrintT(\"A\", \"B\", \"C\"); // Выводит \"A B C\"\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Pushes an error message to Godot's built-in debugger and to the OS terminal.\n"
"[codeblocks]\n"
"[gdscript]\n"
"push_error(\"test error\") # Prints \"test error\" to debugger and terminal "
"as an error.\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PushError(\"test error\"); // Prints \"test error\" to debugger and "
"terminal as an error.\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] This function does not pause project execution. To print an "
"error message and pause project execution in debug builds, use "
"[code]assert(false, \"test error\")[/code] instead."
msgstr ""
"Отправляет сообщение об ошибке во встроенный отладчик Godot и на терминал "
"ОС.\n"
"[codeblocks]\n"
"[gdscript]\n"
"push_error(\"test error\") # Выводит \"test error\" в отладчик и терминал как "
"ошибку.\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PushError(\"test error\"); // Выводит \"test error\" в отладчик и терминал "
"как ошибку.\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Эта функция не приостанавливает выполнение проекта. Чтобы "
"вывести сообщение об ошибке и приостановить выполнение проекта в отладочных "
"сборках, используйте вместо этого [code]assert(false, \"test error\")[/code]."
msgid ""
"Pushes a warning message to Godot's built-in debugger and to the OS "
"terminal.\n"
"[codeblocks]\n"
"[gdscript]\n"
"push_warning(\"test warning\") # Prints \"test warning\" to debugger and "
"terminal as a warning.\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PushWarning(\"test warning\"); // Prints \"test warning\" to debugger and "
"terminal as a warning.\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Отправляет предупреждающее сообщение встроенному отладчику Godot и на "
"терминал ОС.\n"
"[codeblocks]\n"
"[gdscript]\n"
"push_warning(\"test warning\") # Выводит \"test warning\" на отладчик и "
"терминал как предупреждение.\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.PushWarning(\"test warning\"); // Выводит \"test warning\" на отладчик и "
"терминал как предупреждение.\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Converts an angle expressed in radians to degrees.\n"
"[codeblock]\n"
"rad_to_deg(0.523599) # Returns 30\n"
"rad_to_deg(PI) # Returns 180\n"
"rad_to_deg(PI * 2) # Returns 360\n"
"[/codeblock]"
msgstr ""
"Преобразует угол, выраженный в радианах, в градусы.\n"
"[codeblock]\n"
"rad_to_deg(0.523599) # Возвращает 30\n"
"rad_to_deg(PI) # Возвращает 180\n"
"rad_to_deg(PI * 2) # Возвращает 360\n"
"[/codeblock]"
msgid ""
"Given a [param seed], returns a [PackedInt64Array] of size [code]2[/code], "
"where its first element is the randomized [int] value, and the second element "
"is the same as [param seed]. Passing the same [param seed] consistently "
"returns the same array.\n"
"[b]Note:[/b] \"Seed\" here refers to the internal state of the pseudo random "
"number generator, currently implemented as a 64 bit integer.\n"
"[codeblock]\n"
"var a = rand_from_seed(4)\n"
"\n"
"print(a[0]) # Prints 2879024997\n"
"print(a[1]) # Prints 4\n"
"[/codeblock]"
msgstr ""
"При наличии [param seed] возвращает [PackedInt64Array] размером [code]2[/"
"code], где его первый элемент — это рандомизированное значение [int], а "
"второй элемент совпадает с [param seed]. Передача одного и того же [param "
"seed] последовательно возвращает один и тот же массив.\n"
"[b]Примечание:[/b] «Seed» здесь относится к внутреннему состоянию генератора "
"псевдослучайных чисел, в настоящее время реализованного как 64-битное целое "
"число.\n"
"[codeblock]\n"
"var a = rand_from_seed(4)\n"
"\n"
"print(a[0]) # Выводит 2879024997\n"
"print(a[1]) # Выводит 4\n"
"[/codeblock]"
msgid ""
"Returns a random floating-point value between [code]0.0[/code] and [code]1.0[/"
"code] (inclusive).\n"
"[codeblocks]\n"
"[gdscript]\n"
"randf() # Returns e.g. 0.375671\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.Randf(); // Returns e.g. 0.375671\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает случайное значение с плавающей точкой между [code]0.0[/code] и "
"[code]1.0[/code] (включительно).\n"
"[codeblocks]\n"
"[gdscript]\n"
"randf() # Возвращает, например, 0.375671\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.Randf(); // Возвращает, например, 0.375671\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns a random floating-point value between [param from] and [param to] "
"(inclusive).\n"
"[codeblocks]\n"
"[gdscript]\n"
"randf_range(0, 20.5) # Returns e.g. 7.45315\n"
"randf_range(-10, 10) # Returns e.g. -3.844535\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.RandRange(0.0, 20.5); // Returns e.g. 7.45315\n"
"GD.RandRange(-10.0, 10.0); // Returns e.g. -3.844535\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает случайное значение с плавающей точкой между [param from] и [param "
"to] (включительно).\n"
"[codeblocks]\n"
"[gdscript]\n"
"randf_range(0, 20.5) # Возвращает, например, 7.45315\n"
"randf_range(-10, 10) # Возвращает, например, -3.844535\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.RandRange(0.0, 20.5); // Возвращает, например, 7.45315\n"
"GD.RandRange(-10.0, 10.0); // Возвращает, например, -3.844535\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns a [url=https://en.wikipedia.org/wiki/Normal_distribution]normally-"
"distributed[/url], pseudo-random floating-point value from the specified "
"[param mean] and a standard [param deviation]. This is also known as a "
"Gaussian distribution.\n"
"[b]Note:[/b] This method uses the [url=https://en.wikipedia.org/wiki/"
"Box%E2%80%93Muller_transform]Box-Muller transform[/url] algorithm."
msgstr ""
"Возвращает [url=https://en.wikipedia.org/wiki/Normal_distribution]нормально "
"распределенное[/url], псевдослучайное значение с плавающей точкой из "
"указанного [param mean] и стандартного [param offset]. Это также известно как "
"распределение Гаусса.\n"
"[b]Примечание:[/b] Этот метод использует алгоритм [url=https://"
"en.wikipedia.org/wiki/Box%E2%80%93Muller_transform]преобразование Box-Muller[/"
"url]."
msgid ""
"Returns a random unsigned 32-bit integer. Use remainder to obtain a random "
"value in the interval [code][0, N - 1][/code] (where N is smaller than "
"2^32).\n"
"[codeblocks]\n"
"[gdscript]\n"
"randi() # Returns random integer between 0 and 2^32 - 1\n"
"randi() % 20 # Returns random integer between 0 and 19\n"
"randi() % 100 # Returns random integer between 0 and 99\n"
"randi() % 100 + 1 # Returns random integer between 1 and 100\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.Randi(); // Returns random integer between 0 and 2^32 - 1\n"
"GD.Randi() % 20; // Returns random integer between 0 and 19\n"
"GD.Randi() % 100; // Returns random integer between 0 and 99\n"
"GD.Randi() % 100 + 1; // Returns random integer between 1 and 100\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает случайное беззнаковое 32-битное целое число. Используйте остаток "
"для получения случайного значения в интервале [code][0, N - 1][/code] (где N "
"меньше 2^32).\n"
"[codeblocks]\n"
"[gdscript]\n"
"randi() #Возвращает случайное целое число от 0 до 2^32 - 1\n"
"randi() % 20 # Возвращает случайное целое число от 0 до 19\n"
"randi() % 100 # Возвращает случайное целое число от 0 до 99\n"
"randi() % 100 + 1 # Возвращает случайное целое число от 1 до 100\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.Randi(); // Возвращает случайное целое число от 0 до 2^32 - 1\n"
"GD.Randi() % 20; // Возвращает случайное целое число от 0 до 19\n"
"GD.Randi() % 100; // Возвращает случайное целое число от 0 до 99\n"
"GD.Randi() % 100 + 1; // Возвращает случайное целое число от 1 до 100\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns a random signed 32-bit integer between [param from] and [param to] "
"(inclusive). If [param to] is lesser than [param from], they are swapped.\n"
"[codeblocks]\n"
"[gdscript]\n"
"randi_range(0, 1) # Returns either 0 or 1\n"
"randi_range(-10, 1000) # Returns random integer between -10 and 1000\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.RandRange(0, 1); // Returns either 0 or 1\n"
"GD.RandRange(-10, 1000); // Returns random integer between -10 and 1000\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает случайное 32-битное целое число со знаком между [param from] и "
"[param to] (включительно). Если [param to] меньше [param from], они меняются "
"местами.\n"
"[codeblocks]\n"
"[gdscript]\n"
"randi_range(0, 1) # Возвращает 0 или 1\n"
"randi_range(-10, 1000) # Возвращает случайное целое число от -10 до 1000\n"
"[/gdscript]\n"
"[csharp]\n"
"GD.RandRange(0, 1); // Возвращает 0 или 1\n"
"GD.RandRange(-10, 1000); // Возвращает случайное целое число от -10 до 1000\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Randomizes the seed (or the internal state) of the random number generator. "
"The current implementation uses a number based on the device's time.\n"
"[b]Note:[/b] This function is called automatically when the project is run. "
"If you need to fix the seed to have consistent, reproducible results, use "
"[method seed] to initialize the random number generator."
msgstr ""
"Рандомизирует начальное число (или внутреннее состояние) генератора случайных "
"чисел. Текущая реализация использует число, основанное на времени "
"устройства.\n"
"[b]Примечание:[/b] Эта функция вызывается автоматически при запуске проекта. "
"Если вам нужно исправить начальное число, чтобы получить последовательные и "
"воспроизводимые результаты, используйте [method seed] для инициализации "
"генератора случайных чисел."
msgid ""
"Maps a [param value] from range [code][istart, istop][/code] to [code]"
"[ostart, ostop][/code]. See also [method lerp] and [method inverse_lerp]. If "
"[param value] is outside [code][istart, istop][/code], then the resulting "
"value will also be outside [code][ostart, ostop][/code]. If this is not "
"desired, use [method clamp] on the result of this function.\n"
"[codeblock]\n"
"remap(75, 0, 100, -1, 1) # Returns 0.5\n"
"[/codeblock]\n"
"For complex use cases where multiple ranges are needed, consider using "
"[Curve] or [Gradient] instead.\n"
"[b]Note:[/b] If [code]istart == istop[/code], the return value is undefined "
"(most likely NaN, INF, or -INF)."
msgstr ""
"Отображает [param value] из диапазона [code][istart, istop][/code] в [code]"
"[ostart, ostop][/code]. См. также [method lerp] и [method inverse_lerp]. Если "
"[param value] находится вне [code][istart, istop][/code], то результирующее "
"значение также будет вне [code][ostart, ostop][/code]. Если это нежелательно, "
"используйте [method clamp] для результата этой функции.\n"
"[codeblock]\n"
"remap(75, 0, 100, -1, 1) # Returns 0.5\n"
"[/codeblock]\n"
"Для сложных случаев использования, когда требуется несколько диапазонов, "
"рассмотрите возможность использования [Curve] или [Gradient].\n"
"[b]Примечание:[/b] Если [code]istart == istop[/code], возвращаемое значение "
"не определено (скорее всего, NaN, INF или -INF)."
msgid ""
"Allocates a unique ID which can be used by the implementation to construct an "
"RID. This is used mainly from native extensions to implement servers."
msgstr ""
"Выделяет уникальный идентификатор, который может использоваться реализацией "
"для построения RID. Это используется в основном из собственных расширений для "
"реализации серверов."
msgid ""
"Creates an RID from a [param base]. This is used mainly from native "
"extensions to build servers."
msgstr ""
"Создает RID из [param base]. Используется в основном из собственных "
"расширений для сборки серверов."
msgid ""
"Rotates [param from] toward [param to] by the [param delta] amount. Will not "
"go past [param to].\n"
"Similar to [method move_toward], but interpolates correctly when the angles "
"wrap around [constant @GDScript.TAU].\n"
"If [param delta] is negative, this function will rotate away from [param to], "
"toward the opposite angle, and will not go past the opposite angle."
msgstr ""
"Поворачивает [param from] в сторону [param to] на величину [param delta]. Не "
"пройдет мимо [param to].\n"
"Похож на [method move_toward], но интерполирует правильно, когда углы "
"оборачиваются вокруг [constant @GDScript.TAU].\n"
"Если [param delta] отрицательное значение, эта функция будет поворачиваться "
"от [param to] к противоположному углу и не будет выходить за пределы "
"противоположного угла."
msgid ""
"Rounds [param x] to the nearest whole number, with halfway cases rounded away "
"from 0. Supported types: [int], [float], [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"round(2.4) # Returns 2\n"
"round(2.5) # Returns 3\n"
"round(2.6) # Returns 3\n"
"[/codeblock]\n"
"See also [method floor], [method ceil], and [method snapped].\n"
"[b]Note:[/b] For better type safety, use [method roundf], [method roundi], "
"[method Vector2.round], [method Vector3.round], or [method Vector4.round]."
msgstr ""
"Округляет [param x] до ближайшего целого числа, при этом половинные значения "
"округляются от 0. Поддерживаемые типы: [int], [float], [Vector2], [Vector2i], "
"[Vector3], [Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"round(2.4) # Возвращает 2\n"
"round(2.5) # Возвращает 3\n"
"round(2.6) # Возвращает 3\n"
"[/codeblock]\n"
"См. также [method floor], [method ceil] и [method snapped].\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method roundf], "
"[method roundi], [method Vector2.round], [method Vector3.round] или [method "
"Vector4.round]."
msgid ""
"Rounds [param x] to the nearest whole number, with halfway cases rounded away "
"from 0.\n"
"A type-safe version of [method round], returning a [float]."
msgstr ""
"Округляет [param x] до ближайшего целого числа, при этом средние значения "
"округляются от 0.\n"
"Типо-безопасная версия [method round], возвращающая [float]."
msgid ""
"Rounds [param x] to the nearest whole number, with halfway cases rounded away "
"from 0.\n"
"A type-safe version of [method round], returning an [int]."
msgstr ""
"Округляет [param x] до ближайшего целого числа, при этом промежуточные "
"значения округляются от 0.\n"
"Безопасная версия для типов [method round], возвращающая [int]."
msgid ""
"Sets the seed for the random number generator to [param base]. Setting the "
"seed manually can ensure consistent, repeatable results for most random "
"functions.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var my_seed = \"Godot Rocks\".hash()\n"
"seed(my_seed)\n"
"var a = randf() + randi()\n"
"seed(my_seed)\n"
"var b = randf() + randi()\n"
"# a and b are now identical\n"
"[/gdscript]\n"
"[csharp]\n"
"ulong mySeed = (ulong)GD.Hash(\"Godot Rocks\");\n"
"GD.Seed(mySeed);\n"
"var a = GD.Randf() + GD.Randi();\n"
"GD.Seed(mySeed);\n"
"var b = GD.Randf() + GD.Randi();\n"
"// a and b are now identical\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Устанавливает начальное значение для генератора случайных чисел в [param "
"base]. Установка начального числа вручную может обеспечить согласованные и "
"повторяемые результаты для большинства случайных функций.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var my_seed = \"Godot Rocks\".hash()\n"
"seed(my_seed)\n"
"var a = randf() + randi()\n"
"seed(my_seed)\n"
"var b = randf() + randi()\n"
"# a и b теперь идентичны\n"
"[/gdscript]\n"
"[csharp]\n"
"ulong mySeed = (ulong)GD.Hash(\"Godot Rocks\");\n"
"GD.Seed(mySeed);\n"
"var a = GD.Randf() + GD.Randi();\n"
"GD.Seed(mySeed);\n"
"var b = GD.Randf() + GD.Randi();\n"
"// a и b теперь идентичны\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns the same type of [Variant] as [param x], with [code]-1[/code] for "
"negative values, [code]1[/code] for positive values, and [code]0[/code] for "
"zeros. For [code]nan[/code] values it returns 0.\n"
"Supported types: [int], [float], [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"sign(-6.0) # Returns -1\n"
"sign(0.0) # Returns 0\n"
"sign(6.0) # Returns 1\n"
"sign(NAN) # Returns 0\n"
"\n"
"sign(Vector3(-6.0, 0.0, 6.0)) # Returns (-1, 0, 1)\n"
"[/codeblock]\n"
"[b]Note:[/b] For better type safety, use [method signf], [method signi], "
"[method Vector2.sign], [method Vector2i.sign], [method Vector3.sign], [method "
"Vector3i.sign], [method Vector4.sign], or [method Vector4i.sign]."
msgstr ""
"Возвращает тот же тип [Variant], что и [param x], с [code]-1[/code] для "
"отрицательных значений, [code]1[/code] для положительных значений и [code]0[/"
"code] для нулей. Для значений [code]nan[/code] возвращает 0.\n"
"Поддерживаемые типы: [int], [float], [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"sign(-6.0) # Возвращает -1\n"
"sign(0.0) # Возвращает 0\n"
"sign(6.0) # Возвращает 1\n"
"sign(NAN) # Возвращает 0\n"
"\n"
"sign(Vector3(-6.0, 0.0, 6.0)) # Возвращает (-1, 0, 1)\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method signf], "
"[method signi], [method Vector2.sign], [method Vector2i.sign], [method "
"Vector3.sign], [method Vector3i.sign], [method Vector4.sign] или [method "
"Vector4i.sign]."
msgid ""
"Returns [code]-1.0[/code] if [param x] is negative, [code]1.0[/code] if "
"[param x] is positive, and [code]0.0[/code] if [param x] is zero. For "
"[code]nan[/code] values of [param x] it returns 0.0.\n"
"[codeblock]\n"
"signf(-6.5) # Returns -1.0\n"
"signf(0.0) # Returns 0.0\n"
"signf(6.5) # Returns 1.0\n"
"signf(NAN) # Returns 0.0\n"
"[/codeblock]"
msgstr ""
"Возвращает [code]-1.0[/code], если [param x] отрицательный, [code]1.0[/code], "
"если [param x] положительный, и [code]0.0[/code], если [param x] равен нулю. "
"Для [code]nan[/code] значений [param x] он возвращает 0.0.\n"
"[codeblock]\n"
"signf(-6.5) # Возвращает -1.0\n"
"signf(0.0) # Возвращает 0.0\n"
"signf(6.5) # Возвращает 1.0\n"
"signf(NAN) # Возвращает 0.0\n"
"[/codeblock]"
msgid ""
"Returns [code]-1[/code] if [param x] is negative, [code]1[/code] if [param x] "
"is positive, and [code]0[/code] if [param x] is zero.\n"
"[codeblock]\n"
"signi(-6) # Returns -1\n"
"signi(0) # Returns 0\n"
"signi(6) # Returns 1\n"
"[/codeblock]"
msgstr ""
"Возвращает [code]-1[/code], если [param x] отрицательный, [code]1[/code], "
"если [param x] положительный, и [code]0[/code], если [param x] равен нулю.\n"
"[codeblock]\n"
"signi(-6) # Возвращает -1\n"
"signi(0) # Возвращает 0\n"
"signi(6) # Возвращает 1\n"
"[/codeblock]"
msgid ""
"Returns the sine of angle [param angle_rad] in radians.\n"
"[codeblock]\n"
"sin(0.523599) # Returns 0.5\n"
"sin(deg_to_rad(90)) # Returns 1.0\n"
"[/codeblock]"
msgstr ""
"Возвращает синус угла [param angle_rad] в радианах.\n"
"[codeblock]\n"
"sin(0.523599) # Возвращает 0.5\n"
"sin(deg_to_rad(90)) # Возвращает 1.0\n"
"[/codeblock]"
msgid ""
"Returns the hyperbolic sine of [param x].\n"
"[codeblock]\n"
"var a = log(2.0) # Returns 0.693147\n"
"sinh(a) # Returns 0.75\n"
"[/codeblock]"
msgstr ""
"Возвращает гиперболический синус [param x].\n"
"[codeblock]\n"
"var a = log(2.0) # Возвращает 0.693147\n"
"sinh(a) # Возвращает 0.75\n"
"[/codeblock]"
msgid ""
"Returns a smooth cubic Hermite interpolation between [code]0[/code] and "
"[code]1[/code].\n"
"For positive ranges (when [code]from <= to[/code]) the return value is "
"[code]0[/code] when [code]x <= from[/code], and [code]1[/code] when [code]x "
">= to[/code]. If [param x] lies between [param from] and [param to], the "
"return value follows an S-shaped curve that smoothly transitions from "
"[code]0[/code] to [code]1[/code].\n"
"For negative ranges (when [code]from > to[/code]) the function is mirrored "
"and returns [code]1[/code] when [code]x <= to[/code] and [code]0[/code] when "
"[code]x >= from[/code].\n"
"This S-shaped curve is the cubic Hermite interpolator, given by [code]f(y) = "
"3*y^2 - 2*y^3[/code] where [code]y = (x-from) / (to-from)[/code].\n"
"[codeblock]\n"
"smoothstep(0, 2, -5.0) # Returns 0.0\n"
"smoothstep(0, 2, 0.5) # Returns 0.15625\n"
"smoothstep(0, 2, 1.0) # Returns 0.5\n"
"smoothstep(0, 2, 2.0) # Returns 1.0\n"
"[/codeblock]\n"
"Compared to [method ease] with a curve value of [code]-1.6521[/code], [method "
"smoothstep] returns the smoothest possible curve with no sudden changes in "
"the derivative. If you need to perform more advanced transitions, use [Tween] "
"or [AnimationPlayer].\n"
"[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/"
"smoothstep_ease_comparison.png]Comparison between smoothstep() and ease(x, "
"-1.6521) return values[/url]\n"
"[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/"
"smoothstep_range.webp]Smoothstep() return values with positive, zero, and "
"negative ranges[/url]"
msgstr ""
"Возвращает гладкую кубическую интерполяцию Эрмита между [code]0[/code] и "
"[code]1[/code].\n"
"Для положительных диапазонов (когда [code]from <= to[/code]) возвращаемое "
"значение равно [code]0[/code], когда [code]x <= from[/code], и [code]1[/"
"code], когда [code]x >= to[/code]. Если [param x] лежит между [param from] и "
"[param to], возвращаемое значение следует S-образной кривой, которая плавно "
"переходит от [code]0[/code] к [code]1[/code].\n"
"Для отрицательных диапазонов (когда [code]from > to[/code]) функция зеркально "
"отражается и возвращает [code]1[/code], когда [code]x <= to[/code] и [code]0[/"
"code], когда [code]x >= from[/code].\n"
"Эта S-образная кривая представляет собой кубический интерполятор Эрмита, "
"заданный как [code]f(y) = 3*y^2 - 2*y^3[/code], где [code]y = (x-from) / (to-"
"from)[/code].\n"
"[codeblock]\n"
"smoothstep(0, 2, -5.0) # Returns 0.0\n"
"smoothstep(0, 2, 0.5) # Returns 0.15625\n"
"smoothstep(0, 2, 1.0) # Returns 0.5\n"
"smoothstep(0, 2, 2.0) # Returns 1.0\n"
"[/codeblock]\n"
"По сравнению с [method ease] со значением кривой [code]-1.6521[/code], "
"[method smoothstep] возвращает максимально гладкую кривую без резких "
"изменений в производной. Если вам нужно выполнить более сложные переходы, "
"используйте [Tween] или [AnimationPlayer].\n"
"[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/"
"smoothstep_ease_comparison.png]Сравнение возвращаемых значений smoothstep() и "
"ease(x, -1.6521)[/url]\n"
"[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/"
"smoothstep_range.webp]Smoothstep() возвращает значения с положительным, "
"нулевым и отрицательным диапазонами[/url]"
msgid ""
"Returns the multiple of [param step] that is the closest to [param x]. This "
"can also be used to round a floating-point number to an arbitrary number of "
"decimals.\n"
"The returned value is the same type of [Variant] as [param step]. Supported "
"types: [int], [float], [Vector2], [Vector2i], [Vector3], [Vector3i], "
"[Vector4], [Vector4i].\n"
"[codeblock]\n"
"snapped(100, 32) # Returns 96\n"
"snapped(3.14159, 0.01) # Returns 3.14\n"
"\n"
"snapped(Vector2(34, 70), Vector2(8, 8)) # Returns (32, 72)\n"
"[/codeblock]\n"
"See also [method ceil], [method floor], and [method round].\n"
"[b]Note:[/b] For better type safety, use [method snappedf], [method "
"snappedi], [method Vector2.snapped], [method Vector2i.snapped], [method "
"Vector3.snapped], [method Vector3i.snapped], [method Vector4.snapped], or "
"[method Vector4i.snapped]."
msgstr ""
"Возвращает кратное [param step], которое ближе всего к [param x]. Это также "
"можно использовать для округления числа с плавающей точкой до произвольного "
"количества десятичных знаков.\n"
"Возвращаемое значение имеет тот же тип [Variant], что и [param step]. "
"Поддерживаемые типы: [int], [float], [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], [Vector4i].\n"
"[codeblock]\n"
"snapped(100, 32) # Returns 96\n"
"snapped(3.14159, 0.01) # Returns 3.14\n"
"\n"
"snapped(Vector2(34, 70), Vector2(8, 8)) # Returns (32, 72)\n"
"[/codeblock]\n"
"См. также [method ceil], [method floor] и [method round].\n"
"[b]Примечание:[/b] Для лучшей безопасности типов используйте [method "
"snappedf], [method snappedi], [method Vector2.snapped], [method "
"Vector2i.snapped], [method Vector3.snapped], [method Vector3i.snapped], "
"[method Vector4.snapped], или [method Vector4i.snapped]."
msgid ""
"Returns the multiple of [param step] that is the closest to [param x]. This "
"can also be used to round a floating-point number to an arbitrary number of "
"decimals.\n"
"A type-safe version of [method snapped], returning a [float].\n"
"[codeblock]\n"
"snappedf(32.0, 2.5) # Returns 32.5\n"
"snappedf(3.14159, 0.01) # Returns 3.14\n"
"[/codeblock]"
msgstr ""
"Возвращает кратное [param step], которое ближе всего к [param x]. Это также "
"можно использовать для округления числа с плавающей точкой до произвольного "
"количества десятичных знаков.\n"
"Типобезопасная (type-safe) версия [method snapped], возвращающая [float].\n"
"[codeblock]\n"
"snappedf(32.0, 2.5) # Returns 32.5\n"
"snappedf(3.14159, 0.01) # Returns 3.14\n"
"[/codeblock]"
msgid ""
"Returns the multiple of [param step] that is the closest to [param x].\n"
"A type-safe version of [method snapped], returning an [int].\n"
"[codeblock]\n"
"snappedi(53, 16) # Returns 48\n"
"snappedi(4096, 100) # Returns 4100\n"
"[/codeblock]"
msgstr ""
"Возвращает кратное [param step], которое ближе всего к [param x].\n"
"Типобезопасная версия [method snapped], возвращающая [int].\n"
"[codeblock]\n"
"snappedi(53, 16) # Returns 48\n"
"snappedi(4096, 100) # Returns 4100\n"
"[/codeblock]"
msgid ""
"Returns the square root of [param x], where [param x] is a non-negative "
"number.\n"
"[codeblock]\n"
"sqrt(9) # Returns 3\n"
"sqrt(10.24) # Returns 3.2\n"
"sqrt(-1) # Returns NaN\n"
"[/codeblock]\n"
"[b]Note:[/b] Negative values of [param x] return NaN (\"Not a Number\"). In "
"C#, if you need negative inputs, use [code]System.Numerics.Complex[/code]."
msgstr ""
"Возвращает квадратный корень из [param x], где [param x] — неотрицательное "
"число.\n"
"[codeblock]\n"
"sqrt(9) # Returns 3\n"
"sqrt(10.24) # Returns 3.2\n"
"sqrt(-1) # Returns NaN\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Отрицательные значения [param x] возвращают NaN («Not a "
"Number»). В C#, если вам нужны отрицательные входные данные, используйте "
"[code]System.Numerics.Complex[/code]."
msgid ""
"Returns the position of the first non-zero digit, after the decimal point. "
"Note that the maximum return value is 10, which is a design decision in the "
"implementation.\n"
"[codeblock]\n"
"var n = step_decimals(5) # n is 0\n"
"n = step_decimals(1.0005) # n is 4\n"
"n = step_decimals(0.000000005) # n is 9\n"
"[/codeblock]"
msgstr ""
"Возвращает позицию первой ненулевой цифры после десятичной точки. Обратите "
"внимание, что максимальное возвращаемое значение равно 10, что является "
"проектным решением в реализации.\n"
"[codeblock]\n"
"var n = step_decimals(5) # n равен 0\n"
"n = step_decimals(1.0005) # n равен 4\n"
"n = step_decimals(0.000000005) # n равен 9\n"
"[/codeblock]"
msgid ""
"Converts one or more arguments of any [Variant] type to a [String] in the "
"best way possible.\n"
"[codeblock]\n"
"var a = [10, 20, 30]\n"
"var b = str(a)\n"
"print(len(a)) # Prints 3 (the number of elements in the array).\n"
"print(len(b)) # Prints 12 (the length of the string \"[10, 20, 30]\").\n"
"[/codeblock]"
msgstr ""
"Преобразует один или несколько аргументов любого типа [Variant] в [String] "
"наилучшим возможным способом.\n"
"[codeblock]\n"
"var a = [10, 20, 30]\n"
"var b = str(a)\n"
"print(len(a)) # Выводит 3 (количество элементов в массиве).\n"
"print(len(b)) # Выводит 12 (длина строки \"[10, 20, 30]\").\n"
"[/codeblock]"
msgid ""
"Converts a formatted [param string] that was returned by [method var_to_str] "
"to the original [Variant].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var data = '{ \"a\": 1, \"b\": 2 }' # data is a String\n"
"var dict = str_to_var(data) # dict is a Dictionary\n"
"print(dict[\"a\"]) # Prints 1\n"
"[/gdscript]\n"
"[csharp]\n"
"string data = \"{ \\\"a\\\": 1, \\\"b\\\": 2 }\"; // data is a "
"string\n"
"var dict = GD.StrToVar(data).AsGodotDictionary(); // dict is a Dictionary\n"
"GD.Print(dict[\"a\"]); // Prints 1\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Преобразует отформатированную [param string], возвращенную [method "
"var_to_str], в исходный [Variant].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var data = '{ \"a\": 1, \"b\": 2 }' # data — это String (строка)\n"
"var dict = str_to_var(data) # dict — это Dictionary (словарь)\n"
"print(dict[\"a\"]) # Выводит 1\n"
"[/gdscript]\n"
"[csharp]\n"
"string data = \"{ \\\"a\\\": 1, \\\"b\\\": 2 }\"; // data — это "
"string\n"
"var dict = GD.StrToVar(data).AsGodotDictionary(); // dict — это Dictionary\n"
"GD.Print(dict[\"a\"]); // Выводит 1\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns the tangent of angle [param angle_rad] in radians.\n"
"[codeblock]\n"
"tan(deg_to_rad(45)) # Returns 1\n"
"[/codeblock]"
msgstr ""
"Возвращает тангенс угла [param angle_rad] в радианах.\n"
"[codeblock]\n"
"tan(deg_to_rad(45)) # Returns 1\n"
"[/codeblock]"
msgid ""
"Returns the hyperbolic tangent of [param x].\n"
"[codeblock]\n"
"var a = log(2.0) # Returns 0.693147\n"
"tanh(a) # Returns 0.6\n"
"[/codeblock]"
msgstr ""
"Возвращает гиперболический тангенс [param x].\n"
"[codeblock]\n"
"var a = log(2.0) # Returns 0.693147\n"
"tanh(a) # Returns 0.6\n"
"[/codeblock]"
msgid ""
"Converts the given [param variant] to the given [param type], using the [enum "
"Variant.Type] values. This method is generous with how it handles types, it "
"can automatically convert between array types, convert numeric [String]s to "
"[int], and converting most things to [String].\n"
"If the type conversion cannot be done, this method will return the default "
"value for that type, for example converting [Rect2] to [Vector2] will always "
"return [constant Vector2.ZERO]. This method will never show error messages as "
"long as [param type] is a valid Variant type.\n"
"The returned value is a [Variant], but the data inside and its type will be "
"the same as the requested type.\n"
"[codeblock]\n"
"type_convert(\"Hi!\", TYPE_INT) # Returns 0\n"
"type_convert(\"123\", TYPE_INT) # Returns 123\n"
"type_convert(123.4, TYPE_INT) # Returns 123\n"
"type_convert(5, TYPE_VECTOR2) # Returns (0, 0)\n"
"type_convert(\"Hi!\", TYPE_NIL) # Returns null\n"
"[/codeblock]"
msgstr ""
"Преобразует заданный [param variant] в заданный [param type], используя "
"значения [enum Variant.Type]. Этот метод щедро обрабатывает типы: он может "
"автоматически преобразовывать типы массивов, преобразовывать числовые "
"значения [String] в [int] и преобразовывать большинство объектов в [String].\n"
"Если преобразование типа невозможно выполнить, этот метод вернет значение по "
"умолчанию для этого типа, например, преобразование [Rect2] в [Vector2] всегда "
"будет возвращать [constant Vector2.ZERO]. Этот метод никогда не будет "
"отображать сообщения об ошибках, пока [param type] является допустимым типом "
"варианта.\n"
"Возвращаемое значение — [Variant], но данные внутри и их тип будут такими же, "
"как запрошенный тип.\n"
"[codeblock]\n"
"type_convert(\"Hi!\", TYPE_INT) # Возвращает 0\n"
"type_convert(\"123\", TYPE_INT) # Возвращает 123\n"
"type_convert(123.4, TYPE_INT) # Возвращает 123\n"
"type_convert(5, TYPE_VECTOR2) # Returns (0, 0)\n"
"type_convert(\"Hi!\", TYPE_NIL) # Возвращает null\n"
"[/codeblock]"
msgid ""
"Returns a human-readable name of the given [param type], using the [enum "
"Variant.Type] values.\n"
"[codeblock]\n"
"print(TYPE_INT) # Prints 2\n"
"print(type_string(TYPE_INT)) # Prints \"int\"\n"
"print(type_string(TYPE_STRING)) # Prints \"String\"\n"
"[/codeblock]\n"
"See also [method typeof]."
msgstr ""
"Возвращает понятное человеку имя указанного [param type], используя значения "
"[enum Variant.Type].\n"
"[codeblock]\n"
"print(TYPE_INT) # Выводит 2\n"
"print(type_string(TYPE_INT)) # Выводит \"int\"\n"
"print(type_string(TYPE_STRING)) # Выводит \"String\"\n"
"[/codeblock]\n"
"Смотрите также [method typeof]."
msgid ""
"Returns the internal type of the given [param variable], using the [enum "
"Variant.Type] values.\n"
"[codeblock]\n"
"var json = JSON.new()\n"
"json.parse('[\"a\", \"b\", \"c\"]')\n"
"var result = json.get_data()\n"
"if typeof(result) == TYPE_ARRAY:\n"
"\tprint(result[0]) # Prints \"a\"\n"
"else:\n"
"\tprint(\"Unexpected result!\")\n"
"[/codeblock]\n"
"See also [method type_string]."
msgstr ""
"Возвращает внутренний тип заданной [param variable], используя значения [enum "
"Variant.Type].\n"
"[codeblock]\n"
"var json = JSON.new()\n"
"json.parse('[\"a\", \"b\", \"c\"]')\n"
"var result = json.get_data()\n"
"if typeof(result) == TYPE_ARRAY:\n"
"\tprint(result[0]) # Выводит \"a\"\n"
"else:\n"
"\tprint(\"Неожиданный результат!\")\n"
"[/codeblock]\n"
"См. также [method type_string]."
msgid ""
"Encodes a [Variant] value to a byte array, without encoding objects. "
"Deserialization can be done with [method bytes_to_var].\n"
"[b]Note:[/b] If you need object serialization, see [method "
"var_to_bytes_with_objects].\n"
"[b]Note:[/b] Encoding [Callable] is not supported and will result in an empty "
"value, regardless of the data."
msgstr ""
"Кодирует значение [Variant] в массив байтов без кодирования объектов. "
"Десериализацию можно выполнить с помощью [method bytes_to_var].\n"
"[b]Примечание:[/b] Если вам нужна сериализация объектов, см. [method "
"var_to_bytes_with_objects].\n"
"[b]Примечание:[/b] Кодировка [Callable] не поддерживается и приведет к "
"пустому значению независимо от данных."
msgid ""
"Encodes a [Variant] value to a byte array. Encoding objects is allowed (and "
"can potentially include executable code). Deserialization can be done with "
"[method bytes_to_var_with_objects].\n"
"[b]Note:[/b] Encoding [Callable] is not supported and will result in an empty "
"value, regardless of the data."
msgstr ""
"Кодирует значение [Variant] в массив байтов. Кодирование объектов разрешено "
"(и может потенциально включать исполняемый код). Десериализацию можно "
"выполнить с помощью [method bytes_to_var_with_objects].\n"
"[b]Примечание:[/b] Кодирование [Callable] не поддерживается и приведет к "
"пустому значению независимо от данных."
msgid ""
"Converts a [Variant] [param variable] to a formatted [String] that can then "
"be parsed using [method str_to_var].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = { \"a\": 1, \"b\": 2 }\n"
"print(var_to_str(a))\n"
"[/gdscript]\n"
"[csharp]\n"
"var a = new Godot.Collections.Dictionary { [\"a\"] = 1, [\"b\"] = 2 };\n"
"GD.Print(GD.VarToStr(a));\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Prints:\n"
"[codeblock lang=text]\n"
"{\n"
"\t\"a\": 1,\n"
"\t\"b\": 2\n"
"}\n"
"[/codeblock]\n"
"[b]Note:[/b] Converting [Signal] or [Callable] is not supported and will "
"result in an empty value for these types, regardless of their data."
msgstr ""
"Преобразует [Variant] [param variable] в форматированную [String], которую "
"затем можно проанализировать с помощью [method str_to_var].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = { \"a\": 1, \"b\": 2 }\n"
"print(var_to_str(a))\n"
"[/gdscript]\n"
"[csharp]\n"
"var a = new Godot.Collections.Dictionary { [\"a\"] = 1, [\"b\"] = 2 };\n"
"GD.Print(GD.VarToStr(a));\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Prints:\n"
"[codeblock lang=text]\n"
"{\n"
"\t\"a\": 1,\n"
"\t\"b\": 2\n"
"}\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Преобразование [Signal] или [Callable] не поддерживается и "
"приведет к пустому значению для этих типов, независимо от их данных."
msgid ""
"Returns a [WeakRef] instance holding a weak reference to [param obj]. Returns "
"an empty [WeakRef] instance if [param obj] is [code]null[/code]. Prints an "
"error and returns [code]null[/code] if [param obj] is neither [Object]-"
"derived nor [code]null[/code].\n"
"A weak reference to an object is not enough to keep the object alive: when "
"the only remaining references to a referent are weak references, garbage "
"collection is free to destroy the referent and reuse its memory for something "
"else. However, until the object is actually destroyed the weak reference may "
"return the object even if there are no strong references to it."
msgstr ""
"Возвращает экземпляр [WeakRef], содержащий слабую ссылку на [param obj]. "
"Возвращает пустой экземпляр [WeakRef], если [param obj] равен [code]null[/"
"code]. Выводит ошибку и возвращает [code]null[/code], если [param obj] не "
"является ни [Object]-производным, ни [code]null[/code].\n"
"Слабой ссылки на объект недостаточно, чтобы сохранить объект живым: когда "
"единственные оставшиеся ссылки на референт являются слабыми ссылками, сборка "
"мусора может свободно уничтожить референт и повторно использовать его память "
"для чего-то другого. Однако, пока объект фактически не уничтожен, слабая "
"ссылка может вернуть объект, даже если на него нет сильных ссылок."
msgid ""
"Wraps the [Variant] [param value] between [param min] and [param max]. [param "
"min] is [i]inclusive[/i] while [param max] is [i]exclusive[/i]. This can be "
"used for creating loop-like behavior or infinite surfaces.\n"
"Variant types [int] and [float] are supported. If any of the arguments is "
"[float], this function returns a [float], otherwise it returns an [int].\n"
"[codeblock]\n"
"var a = wrap(4, 5, 10)\n"
"# a is 9 (int)\n"
"\n"
"var a = wrap(7, 5, 10)\n"
"# a is 7 (int)\n"
"\n"
"var a = wrap(10.5, 5, 10)\n"
"# a is 5.5 (float)\n"
"[/codeblock]"
msgstr ""
"Заключает [Variant] [param value] между [param min] и [param max]. [param "
"min] — [i]включительно[/i], а [param max] — [i]исключительно[/i]. Это можно "
"использовать для создания циклов или бесконечных поверхностей.\n"
"Поддерживаются типы вариантов [int] и [float]. Если какой-либо из аргументов "
"— [float], функция возвращает [float], в противном случае — [int].\n"
"[codeblock]\n"
"var a = wrap(4, 5, 10)\n"
"# a это 9 (int)\n"
"\n"
"var a = wrap(7, 5, 10)\n"
"# a это 7 (int)\n"
"\n"
"var a = wrap(10.5, 5, 10)\n"
"# a это 5.5 (float)\n"
"[/codeblock]"
msgid ""
"Wraps the float [param value] between [param min] and [param max]. [param "
"min] is [i]inclusive[/i] while [param max] is [i]exclusive[/i]. This can be "
"used for creating loop-like behavior or infinite surfaces.\n"
"[codeblock]\n"
"# Infinite loop between 5.0 and 9.9\n"
"value = wrapf(value + 0.1, 5.0, 10.0)\n"
"[/codeblock]\n"
"[codeblock]\n"
"# Infinite rotation (in radians)\n"
"angle = wrapf(angle + 0.1, 0.0, TAU)\n"
"[/codeblock]\n"
"[codeblock]\n"
"# Infinite rotation (in radians)\n"
"angle = wrapf(angle + 0.1, -PI, PI)\n"
"[/codeblock]\n"
"[b]Note:[/b] If [param min] is [code]0[/code], this is equivalent to [method "
"fposmod], so prefer using that instead. [method wrapf] is more flexible than "
"using the [method fposmod] approach by giving the user control over the "
"minimum value."
msgstr ""
"Заключает число с плавающей точкой [param value] между [param min] и [param "
"max]. Значение [param min] [i]включительно[/i], а значение [param max] "
"[i]исключительно[/i]. Это можно использовать для создания циклов или "
"бесконечных поверхностей.\n"
"[codeblock]\n"
"# Бесконечный цикл между 5.0 и 9.9\n"
"value = wrapf(value + 0.1, 5.0, 10.0)\n"
"[/codeblock]\n"
"[codeblock]\n"
"# Бесконечное вращение (в радианах)\n"
"angle = wrapf(angle + 0.1, 0.0, TAU)\n"
"[/codeblock]\n"
"[codeblock]\n"
"# Бесконечное вращение (в радианах)\n"
"angle = wrapf(angle + 0.1, -PI, PI)\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Если [param min] равен [code]0[/code], это эквивалентно "
"[method fposmod], поэтому предпочтительнее использовать его. [method wrapf] "
"более гибок, чем подход с [method fposmod], поскольку предоставляет "
"пользователю контроль над минимальным значением."
msgid ""
"Wraps the integer [param value] between [param min] and [param max]. [param "
"min] is [i]inclusive[/i] while [param max] is [i]exclusive[/i]. This can be "
"used for creating loop-like behavior or infinite surfaces.\n"
"[codeblock]\n"
"# Infinite loop between 5 and 9\n"
"frame = wrapi(frame + 1, 5, 10)\n"
"[/codeblock]\n"
"[codeblock]\n"
"# result is -2\n"
"var result = wrapi(-6, -5, -1)\n"
"[/codeblock]"
msgstr ""
"Заключает целое число [param value] между [param min] и [param max]. Значение "
"[param min] [i]включительно[/i], а значение [param max] [i]исключительно[/i]. "
"Это можно использовать для создания циклов или бесконечных поверхностей.\n"
"[codeblock]\n"
"# Бесконечный цикл между 5 и 9\n"
"frame = wrapi(frame + 1, 5, 10)\n"
"[/codeblock]\n"
"[codeblock]\n"
"# result это -2\n"
"var result = wrapi(-6, -5, -1)\n"
"[/codeblock]"
msgid "The [AccessibilityServer] singleton."
msgstr "Синглтон [AccessibilityServer]."
msgid "The [AudioServer] singleton."
msgstr "Синглтон [AudioServer]."
msgid "The [CameraServer] singleton."
msgstr "Синглтон [CameraServer]."
msgid "The [ClassDB] singleton."
msgstr "Синглтон [ClassDB]."
msgid "The [DisplayServer] singleton."
msgstr "Синглтон [DisplayServer]."
msgid ""
"The [EditorInterface] singleton.\n"
"[b]Note:[/b] Only available in editor builds."
msgstr ""
"Синглтон [EditorInterface].\n"
"[b]Примечание:[/b] Доступно только в сборках редактора."
msgid "The [Engine] singleton."
msgstr "Синглтон [Engine]."
msgid "The [EngineDebugger] singleton."
msgstr "Синглтон [EngineDebugger]."
msgid "The [GDExtensionManager] singleton."
msgstr "Синглтон [GDExtensionManager]."
msgid ""
"The [GDScriptLanguageProtocol] singleton.\n"
"[b]Note:[/b] Only available in editor builds."
msgstr ""
"Синглтон [GDScriptLanguageProtocol].\n"
"[b]Примечание:[/b] Доступен только в сборках редактора."
msgid "The [Geometry2D] singleton."
msgstr "Синглтон [Geometry2D]."
msgid "The [Geometry3D] singleton."
msgstr "Синглтон [Geometry3D]."
msgid "The [IP] singleton."
msgstr "Синглтон [IP]."
msgid "The [Input] singleton."
msgstr "Синглтон [Input]."
msgid "The [InputMap] singleton."
msgstr "Синглтон [InputMap]."
msgid ""
"The [JavaClassWrapper] singleton.\n"
"[b]Note:[/b] Only implemented on Android."
msgstr ""
"Синглтон [JavaClassWrapper].\n"
"[b]Примечание:[/b] Реализовано только на Android."
msgid ""
"The [JavaScriptBridge] singleton.\n"
"[b]Note:[/b] Only implemented on the Web platform."
msgstr ""
"Синглтон [JavaScriptBridge].\n"
"[b]Примечание:[/b] Реализовано только на веб-платформе."
msgid "The [Marshalls] singleton."
msgstr "Синглтон [Marshalls]."
msgid ""
"The [NativeMenu] singleton.\n"
"[b]Note:[/b] Only implemented on macOS."
msgstr ""
"Синглтон [NativeMenu].\n"
"[b]Примечание:[/b] Реализовано только на macOS."
msgid "The [NavigationMeshGenerator] singleton."
msgstr "Синглтон [NavigationMeshGenerator]."
msgid "The [NavigationServer2D] singleton."
msgstr "Синглтон [NavigationServer2D]."
msgid "The [NavigationServer2DManager] singleton."
msgstr "Синглтон [NavigationServer2DManager]."
msgid "The [NavigationServer3D] singleton."
msgstr "Синглтон [NavigationServer3D]."
msgid "The [NavigationServer3DManager] singleton."
msgstr "Синглтон [NavigationServer3DManager]."
msgid "The [OS] singleton."
msgstr "Синглтон [OS]."
msgid "The [Performance] singleton."
msgstr "Синглтон [Performance]."
msgid "The [PhysicsServer2D] singleton."
msgstr "Синглтон [PhysicsServer2D]."
msgid "The [PhysicsServer2DManager] singleton."
msgstr "Синглтон [PhysicsServer2DManager]."
msgid "The [PhysicsServer3D] singleton."
msgstr "Синглтон [PhysicsServer3D]."
msgid "The [PhysicsServer3DManager] singleton."
msgstr "Синглтон [PhysicsServer3DManager]."
msgid "The [ProjectSettings] singleton."
msgstr "Синглтон [ProjectSettings]."
msgid "The [RenderingServer] singleton."
msgstr "Синглтон [RenderingServer]."
msgid "The [ResourceLoader] singleton."
msgstr "Синглтон [ResourceLoader]."
msgid "The [ResourceSaver] singleton."
msgstr "Синглтон [ResourceSaver]."
msgid "The [ResourceUID] singleton."
msgstr "Синглтон [ResourceUID]."
msgid "The [TextServerManager] singleton."
msgstr "Синглтон [TextServerManager]."
msgid "The [TextureStreaming] singleton."
msgstr "Синглтон [TextureStreaming]."
msgid "The [ThemeDB] singleton."
msgstr "Синглтон [ThemeDB]."
msgid "The [Time] singleton."
msgstr "Синглтон [Time]."
msgid "The [TranslationServer] singleton."
msgstr "Синглтон [TranslationServer]."
msgid "The [WorkerThreadPool] singleton."
msgstr "Синглтон [WorkerThreadPool]."
msgid "The [XRServer] singleton."
msgstr "Синглтон [XRServer]."
msgid "Left side, usually used for [Control] or [StyleBox]-derived classes."
msgstr ""
"Левая сторона, обычно используется для классов, производных от [Control] или "
"[StyleBox]."
msgid "Top side, usually used for [Control] or [StyleBox]-derived classes."
msgstr ""
"Верхняя сторона, обычно используется для классов, производных от [Control] "
"или [StyleBox]."
msgid "Right side, usually used for [Control] or [StyleBox]-derived classes."
msgstr ""
"Правая сторона, обычно используется для классов, производных от [Control] или "
"[StyleBox]."
msgid "Bottom side, usually used for [Control] or [StyleBox]-derived classes."
msgstr ""
"Нижняя сторона, обычно используется для классов, производных от [Control] или "
"[StyleBox]."
msgid "Top-left corner."
msgstr "Верхний левый угол."
msgid "Top-right corner."
msgstr "Верхний правый угол."
msgid "Bottom-right corner."
msgstr "Нижний правый угол."
msgid "Bottom-left corner."
msgstr "Нижний левый угол."
msgid ""
"General vertical alignment, usually used for [Separator], [ScrollBar], "
"[Slider], etc."
msgstr ""
"Общее вертикальное выравнивание, обычно используется для [Separator], "
"[ScrollBar], [Slider] и т.д."
msgid ""
"General horizontal alignment, usually used for [Separator], [ScrollBar], "
"[Slider], etc."
msgstr ""
"Общее горизонтальное выравнивание, обычно используется для [Separator], "
"[ScrollBar], [Slider] и т.д."
msgid ""
"Clockwise rotation. Used by some methods (e.g. [method Image.rotate_90])."
msgstr ""
"Вращение по часовой стрелке. Используется некоторыми методами (например "
"[method Image.rotate_90])."
msgid ""
"Counter-clockwise rotation. Used by some methods (e.g. [method "
"Image.rotate_90])."
msgstr ""
"Вращение против часовой стрелки. Используется некоторыми методами (например, "
"[method Image.rotate_90])."
msgid "Horizontal left alignment, usually for text-derived classes."
msgstr ""
"Горизонтальное выравнивание по левому краю, обычно для классов, содержащих "
"текст."
msgid "Horizontal center alignment, usually for text-derived classes."
msgstr ""
"Горизонтальное выравнивание по центру, обычно для классов, содержащих текст."
msgid "Horizontal right alignment, usually for text-derived classes."
msgstr ""
"Горизонтальное выравнивание по правому краю, обычно для классов, содержащих "
"текст."
msgid "Expand row to fit width, usually for text-derived classes."
msgstr "Расширить строку по ширине, обычно для текстовых классов."
msgid "Vertical top alignment, usually for text-derived classes."
msgstr "Вертикальное выравнивание сверху, обычно для классов, содержащих текст."
msgid "Vertical center alignment, usually for text-derived classes."
msgstr ""
"Вертикальное выравнивание по центру, обычно для классов, содержащих текст."
msgid "Vertical bottom alignment, usually for text-derived classes."
msgstr "Вертикальное выравнивание снизу, обычно для классов, содержащих текст."
msgid "Expand rows to fit height, usually for text-derived classes."
msgstr "Расширить строки по высоте, обычно для текстовых классов."
msgid ""
"Aligns the top of the inline object (e.g. image, table) to the position of "
"the text specified by [code]INLINE_ALIGNMENT_TO_*[/code] constant."
msgstr ""
"Выравнивает верх встроенного объекта (например, изображения, таблицы) к "
"позиции текста, определённой константой [code]INLINE_ALIGNMENT_TO_*[/code]."
msgid ""
"Aligns the center of the inline object (e.g. image, table) to the position of "
"the text specified by [code]INLINE_ALIGNMENT_TO_*[/code] constant."
msgstr ""
"Выравнивает центр встроенного объекта (например, изображения, таблицы) к "
"позиции текста, определённой константой [code]INLINE_ALIGNMENT_TO_*[/code]."
msgid ""
"Aligns the baseline (user defined) of the inline object (e.g. image, table) "
"to the position of the text specified by [code]INLINE_ALIGNMENT_TO_*[/code] "
"constant."
msgstr ""
"Выравнивает базовую линию (определенную пользователем) встроенного объекта "
"(например, изображение, таблица), относительно положения текста, указанного "
"константой [code]INLINE_ALIGNMENT_TO_*[/code] ."
msgid ""
"Aligns the bottom of the inline object (e.g. image, table) to the position of "
"the text specified by [code]INLINE_ALIGNMENT_TO_*[/code] constant."
msgstr ""
"Выравнивает низ встроенного объекта (например, изображения, таблицы) к "
"позиции текста, определённой константой [code]INLINE_ALIGNMENT_TO_*[/code]."
msgid ""
"Aligns the position of the inline object (e.g. image, table) specified by "
"[code]INLINE_ALIGNMENT_*_TO[/code] constant to the top of the text."
msgstr ""
"Выравнивает позицию встроенного объекта (например, изображения, таблицы), "
"определённой константой [code]INLINE_ALIGNMENT_*_TO[/code] к верху текста."
msgid ""
"Aligns the position of the inline object (e.g. image, table) specified by "
"[code]INLINE_ALIGNMENT_*_TO[/code] constant to the center of the text."
msgstr ""
"Выравнивает позицию встроенного объекта (например, изображения, таблицы), "
"определённой константой [code]INLINE_ALIGNMENT_*_TO[/code] к центру текста."
msgid ""
"Aligns the position of the inline object (e.g. image, table) specified by "
"[code]INLINE_ALIGNMENT_*_TO[/code] constant to the baseline of the text."
msgstr ""
"Выравнивает положение встроенного объекта (например, изображение, таблица) "
"указанного константой [code]INLINE_ALIGNMENT_*_TO[/code], относительно "
"базовой линии текста."
msgid "Aligns inline object (e.g. image, table) to the bottom of the text."
msgstr ""
"Выравнивает встроенный объект (например, изображение, таблица) по нижней "
"части текста."
msgid ""
"Aligns top of the inline object (e.g. image, table) to the top of the text. "
"Equivalent to [code]INLINE_ALIGNMENT_TOP_TO | INLINE_ALIGNMENT_TO_TOP[/code]."
msgstr ""
"Выравнивает верхнюю часть встроенного объекта (например, изображение, "
"таблица) относительно верхней части текста. Аналогично "
"[code]INLINE_ALIGNMENT_TOP_TO | INLINE_ALIGNMENT_TO_TOP[/code]."
msgid ""
"Aligns center of the inline object (e.g. image, table) to the center of the "
"text. Equivalent to [code]INLINE_ALIGNMENT_CENTER_TO | "
"INLINE_ALIGNMENT_TO_CENTER[/code]."
msgstr ""
"Выравнивает центр встроенного объекта (например, изображение, таблица) по "
"центру текста. Аналогично [code]INLINE_ALIGNMENT_CENTER_TO | "
"INLINE_ALIGNMENT_TO_CENTER[/code]."
msgid ""
"Aligns bottom of the inline object (e.g. image, table) to the bottom of the "
"text. Equivalent to [code]INLINE_ALIGNMENT_BOTTOM_TO | "
"INLINE_ALIGNMENT_TO_BOTTOM[/code]."
msgstr ""
"Выравнивает нижнюю часть встроенного объекта (например, изображение, таблица) "
"по нижней части текста. Аналогично [code]INLINE_ALIGNMENT_BOTTOM_TO | "
"INLINE_ALIGNMENT_TO_BOTTOM[/code]."
msgid "A bit mask for [code]INLINE_ALIGNMENT_*_TO[/code] alignment constants."
msgstr ""
"Битовая маска для констант выравнивания [code]INLINE_ALIGNMENT_*_TO[/code]."
msgid "A bit mask for [code]INLINE_ALIGNMENT_TO_*[/code] alignment constants."
msgstr ""
"Битовая маска для констант выравнивания [code]INLINE_ALIGNMENT_*_TO[/code]."
msgid ""
"Specifies that Euler angles should be in intrinsic XYZ order. When composing, "
"the rotations happen around the local X, Y, and Z axes, in that order. When "
"decomposing, the order is reversed, first Z, then Y, and X last."
msgstr ""
"Указывает, что углы Эйлера должны располагаться в заданном порядке XYZ. При "
"композиции вращения происходят вокруг локальных осей X, Y и Z в указанном "
"порядке. При декомпозиции порядок меняется на обратный: сначала Z, затем Y, а "
"X последним."
msgid ""
"Specifies that Euler angles should be in intrinsic XZY order. When composing, "
"the rotations happen around the local X, Z, and Y axes, in that order. When "
"decomposing, the order is reversed, first Y, then Z, and X last."
msgstr ""
"Указывает, что углы Эйлера должны располагаться в исходном порядке XZY. При "
"композиции вращения происходят вокруг локальных осей X, Z и Y в указанном "
"порядке. При декомпозиции порядок меняется на обратный: сначала Y, затем Z, и "
"последним X."
msgid ""
"Specifies that Euler angles should be in intrinsic YXZ order. When composing, "
"the rotations happen around the local Y, X, and Z axes, in that order. When "
"decomposing, the order is reversed, first Z, then X, and Y last."
msgstr ""
"Указывает, что углы Эйлера должны быть расположены в исходном порядке YXZ. "
"При композиции вращения происходят вокруг локальных осей Y, X и Z в указанном "
"порядке. При декомпозиции порядок меняется на обратный: сначала Z, затем X, и "
"последним Y."
msgid ""
"Specifies that Euler angles should be in intrinsic YZX order. When composing, "
"the rotations happen around the local Y, Z, and X axes, in that order. When "
"decomposing, the order is reversed, first X, then Z, and Y last."
msgstr ""
"Указывает, что углы Эйлера должны быть расположены в исходном порядке YZX. "
"При композиции вращения происходят вокруг локальных осей Y, Z и X в указанном "
"порядке. При декомпозиции порядок меняется на обратный: сначала X, затем Z, и "
"последним Y."
msgid ""
"Specifies that Euler angles should be in intrinsic ZXY order. When composing, "
"the rotations happen around the local Z, X, and Y axes, in that order. When "
"decomposing, the order is reversed, first Y, then X, and Z last."
msgstr ""
"Указывает, что углы Эйлера должны располагаться в исходном порядке ZXY. При "
"композиции вращения происходят вокруг локальных осей Z, X и Y в указанном "
"порядке. При декомпозиции порядок меняется на обратный: сначала Y, затем X, а "
"Z последним."
msgid ""
"Specifies that Euler angles should be in intrinsic ZYX order. When composing, "
"the rotations happen around the local Z, Y, and X axes, in that order. When "
"decomposing, the order is reversed, first X, then Y, and Z last."
msgstr ""
"Указывает, что углы Эйлера должны располагаться в порядке, заданном "
"координатами ZYX. При композиции вращения происходят вокруг локальных осей Z, "
"Y и X в указанном порядке. При декомпозиции порядок меняется на обратный: "
"сначала X, затем Y, а Z последним."
msgid ""
"Enum value which doesn't correspond to any key. This is used to initialize "
"[enum Key] properties with a generic state."
msgstr ""
"Значение перечисления, которые не соответствует ни одному ключу. Это "
"используется для инициализации свойств [enum Key] с общим состоянием."
msgid "Keycodes with this bit applied are non-printable."
msgstr "Коды клавиш с этим битом не подлежат печати."
msgid "Escape key."
msgstr "Клавиша Escape."
msgid "Tab key."
msgstr "Клавиша Tab."
msgid "Shift + Tab key."
msgstr "Клавиша Shift + Tab."
msgid "Backspace key."
msgstr "Клавиша Backspace."
msgid "Return key (on the main keyboard)."
msgstr "Клавиша возврата (на основной клавиатуре)."
msgid "Enter key on the numeric keypad."
msgstr "Клавиша ввода на цифровой клавиатуре."
msgid "Insert key."
msgstr "Клавиша Insert."
msgid "Delete key."
msgstr "Клавиша Delete."
msgid "Pause key."
msgstr "Клавиша Pause."
msgid "Print Screen key."
msgstr "Клавиша Print Screen."
msgid "System Request key."
msgstr "Клавиша System Request."
msgid "Clear key."
msgstr "Клавиша очистки."
msgid "Home key."
msgstr "Клавиша Home."
msgid "End key."
msgstr "Клавиша End."
msgid "Left arrow key."
msgstr "Клавиша со стрелкой влево."
msgid "Up arrow key."
msgstr "Клавиша со стрелкой вверх."
msgid "Right arrow key."
msgstr "Клавиша со стрелкой вправо."
msgid "Down arrow key."
msgstr "Клавиша со стрелкой вниз."
msgid "Page Up key."
msgstr "Клавиша Page Up."
msgid "Page Down key."
msgstr "Клавиша Page Down."
msgid "Shift key."
msgstr "Клавиша Shift."
msgid "Control key."
msgstr "Клавиша Control."
msgid "Meta key."
msgstr "Клавиша Meta."
msgid "Alt key."
msgstr "Клавиша Alt."
msgid "Caps Lock key."
msgstr "Клавиша Caps Lock."
msgid "Num Lock key."
msgstr "Клавиша Num Lock."
msgid "Scroll Lock key."
msgstr "Клавиша Scroll Lock."
msgid "F1 key."
msgstr "Клавиша F1."
msgid "F2 key."
msgstr "Клавиша F2."
msgid "F3 key."
msgstr "Клавиша F3."
msgid "F4 key."
msgstr "Клавиша F4."
msgid "F5 key."
msgstr "Клавиша F5."
msgid "F6 key."
msgstr "Клавиша F6."
msgid "F7 key."
msgstr "Клавиша F7."
msgid "F8 key."
msgstr "Клавиша F8."
msgid "F9 key."
msgstr "Клавиша F9."
msgid "F10 key."
msgstr "Клавиша F10."
msgid "F11 key."
msgstr "Клавиша F11."
msgid "F12 key."
msgstr "Клавиша F12."
msgid "F13 key."
msgstr "Клавиша F13."
msgid "F14 key."
msgstr "Клавиша F14."
msgid "F15 key."
msgstr "Клавиша F15."
msgid "F16 key."
msgstr "Клавиша F16."
msgid "F17 key."
msgstr "Клавиша F17."
msgid "F18 key."
msgstr "Клавиша F18."
msgid "F19 key."
msgstr "Клавиша F19."
msgid "F20 key."
msgstr "Клавиша F20."
msgid "F21 key."
msgstr "Клавиша F21."
msgid "F22 key."
msgstr "Клавиша F22."
msgid "F23 key."
msgstr "Клавиша F23."
msgid "F24 key."
msgstr "Клавиша F24."
msgid "F25 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F25. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F26 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F26. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F27 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F27. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F28 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F28. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F29 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F29. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F30 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F30. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F31 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F31. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F32 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F32. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F33 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F33. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F34 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F34. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "F35 key. Only supported on macOS and Linux due to a Windows limitation."
msgstr ""
"Клавиша F35. Поддерживается только в macOS и Linux, из-за ограничений Windows."
msgid "Multiply (*) key on the numeric keypad."
msgstr "Клавиша умножения (*) на цифровой клавиатуре."
msgid "Divide (/) key on the numeric keypad."
msgstr "Клавиша деления (/) на цифровой клавиатуре."
msgid "Subtract (-) key on the numeric keypad."
msgstr "Клавиша вычитания (-) на цифровой клавиатуре."
msgid "Period (.) key on the numeric keypad."
msgstr "Клавиша точки (.) на цифровой клавиатуре."
msgid "Add (+) key on the numeric keypad."
msgstr "Клавиша сложения (+) на цифровой клавиатуре."
msgid "Number 0 on the numeric keypad."
msgstr "Цифра 0 на цифровой клавиатуре."
msgid "Number 1 on the numeric keypad."
msgstr "Цифра 1 на цифровой клавиатуре."
msgid "Number 2 on the numeric keypad."
msgstr "Цифра 2 на цифровой клавиатуре."
msgid "Number 3 on the numeric keypad."
msgstr "Цифра 3 на цифровой клавиатуре."
msgid "Number 4 on the numeric keypad."
msgstr "Цифра 4 на цифровой клавиатуре."
msgid "Number 5 on the numeric keypad."
msgstr "Цифра 5 на цифровой клавиатуре."
msgid "Number 6 on the numeric keypad."
msgstr "Цифра 6 на цифровой клавиатуре."
msgid "Number 7 on the numeric keypad."
msgstr "Цифра 7 на цифровой клавиатуре."
msgid "Number 8 on the numeric keypad."
msgstr "Цифра 8 на цифровой клавиатуре."
msgid "Number 9 on the numeric keypad."
msgstr "Цифра 9 на цифровой клавиатуре."
msgid "Context menu key."
msgstr "Клавиша контекстного меню."
msgid "Hyper key. (On Linux/X11 only)."
msgstr "Гипер ключ. (Только в Linux/X11)."
msgid "Help key."
msgstr "Клавиша помощи."
msgid "Back key."
msgstr "Клавиша «Назад»."
msgid "Forward key."
msgstr "Клавиша «Вперед»."
msgid "Media stop key."
msgstr "Клавиша остановки мультимедиа."
msgid "Refresh key."
msgstr "Клавиша «Обновить»."
msgid "Volume down key."
msgstr "Клавиша уменьшения громкости."
msgid "Mute volume key."
msgstr "Клавиша отключения звука."
msgid "Volume up key."
msgstr "Клавиша увеличения громкости."
msgid "Media play key."
msgstr "Клавиша воспроизведения мультимедиа."
msgid "Previous song key."
msgstr "Клавиша «Предыдущая песня»."
msgid "Next song key."
msgstr "Клавиша «Следующая песня»."
msgid "Media record key."
msgstr "Клавиша «Медиа-запись»."
msgid "Home page key."
msgstr "Клавиша «Домашняя страница»."
msgid "Favorites key."
msgstr "Клавиша \"Избранное\"."
msgid "Search key."
msgstr "Клавиша поиска."
msgid "Standby key."
msgstr "Клавиша выключения."
msgid "Open URL / Launch Browser key."
msgstr "Клавиша «Открыть URL / Запустить браузер»."
msgid "Launch Mail key."
msgstr "Клавиша «Запустить почту»."
msgid "Launch Media key."
msgstr "Клавиша «Запуск Медиа»."
msgid "Launch Shortcut 0 key."
msgstr "Клавиша запуска 0."
msgid "Launch Shortcut 1 key."
msgstr "Клавиша запуска 1."
msgid "Launch Shortcut 2 key."
msgstr "Клавиша запуска 2."
msgid "Launch Shortcut 3 key."
msgstr "Клавиша запуска 3."
msgid "Launch Shortcut 4 key."
msgstr "Клавиша запуска 4."
msgid "Launch Shortcut 5 key."
msgstr "Клавиша запуска 5."
msgid "Launch Shortcut 6 key."
msgstr "Клавиша запуска 6."
msgid "Launch Shortcut 7 key."
msgstr "Клавиша запуска 7."
msgid "Launch Shortcut 8 key."
msgstr "Клавиша запуска 8."
msgid "Launch Shortcut 9 key."
msgstr "Клавиша запуска 9."
msgid "Launch Shortcut A key."
msgstr "Клавиша запуска A."
msgid "Launch Shortcut B key."
msgstr "Клавиша запуска B."
msgid "Launch Shortcut C key."
msgstr "Клавиша запуска C."
msgid "Launch Shortcut D key."
msgstr "Клавиша запуска D."
msgid "Launch Shortcut E key."
msgstr "Клавиша запуска E."
msgid "Launch Shortcut F key."
msgstr "Клавиша запуска F."
msgid "\"Globe\" key on Mac / iPad keyboard."
msgstr "Клавиша «Глобус» на клавиатуре Mac/iPad."
msgid "\"On-screen keyboard\" key on iPad keyboard."
msgstr "Клавиша «Экранная клавиатура» на клавиатуре iPad."
msgid "英数 key on Mac keyboard."
msgstr "Клавиша 英数 (Буквенно-цифровая) на клавиатуре Mac."
msgid "かな key on Mac keyboard."
msgstr "Клавиша かな (Кана) на клавиатуре Mac."
msgid "Unknown key."
msgstr "Неизвестная клавиша."
msgid "Space key."
msgstr "Клавиша пробела."
msgid "Exclamation mark ([code]![/code]) key."
msgstr "Клавиша восклицательного знака ([code]![/code])."
msgid "Double quotation mark ([code]\"[/code]) key."
msgstr "Двойная кавычка ([code]\"[/code])."
msgid "Number sign or [i]hash[/i] ([code]#[/code]) key."
msgstr "Знак числа или клавиша [i]решетки[/i] ([code]#[/code])."
msgid "Dollar sign ([code]$[/code]) key."
msgstr "Клавиша со знаком доллара ([code]$[/code])."
msgid "Percent sign ([code]%[/code]) key."
msgstr "Клавиша знака процента ([code]%[/code])."
msgid "Ampersand ([code]&[/code]) key."
msgstr "Клавиша амперсанда ([code]&[/code])."
msgid "Apostrophe ([code]'[/code]) key."
msgstr "Клавиша апострофа ([code]'[/code])."
msgid "Left parenthesis ([code]([/code]) key."
msgstr "Клавиша левой скобки ([code]([/code])."
msgid "Right parenthesis ([code])[/code]) key."
msgstr "Клавиша правой скобки ([code]([/code])."
msgid "Asterisk ([code]*[/code]) key."
msgstr "Клавиша звездочки (знак сноски, умножения) ([code]*[/code])."
msgid "Plus ([code]+[/code]) key."
msgstr "Клавиша плюс ([code]+[/code])."
msgid "Comma ([code],[/code]) key."
msgstr "Клавиша запятая ([code],[/code])."
msgid "Minus ([code]-[/code]) key."
msgstr "Клавиша минус ([code]-[/code])."
msgid "Period ([code].[/code]) key."
msgstr "Клавиша точки ([code].[/code])."
msgid "Slash ([code]/[/code]) key."
msgstr "Клавиша слэш (деления) ([code]/[/code])."
msgid "Number 0 key."
msgstr "Клавиша 0."
msgid "Number 1 key."
msgstr "Клавиша 1."
msgid "Number 2 key."
msgstr "Клавиша 2."
msgid "Number 3 key."
msgstr "Клавиша 3."
msgid "Number 4 key."
msgstr "Клавиша 4."
msgid "Number 5 key."
msgstr "Клавиша 5."
msgid "Number 6 key."
msgstr "Клавиша 6."
msgid "Number 7 key."
msgstr "Клавиша 7."
msgid "Number 8 key."
msgstr "Клавиша 8."
msgid "Number 9 key."
msgstr "Клавиша 9."
msgid "Colon ([code]:[/code]) key."
msgstr "Клавиша двоеточия ([code]:[/code])."
msgid "Semicolon ([code];[/code]) key."
msgstr "Клавиша точки с запятой ([code];[/code])."
msgid "Less-than sign ([code]<[/code]) key."
msgstr "Клавиша знака «меньше» ([code]<[/code])."
msgid "Equal sign ([code]=[/code]) key."
msgstr "Клавиша знака равенства ([code]=[/code])."
msgid "Greater-than sign ([code]>[/code]) key."
msgstr "Клавиша знака «больше» ([code]>[/code])."
msgid "Question mark ([code]?[/code]) key."
msgstr "Клавиша со знаком вопроса ([code]?[/code])."
msgid "At sign ([code]@[/code]) key."
msgstr "Клавиша at ([code]@[/code])."
msgid "A key."
msgstr "Клавиша A."
msgid "B key."
msgstr "Клавиша B."
msgid "C key."
msgstr "Клавиша C."
msgid "D key."
msgstr "Клавиша D."
msgid "E key."
msgstr "Клавиша E."
msgid "F key."
msgstr "Клавиша F."
msgid "G key."
msgstr "Клавиша G."
msgid "H key."
msgstr "Клавиша H."
msgid "I key."
msgstr "Клавиша I."
msgid "J key."
msgstr "Клавиша J."
msgid "K key."
msgstr "Клавиша K."
msgid "L key."
msgstr "Клавиша L."
msgid "M key."
msgstr "Клавиша M."
msgid "N key."
msgstr "Клавиша N."
msgid "O key."
msgstr "Клавиша O."
msgid "P key."
msgstr "Клавиша P."
msgid "Q key."
msgstr "Клавиша Q."
msgid "R key."
msgstr "Клавиша R."
msgid "S key."
msgstr "Клавиша S."
msgid "T key."
msgstr "Клавиша T."
msgid "U key."
msgstr "Клавиша U."
msgid "V key."
msgstr "Клавиша V."
msgid "W key."
msgstr "Клавиша W."
msgid "X key."
msgstr "Клавиша X."
msgid "Y key."
msgstr "Клавиша Y."
msgid "Z key."
msgstr "Клавиша Z."
msgid "Left bracket ([code skip-lint][[/code]) key."
msgstr "Ключ левой скобки ([code skip-lint][[/code])."
msgid "Backslash ([code]\\[/code]) key."
msgstr "Клавиша обратной косой черты (Backslash key) ([code]\\[/code])."
msgid "Right bracket ([code]][/code]) key."
msgstr "Ключ правой скобки ([code]][/code])."
msgid "Caret ([code]^[/code]) key."
msgstr "Клавиша курсора ([code]^[/code])."
msgid "Underscore ([code]_[/code]) key."
msgstr "Клавиша подчеркивания ([code]_[/code])."
msgid "Backtick ([code]`[/code]) key."
msgstr "Клавиша обратного апострофа ([code]`[/code])."
msgid "Left brace ([code]{[/code]) key."
msgstr "Клавиша левой фигурной скобки ([code]{[/code])."
msgid "Vertical bar or [i]pipe[/i] ([code]|[/code]) key."
msgstr "Вертикальная черта или [i]pipe[/i] ([code]|[/code])."
msgid "Right brace ([code]}[/code]) key."
msgstr "Клавиша правой фигурной скобки ([code]}[/code])."
msgid "Tilde ([code]~[/code]) key."
msgstr "Клавиша тильда ([code]~[/code])."
msgid "Yen symbol ([code]¥[/code]) key."
msgstr "Клавиша символа йены ([code]¥[/code])."
msgid "Section sign ([code]§[/code]) key."
msgstr "Клавиша знака раздела ([code]§[/code])."
msgid ""
"Bit mask with all bits enabled except for modifier keys. Apply it to remove "
"modifiers.\n"
"[codeblock]\n"
"var keycode = KEY_A | KEY_MASK_SHIFT\n"
"keycode = keycode & KEY_CODE_MASK\n"
"print(keycode) # KEY_A\n"
"[/codeblock]"
msgstr ""
"Битовая маска со всеми включенными битами, кроме клавиш-модификаторов. "
"Примените её для удаления модификаторов.\n"
"[codeblock]\n"
"var keycode = KEY_A | KEY_MASK_SHIFT\n"
"keycode = keycode & KEY_CODE_MASK\n"
"print(keycode) # KEY_A\n"
"[/codeblock]"
msgid ""
"Bit mask with all modifier bits enabled. Apply it to isolate modifiers.\n"
"[codeblock]\n"
"var keycode = KEY_A | KEY_MASK_SHIFT\n"
"keycode = keycode & KEY_MODIFIER_MASK\n"
"print(keycode) # KEY_MASK_SHIFT\n"
"[/codeblock]"
msgstr ""
"Битовая маска со всеми включенными битами модификаторов. Примените её для "
"изоляции модификаторов.\n"
"[codeblock]\n"
"var keycode = KEY_A | KEY_MASK_SHIFT\n"
"keycode = keycode & KEY_MODIFIER_MASK\n"
"print(keycode) # KEY_MASK_SHIFT\n"
"[/codeblock]"
msgid ""
"Automatically remapped to [constant KEY_META] on macOS and [constant "
"KEY_CTRL] on other platforms, this mask is never set in the actual events, "
"and should be used for key mapping only."
msgstr ""
"Автоматически переназначается на [constant KEY_META] на macOS и на [constant "
"KEY_CTRL] на других платформах, эта маска никогда не устанавливается в "
"реальных событиях и должна использоваться только для сопоставления ключей."
msgid "Shift key mask."
msgstr "Маска клавиши Shift."
msgid "Alt or Option (on macOS) key mask."
msgstr "Маска клавиш Alr или Option (на macOS)."
msgid "Command (on macOS) or Meta/Windows key mask."
msgstr "Маска клавиш Command (на macOS) или Meta/Windows."
msgid "Control key mask."
msgstr "Маска управляющей клавиши."
msgid "Keypad key mask."
msgstr "Маска клавиш цифровой клавиатуры."
msgid "Group Switch key mask."
msgstr "Маска клавиш группового переключатель."
msgid ""
"Used for keys which only appear once, or when a comparison doesn't need to "
"differentiate the [code]LEFT[/code] and [code]RIGHT[/code] versions.\n"
"For example, when using [method InputEvent.is_match], an event which has "
"[constant KEY_LOCATION_UNSPECIFIED] will match any [enum KeyLocation] on the "
"passed event."
msgstr ""
"Используется для клавиш, которые появляются только один раз, или когда при "
"сравнении не требуется различать [code] LEFT[/code] и [code]RIGHT [/code] "
"версий.\n"
"Например, при использовании [method InputEvent.is_match], событие которые, "
"имеет [constant KEY_LOCATION_UNSPECIFIED] будет соответствовать любому [enum "
"KeyLocation] в переданном событии."
msgid "A key which is to the left of its twin."
msgstr "Клавиша, которая находится слева от своего двойника."
msgid "A key which is to the right of its twin."
msgstr "Клавиша, которая находится справа от своего двойника."
msgid ""
"Enum value which doesn't correspond to any mouse button. This is used to "
"initialize [enum MouseButton] properties with a generic state."
msgstr ""
"Значение перечисления, которое не соответствует ни одной кнопке мыши. Это "
"используется для инициализации свойств [enum MouseButton] с помощью общего "
"состояния."
msgid "Primary mouse button, usually assigned to the left button."
msgstr "Основная кнопка мыши, обычно назначаемая левой кнопке."
msgid "Secondary mouse button, usually assigned to the right button."
msgstr "Дополнительная кнопка мыши, обычно назначаемая правой."
msgid "Middle mouse button."
msgstr "Средняя кнопка мыши."
msgid "Mouse wheel scrolling up."
msgstr "Прокрутка колеса мыши вверх."
msgid "Mouse wheel scrolling down."
msgstr "Прокрутка колесика мыши вниз."
msgid "Mouse wheel left button (only present on some mice)."
msgstr "Левая кнопка колесика мыши (имеется только на некоторых мышах)."
msgid "Mouse wheel right button (only present on some mice)."
msgstr "Правая кнопка колесика мыши (есть только на некоторых мышах)."
msgid ""
"Extra mouse button 1. This is sometimes present, usually to the sides of the "
"mouse."
msgstr ""
"Дополнительная кнопка мыши 1. Иногда присутствует, обычно по бокам мыши."
msgid ""
"Extra mouse button 2. This is sometimes present, usually to the sides of the "
"mouse."
msgstr ""
"Дополнительная кнопка мыши 2. Иногда присутствует, обычно по бокам мыши."
msgid "Primary mouse button mask, usually for the left button."
msgstr "Маска основной кнопки мыши, обычно для левой кнопки."
msgid "Secondary mouse button mask, usually for the right button."
msgstr "Маска дополнительной кнопки мыши, обычно для правой кнопки."
msgid "Middle mouse button mask."
msgstr "Маска средней кнопки мыши."
msgid "Extra mouse button 1 mask."
msgstr "Маска дополнительной кнопки мыши 1."
msgid "Extra mouse button 2 mask."
msgstr "Маска дополнительной кнопки мыши 2."
msgid "An invalid game controller button."
msgstr "Недопустимая кнопка игрового контроллера."
msgid ""
"Game controller SDL button A. Corresponds to the bottom action button: Sony "
"Cross, Xbox A, Nintendo B."
msgstr ""
"Кнопка А игрового контроллера SDL. Соответствует нижней кнопке действия: "
"Крестик на контроллерах Sony, А на контроллерах Xbox, B на контроллерах "
"Nintendo."
msgid ""
"Game controller SDL button B. Corresponds to the right action button: Sony "
"Circle, Xbox B, Nintendo A."
msgstr ""
"Кнопка B игрового контроллера SDL. Соответствует правой кнопке действия: "
"Кружок на контроллерах Sony, B на контроллерах Xbox, A на контроллерах "
"Nintendo."
msgid ""
"Game controller SDL button X. Corresponds to the left action button: Sony "
"Square, Xbox X, Nintendo Y."
msgstr ""
"Кнопка X игрового контроллера SDL. Соответствует левой кнопке действия: "
"Квадрат на контроллерах Sony, X на контроллерах Xbox, Y на контроллерах "
"Nintendo."
msgid ""
"Game controller SDL button Y. Corresponds to the top action button: Sony "
"Triangle, Xbox Y, Nintendo X."
msgstr ""
"Кнопка Y игрового контроллера SDL. Соответствует верхней кнопке действия: "
"Треугольник на контроллерах Sony, Y на контроллерах Xbox, X на контроллерах "
"Nintendo."
msgid ""
"Game controller SDL back button. Corresponds to the Sony Select, Xbox Back, "
"Nintendo - button."
msgstr ""
"Кнопка возврата игрового контроллера SDL. Соответствует кнопкам: Выбор на "
"контроллерах Sony, Возврат на Xbox, \"-\" на контроллерах Nintendo."
msgid ""
"Game controller SDL guide button. Corresponds to the Sony PS, Xbox Home "
"button."
msgstr ""
"Кнопка управления игрового контроллера SDL. Соответствует кнопкам Sony PS и "
"Xbox Home."
msgid ""
"Game controller SDL start button. Corresponds to the Sony Options, Xbox Menu, "
"Nintendo + button."
msgstr ""
"Кнопка запуска игрового контроллера SDL. Соответствует кнопкам: Настройки на "
"контроллерах Sony, Меню на контроллерах Xbox, \"+\" на контроллерах Nintendo."
msgid ""
"Game controller SDL left stick button. Corresponds to the Sony L3, Xbox L/LS "
"button."
msgstr ""
"Левый стик игрового контроллера SDL. Соответствует кнопкам: L3 на Sony, L/LS "
"на Xbox."
msgid ""
"Game controller SDL right stick button. Corresponds to the Sony R3, Xbox R/RS "
"button."
msgstr ""
"Правый стик игрового контроллера SDL. Соответствует кнопкам: R3 на Sony, R/RS "
"на Xbox."
msgid ""
"Game controller SDL left shoulder button. Corresponds to the Sony L1, Xbox LB "
"button."
msgstr ""
"Левая плечевая кнопка игрового контроллера SDL. Соответствует кнопкам: L1 на "
"Sony и LB на Xbox."
msgid ""
"Game controller SDL right shoulder button. Corresponds to the Sony R1, Xbox "
"RB button."
msgstr ""
"Правая плечевая кнопка игрового контроллера SDL. Соответствует кнопкам: R1 на "
"Sony и RB на Xbox."
msgid "Game controller D-pad up button."
msgstr "Кнопка вверх на крестовине игрового контроллера."
msgid "Game controller D-pad down button."
msgstr "Кнопка вниз на крестовине игрового контроллера."
msgid "Game controller D-pad left button."
msgstr "Кнопка влево на крестовине игрового контроллера."
msgid "Game controller D-pad right button."
msgstr "Кнопка вправо на крестовине игрового контроллера."
msgid ""
"Game controller SDL miscellaneous button. Corresponds to Xbox share button, "
"PS5 microphone button, Nintendo Switch capture button."
msgstr ""
"Кнопка разное на игровом контроллере SDL. Соответствует кнопкам: поделиться "
"на Xbox, микрофон на PS5, захват на Nintendo Switch."
msgid "Game controller SDL paddle 1 button."
msgstr "Игровой контроллер SDL paddle кнопка 1."
msgid "Game controller SDL paddle 2 button."
msgstr "Игровой контроллер SDL paddle кнопка 2."
msgid "Game controller SDL paddle 3 button."
msgstr "Игровой контроллер SDL paddle кнопка 3."
msgid "Game controller SDL paddle 4 button."
msgstr "Игровой контроллер SDL paddle кнопка 4."
msgid "Game controller SDL touchpad button."
msgstr "Кнопка сенсорной панели игрового контроллера SDL."
msgid ""
"Game controller SDL miscellaneous button. Used by Nintendo Switch 2 Pro "
"Controller and Horipad Steam controllers."
msgstr ""
"Дополнительная кнопка игрового контроллера SDL. Используется контроллерами "
"Nintendo Switch 2 Pro и Horipad Steam."
msgid "Game controller SDL miscellaneous button."
msgstr "Различные кнопки игрового контроллера SDL."
msgid "The number of SDL game controller buttons."
msgstr "Количество кнопок игрового контроллера SDL."
msgid ""
"The maximum number of game controller buttons supported by the engine. The "
"actual limit may be lower on specific platforms:\n"
"- [b]Android:[/b] Up to 36 buttons.\n"
"- [b]Linux:[/b] Up to 80 buttons.\n"
"- [b]Windows[/b] and [b]macOS:[/b] Up to 128 buttons."
msgstr ""
"Максимальное количество кнопок игрового контроллера, поддерживаемое движком. "
"Фактический предел может быть ниже на определенных платформах:\n"
"- [b]Android:[/b] До 36 кнопок.\n"
"- [b]Linux:[/b] До 80 кнопок.\n"
"- [b]Windows[/b] и [b]macOS:[/b] До 128 кнопок."
msgid "An invalid game controller axis."
msgstr "Недопустимая ось игрового контроллера."
msgid "Game controller left joystick x-axis."
msgstr "Игровой контроллер, левый джойстик, ось X."
msgid "Game controller left joystick y-axis."
msgstr "Игровой контроллер, левый джойстик, ось Y."
msgid "Game controller right joystick x-axis."
msgstr "Игровой контроллер, правый джойстик, ось X."
msgid "Game controller right joystick y-axis."
msgstr "Игровой контроллер, правый джойстик, ось Y."
msgid "Game controller left trigger axis."
msgstr "Левая ось триггера игрового контроллера."
msgid "Game controller right trigger axis."
msgstr "Правая ось триггера игрового контроллера."
msgid "The number of SDL game controller axes."
msgstr "Количество осей игрового контроллера SDL."
msgid ""
"The maximum number of game controller axes: OpenVR supports up to 5 Joysticks "
"making a total of 10 axes."
msgstr ""
"Максимальное количество игрового котроллера: OpenVR поддерживает до 5 "
"Джойстиков, что в итоге дает 10 осей."
msgid ""
"Does not correspond to any MIDI message. This is the default value of [member "
"InputEventMIDI.message]."
msgstr ""
"Не соответствует ни одному MIDI-сообщению. Это значение по умолчанию для "
"[member InputEventMIDI.message]."
msgid ""
"MIDI message sent when a note is released.\n"
"[b]Note:[/b] Not all MIDI devices send this message; some may send [constant "
"MIDI_MESSAGE_NOTE_ON] with [member InputEventMIDI.velocity] set to [code]0[/"
"code]."
msgstr ""
"MIDI-сообщение отправляется при отпускании ноты.\n"
"[b]Примечание:[/b] Не все MIDI-устройства отправляют это сообщение; некоторые "
"могут отправлять [constant MIDI_MESSAGE_NOTE_ON] с [member "
"InputEventMIDI.velocity], установленным на [code]0[/code]."
msgid "MIDI message sent when a note is pressed."
msgstr "MIDI-сообщение, отправляемое при нажатии на ноту."
msgid ""
"MIDI message sent to indicate a change in pressure while a note is being "
"pressed down, also called aftertouch."
msgstr ""
"MIDI-сообщение, отправляемое для указания изменения давления при нажатии "
"ноты, также называемое aftertouch."
msgid ""
"MIDI message sent when a controller value changes. In a MIDI device, a "
"controller is any input that doesn't play notes. These may include sliders "
"for volume, balance, and panning, as well as switches and pedals. See the "
"[url=https://en.wikipedia.org/wiki/General_MIDI#Controller_events]General "
"MIDI specification[/url] for a small list."
msgstr ""
"MIDI-сообщение, отправляемое после изменения значения контроллера. В MIDI "
"устройстве, контроллер — любое устройство, которое не проигрывает ноты. К ним "
"могут относиться ползунки для регулировки громкости звука, регулировки "
"баланса и панорамирования, а также переключатели и педали. Подробнее о них "
"смотрите по ссылке: [url=https://en.wikipedia.org/wiki/"
"General_MIDI#Controller_events]General MIDI specification[/url]."
msgid ""
"MIDI message sent when the MIDI device changes its current instrument (also "
"called [i]program[/i] or [i]preset[/i])."
msgstr ""
"MIDI-сообщение, отправляемое после изменения MIDI-устройством своего "
"инструмента (также называется [i]программой[/i] или [i]предустановкой[/i])."
msgid ""
"MIDI message sent to indicate a change in pressure for the whole channel. "
"Some MIDI devices may send this instead of [constant MIDI_MESSAGE_AFTERTOUCH]."
msgstr ""
"MIDI-сообщение, отправляемое для указания изменения давления для всего "
"канала. Некоторые MIDI-устройства могут отправлять его вместо [constant "
"MIDI_MESSAGE_AFTERTOUCH]."
msgid ""
"MIDI message sent when the value of the pitch bender changes, usually a wheel "
"on the MIDI device."
msgstr ""
"MIDI-сообщение, отправляемое после изменения значения питч-бендера, обычно "
"колесиком, расположенным на MIDI-устройстве."
msgid ""
"MIDI system exclusive (SysEx) message. This type of message is not "
"standardized and it's highly dependent on the MIDI device sending it.\n"
"[b]Note:[/b] Getting this message's data from [InputEventMIDI] is not "
"implemented."
msgstr ""
"Системное эксклюзивное сообщение MIDI (SysEx). Этот тип сообщения не является "
"стандартным и во многом зависит от отправляющего его MIDI-устройства.\n"
"[b]Примечание:[/b] Получение данных этого сообщения через [InputEventMIDI] не "
"реализовано."
msgid ""
"MIDI message sent every quarter frame to keep connected MIDI devices "
"synchronized. Related to [constant MIDI_MESSAGE_TIMING_CLOCK].\n"
"[b]Note:[/b] Getting this message's data from [InputEventMIDI] is not "
"implemented."
msgstr ""
"MIDI-сообщение, отправляемое каждую четверть кадра для синхронизации "
"подключенных MIDI-устройств. Связано с [constant MIDI_MESSAGE_TIMING_CLOCK].\n"
"[b]Примечание:[/b] Получение данных этого сообщения через [InputEventMIDI] не "
"реализовано."
msgid ""
"MIDI message sent to jump onto a new position in the current sequence or "
"song.\n"
"[b]Note:[/b] Getting this message's data from [InputEventMIDI] is not "
"implemented."
msgstr ""
"MIDI-сообщение, отправляемое для перехода на новую позицию в текущей "
"секвенции или песне.\n"
"[b]Примечание:[/b] Получение данных этого сообщения через [InputEventMIDI] не "
"реализовано."
msgid ""
"MIDI message sent to select a sequence or song to play.\n"
"[b]Note:[/b] Getting this message's data from [InputEventMIDI] is not "
"implemented."
msgstr ""
"MIDI-сообщение отправлено для выбора последовательности или песни для "
"воспроизведения.\n"
"[b]Примечание:[/b] Получение данных этого сообщения из [InputEventMIDI] не "
"реализовано."
msgid ""
"MIDI message sent to request a tuning calibration. Used on analog "
"synthesizers. Most modern MIDI devices do not need this message."
msgstr ""
"MIDI-сообщение, отправляемое для запроса калибровки настройки. Используется в "
"аналоговых синтезаторах. Большинству современных MIDI-устройств это сообщение "
"не требуется."
msgid ""
"MIDI message sent 24 times after [constant MIDI_MESSAGE_QUARTER_FRAME], to "
"keep connected MIDI devices synchronized."
msgstr ""
"MIDI-сообщение, отправляемое 24 раза после [constant "
"MIDI_MESSAGE_QUARTER_FRAME], для синхронизации подключенных MIDI-устройств."
msgid ""
"MIDI message sent to start the current sequence or song from the beginning."
msgstr ""
"MIDI сообщение, отправляемое для запуска текущей последовательности или песни "
"с начала."
msgid ""
"MIDI message sent to resume from the point the current sequence or song was "
"paused."
msgstr ""
"MIDI-сообщение, отправляемое для возобновления воспроизведения с того "
"момента, когда текущая секвенция или песня была приостановлена."
msgid "MIDI message sent to pause the current sequence or song."
msgstr ""
"MIDI-сообщение отправляется для приостановки текущей последовательности или "
"песни."
msgid ""
"MIDI message sent repeatedly while the MIDI device is idle, to tell the "
"receiver that the connection is alive. Most MIDI devices do not send this "
"message."
msgstr ""
"MIDI-сообщение, многократно отправляемое во время бездействия MIDI-устройства "
"для того, чтобы сообщить приемнику, что связь поддерживается. Большинство "
"MIDI-устройств это сообщение не отправляется."
msgid ""
"MIDI message sent to reset a MIDI device to its default state, as if it was "
"just turned on. It should not be sent when the MIDI device is being turned on."
msgstr ""
"MIDI-сообщение, отправляемое для возврата MIDI-устройства в состояние по "
"умолчанию, как если бы оно было только что включено. Его нельзя отправлять, "
"когда MIDI-устройство включено."
msgid ""
"Methods that return [enum Error] return [constant OK] when no error "
"occurred.\n"
"Since [constant OK] has value [code]0[/code], and all other error constants "
"are positive integers, it can also be used in boolean checks.\n"
"[codeblock]\n"
"var error = method_that_returns_error()\n"
"if error != OK:\n"
"\tprinterr(\"Failure!\")\n"
"\n"
"# Or, alternatively:\n"
"if error:\n"
"\tprinterr(\"Still failing!\")\n"
"[/codeblock]\n"
"[b]Note:[/b] Many functions do not return an error code, but will print error "
"messages to standard output."
msgstr ""
"Методы, возвращающие [enum Error], возвращают [constant OK], когда ошибок не "
"произошло.\n"
"Поскольку [constant OK] имеет значение [code]0[/code], а все остальные "
"константы ошибок являются положительными целыми числами, его также можно "
"использовать в булевых проверках.\n"
"[codeblock]\n"
"var error = method_that_returns_error()\n"
"if error != OK:\n"
"\tprinterr(\"Failure!\")\n"
"\n"
"#Или, в качестве альтернативы:\n"
"if error:\n"
"\tprinterr(\"Still failing!\")\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Многие функции не возвращают код ошибки, но выводят "
"сообщения об ошибках на стандартный вывод."
msgid "Generic error."
msgstr "Общая ошибка."
msgid "Unavailable error."
msgstr "Ошибка \"Недоступно\"."
msgid "Unconfigured error."
msgstr "Ошибка \"Не настроено\"."
msgid "Unauthorized error."
msgstr "Ошибка \"Не авторизовано\"."
msgid "Parameter range error."
msgstr "Ошибка диапазона параметров."
msgid "Out of memory (OOM) error."
msgstr "Ошибка нехватки памяти (OOM)."
msgid "File: Not found error."
msgstr "Ошибка \"Файл: Не найден\"."
msgid "File: Bad drive error."
msgstr "Ошибка \"Файл: Недопустимый диск\"."
msgid "File: Bad path error."
msgstr "Ошибка \"Файл: Неверный путь\"."
msgid "File: No permission error."
msgstr "Ошибка \"Файл: Нет разрешения\"."
msgid "File: Already in use error."
msgstr "Ошибка \"Файл: Уже используется\"."
msgid "File: Can't open error."
msgstr "Ошибка \"Файл: Невозможно открыть\"."
msgid "File: Can't write error."
msgstr "Ошибка \"Файл: Невозможно записать\"."
msgid "File: Can't read error."
msgstr "Ошибка \"Файл: Невозможно прочитать\"."
msgid "File: Unrecognized error."
msgstr "Ошибка \"Файл: Не распознан\"."
msgid "File: Corrupt error."
msgstr "Ошибка \"Файл: Повреждён\"."
msgid "File: Missing dependencies error."
msgstr "Ошибка \"Файл: Отсутствуют зависимости\"."
msgid "File: End of file (EOF) error."
msgstr "Ошибка \"Файл: Конец файла (EOF)\"."
msgid "Can't open error."
msgstr "Ошибка \"Невозможно открыть\"."
msgid "Can't create error."
msgstr "Ошибка \"Невозможно создать\"."
msgid "Query failed error."
msgstr "Ошибка \"Не удалось выполнить запрос\"."
msgid "Already in use error."
msgstr "Ошибка \"Уже используется\"."
msgid "Locked error."
msgstr "Ошибка \"Заблокировано\"."
msgid "Timeout error."
msgstr "Ошибка \"Время ожидания истекло\"."
msgid "Can't connect error."
msgstr "Ошибка \"Невозможно подключиться\"."
msgid "Can't resolve error."
msgstr "Ошибка \"Невозможно разрешить\"."
msgid "Connection error."
msgstr "Ошибка подключения."
msgid "Can't acquire resource error."
msgstr "Ошибка \"Невозможно получить ресурс\"."
msgid "Can't fork process error."
msgstr "Ошибка «Невозможно разветвить процесс»."
msgid "Invalid data error."
msgstr "Ошибка неверных данных."
msgid "Invalid parameter error."
msgstr "Ошибка неверного параметра."
msgid "Already exists error."
msgstr "Ошибка \"Уже существует\"."
msgid "Does not exist error."
msgstr "Ошибка \"Не существует\"."
msgid "Database: Read error."
msgstr "База данных: Ошибка чтения."
msgid "Database: Write error."
msgstr "База данных: Ошибка записи."
msgid "Compilation failed error."
msgstr "Ошибка компиляции."
msgid "Method not found error."
msgstr "Ошибка \"Метод не найден\"."
msgid "Linking failed error."
msgstr "Ошибка линковки."
msgid "Script failed error."
msgstr "Ошибка при выполнении скрипта."
msgid "Cycling link (import cycle) error."
msgstr "Ошибка циклической ссылки (цикл импорта)."
msgid "Invalid declaration error."
msgstr "Ошибка \"Недопустимое определение\"."
msgid "Duplicate symbol error."
msgstr "Ошибка \"Повторяющийся символ\"."
msgid "Parse error."
msgstr "Ошибка синтаксического разбора."
msgid "Busy error."
msgstr "Ошибка \"Занято\"."
msgid "Skip error."
msgstr "Ошибка \"Пропущено\"."
msgid ""
"Help error. Used internally when passing [code]--version[/code] or [code]--"
"help[/code] as executable options."
msgstr ""
"Ошибка при получении справки. Служит для внутреннего использования при "
"передаче [code]--version[/code] или [code]--help[/code] в качестве опций "
"исполняемого файла."
msgid ""
"Bug error, caused by an implementation issue in the method.\n"
"[b]Note:[/b] If a built-in method returns this code, please open an issue on "
"[url=https://github.com/godotengine/godot/issues]the GitHub Issue Tracker[/"
"url]."
msgstr ""
"Ошибка, вызванная проблемой реализации метода.\n"
"[b]Примечание:[/b] Если встроенный метод возвращает этот код, пожалуйста, "
"откройте проблему на [url=https://github.com/godotengine/godot/issues]трекере "
"проблем GitHub[/url]."
msgid ""
"Printer on fire error (this is an easter egg, no built-in methods return this "
"error code)."
msgstr ""
"Ошибка \"Принтер загорелся\" (это пасхалка, ни один встроенный метод не "
"возвращает этот код ошибки)."
msgid ""
"The property has no hint for the editor. However, the hint string is still "
"read, which can be used to specify a suffix for a property that has no range "
"limit (see [constant PROPERTY_HINT_RANGE]'s description)."
msgstr ""
"Для данного свойства нет подсказки для редактора. Однако строка подсказки всё "
"равно считывается, и её можно использовать для указания суффикса для "
"свойства, не имеющего ограничения диапазона (см. описание константы [constant "
"PROPERTY_HINT_RANGE])."
msgid ""
"Hints that an [int], [float], or packed/typed [Array] property containing "
"[int] or [float] types should be within a range specified via the hint string "
"[code]\"min,max\"[/code] or [code]\"min,max,step\"[/code]. The hint string "
"can optionally include [code]\"or_greater\"[/code] and/or [code]\"or_less\"[/"
"code] to allow manual input going respectively above the max or below the min "
"values.\n"
"[b]Example:[/b] [code]\"-360,360,1,or_greater,or_less\"[/code].\n"
"Additionally, other keywords can be included: [code]\"exp\"[/code] for "
"exponential range editing, [code]\"radians_as_degrees\"[/code] for editing "
"radian angles in degrees (the range values are also in degrees), [code]"
"\"degrees\"[/code] to hint at an angle, [code]\"prefer_slider\"[/code] to "
"show the slider for integers, [code]\"hide_control\"[/code] to hide the "
"slider or up-down arrows, and [code]\"suffix:px/s\"[/code] to display a "
"suffix indicating the value's unit (e.g. [code]px/s[/code] for pixels per "
"second)."
msgstr ""
"Подсказка указывает, что свойство типа [int], [float] или упакованный/"
"типизированный [Array], содержащий типы [int] или [float], должно находиться "
"в диапазоне, указанном в строке подсказки [code]\"min,max\"[/code] или [code]"
"\"min,max,step\"[/code]. Строка подсказки может дополнительно включать [code]"
"\"or_greater\"[/code] и/или [code]\"or_less\"[/code], чтобы разрешить ручной "
"ввод значений, превышающих или не превышающих минимальное значение "
"соответственно.\n"
"[b]Пример:[/b] [code]\"-360,360,1,or_greater,or_less\"[/code].\n"
"Кроме того, можно добавить другие ключевые слова: [code]\"exp\"[/code] для "
"редактирования диапазона в экспоненциальных значениях, [code]"
"\"radians_as_degrees\"[/code] для редактирования углов в радианах в градусах "
"(значения диапазона также указываются в градусах), [code]\"degrees\"[/code] "
"для указания угла, [code]\"prefer_slider\"[/code] для отображения ползунка "
"для целых чисел, [code]\"hide_control\"[/code] для скрытия ползунка или "
"стрелок вверх-вниз и [code]\"suffix:px/s\"[/code] для отображения суффикса, "
"указывающего единицу измерения значения (например, [code]px/s[/code] для "
"пикселей в секунду)."
msgid ""
"Hints that an [int], [String], or [StringName] property is an enumerated "
"value to pick in a list specified via a hint string.\n"
"The hint string is a comma separated list of names such as [code]"
"\"Hello,Something,Else\"[/code]. Whitespace is [b]not[/b] removed from either "
"end of a name. For integer properties, the first name in the list has value "
"0, the next 1, and so on. Explicit values can also be specified by appending "
"[code]:integer[/code] to the name, e.g. [code]"
"\"Zero,One,Three:3,Four,Six:6\"[/code]."
msgstr ""
"Подсказка указывает, что свойство типа [int], [String] или [StringName] "
"представляет собой перечисляемое значение, которое нужно выбрать из списка, "
"указанного в строке подсказки.\n"
"Строка подсказки представляет собой список имен, разделенных запятыми, "
"например, [code]\"Hello,Something,Else\"[/code]. Пробелы [b]не[/b] удаляются "
"с обоих концов имени. Для целочисленных свойств первое имя в списке имеет "
"значение 0, следующее — 1 и так далее. Явные значения также можно указать, "
"добавив к имени [code]:integer[/code], например, [code]"
"\"Zero,One,Three:3,Four,Six:6\"[/code]."
msgid ""
"Hints that a [String] or [StringName] property can be an enumerated value to "
"pick in a list specified via a hint string such as [code]"
"\"Hello,Something,Else\"[/code]. See [constant PROPERTY_HINT_ENUM] for "
"details.\n"
"Unlike [constant PROPERTY_HINT_ENUM], a property with this hint still accepts "
"arbitrary values and can be empty. The list of values serves to suggest "
"possible values."
msgstr ""
"Подсказка указывает, что свойство типа [String] или [StringName] может "
"представлять собой перечисляемое значение, которое можно выбрать из списка, "
"указанного в строке подсказки, например, [code]\"Hello,Something,Else\"[/"
"code]. Подробнее см. [constant PROPERTY_HINT_ENUM].\n"
"В отличие от [constant PROPERTY_HINT_ENUM], свойство с этой подсказкой по-"
"прежнему принимает произвольные значения и может быть пустым. Список значений "
"служит для предложения возможных значений."
msgid ""
"Hints that a [float] property should be edited using a curve editor showing "
"an exponential easing function. The hint string can include [code]"
"\"attenuation\"[/code] to flip the curve horizontally and/or [code]"
"\"positive_only\"[/code] to exclude in/out easing and limit values to be "
"greater than or equal to zero. This displays differently to a property that "
"uses [constant PROPERTY_HINT_RANGE] with the [code]\"exp\"[/code] keyword, as "
"it's edited with a slider instead of a curve editor."
msgstr ""
"Указывает на то, что свойство типа [float] следует редактировать с помощью "
"редактора кривых, отображающего функцию экспоненциального сглаживания. Строка "
"подсказки может включать [code]\"attenuation\"[/code] для горизонтального "
"переворота кривой и/или [code]\"positive_only\"[/code] для исключения "
"сглаживания на входе/выходе и ограничения значений значением больше или "
"равным нулю. Это отображается иначе, чем свойство, использующее [constant "
"PROPERTY_HINT_RANGE] с ключевым словом [code]\"exp\"[/code], поскольку оно "
"редактируется ползунком, а не редактором кривых."
msgid ""
"Hints that a vector property should allow its components to be linked. For "
"example, this allows [member Vector2.x] and [member Vector2.y] to be edited "
"together. This hint is supported on [Vector2], [Vector2i], [Vector3], "
"[Vector3i], [Vector4], and [Vector4i]. The hint string can be used to specify "
"a suffix indicating each value's unit with the [code]\"suffix:px/s\"[/code] "
"syntax."
msgstr ""
"Указывает на то, что свойство вектора должно позволять связывать его "
"компоненты. Например, это позволяет редактировать [member Vector2.x] и "
"[member Vector2.y] одновременно. Эта подсказка поддерживается для [Vector2], "
"[Vector2i], [Vector3], [Vector3i], [Vector4] и [Vector4i]. Строка подсказки "
"может использоваться для указания суффикса, обозначающего единицу измерения "
"каждого значения, с помощью синтаксиса [code]\"suffix:px/s\"[/code]."
msgid ""
"Hints that an [int] property is a bitmask with named bit flags.\n"
"The hint string is a comma separated list of names such as [code]"
"\"Bit0,Bit1,Bit2,Bit3\"[/code]. Whitespace is [b]not[/b] removed from either "
"end of a name. The first name in the list has value 1, the next 2, then 4, 8, "
"16 and so on. Explicit values can also be specified by appending "
"[code]:integer[/code] to the name, e.g. [code]\"A:4,B:8,C:16\"[/code]. You "
"can also combine several flags ([code]\"A:4,B:8,AB:12,C:16\"[/code]).\n"
"[b]Note:[/b] A flag value must be at least [code]1[/code] and at most [code]2 "
"** 32 - 1[/code].\n"
"[b]Note:[/b] Unlike [constant PROPERTY_HINT_ENUM], the previous explicit "
"value is not taken into account. For the hint [code]\"A:16,B,C\"[/code], A is "
"16, B is 2, C is 4."
msgstr ""
"Подсказка указывает, что свойство типа [int] представляет собой битовую маску "
"с именованными битовыми флагами.\n"
"Строка подсказки представляет собой список имен, разделенных запятыми, "
"например, [code]\"Bit0,Bit1,Bit2,Bit3\"[/code]. Пробелы [b]не[/b] удаляются с "
"обоих концов имени. Первое имя в списке имеет значение 1, следующее — 2, "
"затем 4, 8, 16 и так далее. Явные значения также можно указать, добавив к "
"имени [code]:integer[/code], например, [code]\"A:4,B:8,C:16\"[/code]. Вы "
"также можете комбинировать несколько флагов ([code]\"A:4,B:8,AB:12,C:16\"[/"
"code]).\n"
"[b]Примечание:[/b] Значение флага должно быть не менее [code]1[/code] и не "
"более [code]2 ** 32 - 1[/code].\n"
"[b]Примечание:[/b] В отличие от [constant PROPERTY_HINT_ENUM], предыдущее "
"явное значение не учитывается. Для подсказки [code]\"A:16,B,C\"[/code] A "
"равно 16, B равно 2, C равно 4."
msgid ""
"Hints that an [int] property is a bitmask using the optionally named 2D "
"render layers."
msgstr ""
"Указывает, что свойство [int] является битовой маской, использующей "
"необязательно именованные слои 2D-рендеринга."
msgid ""
"Hints that an [int] property is a bitmask using the optionally named 2D "
"physics layers."
msgstr ""
"Указывает, что свойство [int] является битовой маской, использующей "
"необязательно именованные 2D-физические слои."
msgid ""
"Hints that an [int] property is a bitmask using the optionally named 2D "
"navigation layers."
msgstr ""
"Указывает, что свойство [int] является битовой маской, использующей "
"необязательно именованные слои 2D-навигации."
msgid ""
"Hints that an [int] property is a bitmask using the optionally named 3D "
"render layers."
msgstr ""
"Указывает, что свойство [int] является битовой маской, использующей "
"необязательно именованные слои 3D-рендеринга."
msgid ""
"Hints that an [int] property is a bitmask using the optionally named 3D "
"physics layers."
msgstr ""
"Указывает, что свойство [int] является битовой маской, использующей "
"необязательно именованные слои 3D-физики."
msgid ""
"Hints that an [int] property is a bitmask using the optionally named 3D "
"navigation layers."
msgstr ""
"Указывает, что свойство [int] является битовой маской, использующей "
"необязательно именованные слои 3D-навигации."
msgid ""
"Hints that an integer property is a bitmask using the optionally named "
"avoidance layers."
msgstr ""
"Указывает, что целочисленное свойство является битовой маской, используя "
"необязательно именованные слои избегания в навигации."
msgid ""
"Hints that a [String] property is a path to a file. Editing it will show a "
"file dialog for picking the path. The hint string can be a set of filters "
"with wildcards like [code]\"*.png,*.jpg\"[/code]. By default the file will be "
"stored as UID whenever available. You can use [ResourceUID] methods to "
"convert it back to path. For storing a raw path, use [constant "
"PROPERTY_HINT_FILE_PATH]."
msgstr ""
"Подсказка, что свойство [String] представляет собой путь к файлу. При его "
"редактировании откроется диалоговое окно для выбора пути. Строка подсказки "
"может представлять собой набор фильтров с подстановочными знаками, например, "
"[code]\"*.png,*.jpg\"[/code]. По умолчанию файл будет сохранён как UID (если "
"он доступен). Вы можете использовать методы [ResourceUID], чтобы "
"преобразовать его обратно в путь. Для сохранения необработанного пути "
"используйте [constant PROPERTY_HINT_FILE_PATH]."
msgid ""
"Hints that a [String] property is a path to a directory. Editing it will show "
"a file dialog for picking the path."
msgstr ""
"Указывает, что свойство [String] — это путь к каталогу. При его "
"редактировании откроется диалоговое окно файла для выбора пути."
msgid ""
"Hints that a [String] property is an absolute path to a file outside the "
"project folder. Editing it will show a file dialog for picking the path. The "
"hint string can be a set of filters with wildcards, like [code]"
"\"*.png,*.jpg\"[/code]."
msgstr ""
"Указывает, что свойство [String] является абсолютным путем к файлу вне папки "
"проекта. При его редактировании откроется диалоговое окно для выбора пути. "
"Подсказка может быть набором фильтров с подстановочными знаками, например "
"[code]\"*.png,*.jpg\"[/code]."
msgid ""
"Hints that a [String] property is an absolute path to a directory outside the "
"project folder. Editing it will show a file dialog for picking the path."
msgstr ""
"Указывает, что свойство [String] — это абсолютный путь к каталогу вне папки "
"проекта. При его редактировании откроется диалоговое окно файла для выбора "
"пути."
msgid ""
"Hints that a property is an instance of a [Resource]-derived type, optionally "
"specified via the hint string (e.g. [code]\"Texture2D\"[/code]). Editing it "
"will show a popup menu of valid resource types to instantiate."
msgstr ""
"Указывает, что свойство является экземпляром типа, производного от "
"[Resource], опционально указываемого через строку подсказки (например, [code]"
"\"Texture2D\"[/code]). При его редактировании отобразится всплывающее меню "
"допустимых типов ресурсов для создания экземпляра."
msgid ""
"Hints that a [String] property is text with line breaks. Editing it will show "
"a text input field where line breaks can be typed.\n"
"The hint string can be set to [code]\"monospace\"[/code] to force the input "
"field to use a monospaced font.\n"
"If the hint string [code]\"no_wrap\"[/code] is set, the input field will not "
"wrap lines at boundaries, instead resorting to making the area scrollable."
msgstr ""
"Подсказка указывает, что свойство [String] содержит текст с переносами строк. "
"При его редактировании появится текстовое поле ввода, куда можно вводить "
"переносы строк.\n"
"Строку подсказки можно установить на [code]\"monospace\"[/code], чтобы "
"принудительно использовать моноширинный шрифт в поле ввода.\n"
"Если задана строка подсказки [code]\"no_wrap\"[/code], поле ввода не будет "
"переносить строки по границам, вместо этого область будет прокручиваться."
msgid "Hints that a [String] property is an [Expression]."
msgstr "Указывает, что свойство [String] является [Expression]."
msgid ""
"Hints that a [String] property should show a placeholder text on its input "
"field, if empty. The hint string is the placeholder text to use."
msgstr ""
"Указывает, что свойство [String] должно отображать текст-заполнитель в своем "
"поле ввода, если оно пустое. Строка подсказки — это текст-заполнитель для "
"использования."
msgid ""
"Hints that a [Color] property should be edited without affecting its "
"transparency ([member Color.a] is not editable)."
msgstr ""
"Подсказка о том, что свойство [Color] следует редактировать, не влияя на его "
"прозрачность ([member Color.a] не подлежит редактированию)."
msgid ""
"Hints that the property's value is an object encoded as object ID, with its "
"type specified in the hint string. Used by the debugger."
msgstr ""
"Указывает, что значение свойства - это объект, представленный как ID объекта, "
"тип которого указан в строке подсказки. Используется отладчиком."
msgid ""
"If a property is [String], hints that the property represents a particular "
"type (class). This allows to select a type from the create dialog. The "
"property will store the selected type as a string.\n"
"If a property is [Array], hints the editor how to show elements. The "
"[code]hint_string[/code] must encode nested types using [code]\":\"[/code] "
"and [code]\"/\"[/code].\n"
"If a property is [Dictionary], hints the editor how to show elements. The "
"[code]hint_string[/code] is the same as [Array], with a [code]\";\"[/code] "
"separating the key and value.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Array of elem_type.\n"
"hint_string = \"%d:\" % [elem_type]\n"
"hint_string = \"%d/%d:%s\" % [elem_type, elem_hint, elem_hint_string]\n"
"# Two-dimensional array of elem_type (array of arrays of elem_type).\n"
"hint_string = \"%d:%d:\" % [TYPE_ARRAY, elem_type]\n"
"hint_string = \"%d:%d/%d:%s\" % [TYPE_ARRAY, elem_type, elem_hint, "
"elem_hint_string]\n"
"# Three-dimensional array of elem_type (array of arrays of arrays of "
"elem_type).\n"
"hint_string = \"%d:%d:%d:\" % [TYPE_ARRAY, TYPE_ARRAY, elem_type]\n"
"hint_string = \"%d:%d:%d/%d:%s\" % [TYPE_ARRAY, TYPE_ARRAY, elem_type, "
"elem_hint, elem_hint_string]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Array of elemType.\n"
"hintString = $\"{elemType:D}:\";\n"
"hintString = $\"{elemType:D}/{elemHint:D}:{elemHintString}\";\n"
"// Two-dimensional array of elemType (array of arrays of elemType).\n"
"hintString = $\"{Variant.Type.Array:D}:{elemType:D}:\";\n"
"hintString = $\"{Variant.Type.Array:D}:{elemType:D}/{elemHint:D}:"
"{elemHintString}\";\n"
"// Three-dimensional array of elemType (array of arrays of arrays of "
"elemType).\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Array:D}:{elemType:D}:"
"\";\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Array:D}:{elemType:D}/"
"{elemHint:D}:{elemHintString}\";\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Examples:[/b]\n"
"[codeblocks]\n"
"[gdscript]\n"
"hint_string = \"%d:\" % [TYPE_INT] # Array of integers.\n"
"hint_string = \"%d/%d:1,10,1\" % [TYPE_INT, PROPERTY_HINT_RANGE] # Array of "
"integers (in range from 1 to 10).\n"
"hint_string = \"%d/%d:Zero,One,Two\" % [TYPE_INT, PROPERTY_HINT_ENUM] # Array "
"of integers (an enum).\n"
"hint_string = \"%d/%d:Zero,One,Three:3,Six:6\" % [TYPE_INT, "
"PROPERTY_HINT_ENUM] # Array of integers (an enum).\n"
"hint_string = \"%d/%d:*.png\" % [TYPE_STRING, PROPERTY_HINT_FILE] # Array of "
"strings (file paths).\n"
"hint_string = \"%d/%d:Texture2D\" % [TYPE_OBJECT, "
"PROPERTY_HINT_RESOURCE_TYPE] # Array of textures.\n"
"\n"
"hint_string = \"%d:%d:\" % [TYPE_ARRAY, TYPE_FLOAT] # Two-dimensional array "
"of floats.\n"
"hint_string = \"%d:%d/%d:\" % [TYPE_ARRAY, TYPE_STRING, "
"PROPERTY_HINT_MULTILINE_TEXT] # Two-dimensional array of multiline strings.\n"
"hint_string = \"%d:%d/%d:-1,1,0.1\" % [TYPE_ARRAY, TYPE_FLOAT, "
"PROPERTY_HINT_RANGE] # Two-dimensional array of floats (in range from -1 to "
"1).\n"
"hint_string = \"%d:%d/%d:Texture2D\" % [TYPE_ARRAY, TYPE_OBJECT, "
"PROPERTY_HINT_RESOURCE_TYPE] # Two-dimensional array of textures.\n"
"[/gdscript]\n"
"[csharp]\n"
"hintString = $\"{Variant.Type.Int:D}/{PropertyHint.Range:D}:1,10,1\"; // "
"Array of integers (in range from 1 to 10).\n"
"hintString = $\"{Variant.Type.Int:D}/{PropertyHint.Enum:D}:Zero,One,Two\"; // "
"Array of integers (an enum).\n"
"hintString = $\"{Variant.Type.Int:D}/"
"{PropertyHint.Enum:D}:Zero,One,Three:3,Six:6\"; // Array of integers (an "
"enum).\n"
"hintString = $\"{Variant.Type.String:D}/{PropertyHint.File:D}:*.png\"; // "
"Array of strings (file paths).\n"
"hintString = $\"{Variant.Type.Object:D}/"
"{PropertyHint.ResourceType:D}:Texture2D\"; // Array of textures.\n"
"\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Float:D}:\"; // Two-"
"dimensional array of floats.\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.String:D}/"
"{PropertyHint.MultilineText:D}:\"; // Two-dimensional array of multiline "
"strings.\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Float:D}/"
"{PropertyHint.Range:D}:-1,1,0.1\"; // Two-dimensional array of floats (in "
"range from -1 to 1).\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Object:D}/"
"{PropertyHint.ResourceType:D}:Texture2D\"; // Two-dimensional array of "
"textures.\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] The trailing colon is required for properly detecting built-in "
"types."
msgstr ""
"Если свойство имеет тип [String], подсказывает, что оно представляет "
"определённый тип (класс). Это позволяет выбирать тип из диалога создания. "
"Свойство будет хранить выбранный тип в виде строки.\n"
"Если свойство имеет тип [Array], подсказывает редактору, как отображать "
"элементы. В [code]hint_string[/code] вложенные типы должны кодироваться с "
"помощью [code]\":\"[/code] и [code]\"/\"[/code].\n"
"Если свойство имеет тип [Dictionary], подсказывает редактору, как отображать "
"элементы. [code]hint_string[/code] формируется так же, как для [Array], но "
"ключ и значение разделяются символом [code]\";\"[/code].\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Массив элементов типа elem_type.\n"
"hint_string = \"%d:\" % [elem_type]\n"
"hint_string = \"%d/%d:%s\" % [elem_type, elem_hint, elem_hint_string]\n"
"# Двумерный массив элементов типа elem_type (массив массивов элементов типа "
"elem_type).\n"
"hint_string = \"%d:%d:\" % [TYPE_ARRAY, elem_type]\n"
"hint_string = \"%d:%d/%d:%s\" % [TYPE_ARRAY, elem_type, elem_hint, "
"elem_hint_string]\n"
"# Трёхмерный массив элементов типа elem_type (массив массивов массивов "
"элементов типа elem_type).\n"
"hint_string = \"%d:%d:%d:\" % [TYPE_ARRAY, TYPE_ARRAY, elem_type]\n"
"hint_string = \"%d:%d:%d/%d:%s\" % [TYPE_ARRAY, TYPE_ARRAY, elem_type, "
"elem_hint, elem_hint_string]\n"
"[/gdscript]\n"
"[csharp]\n"
"//Массив элементов типа elemType.\n"
"hintString = $\"{elemType:D}:\";\n"
"hintString = $\"{elemType:D}/{elemHint:D}:{elemHintString}\";\n"
"// Двумерный массив элементов типа elemType (массив массивов элементов типа "
"elemType).\n"
"hintString = $\"{Variant.Type.Array:D}:{elemType:D}:\";\n"
"hintString = $\"{Variant.Type.Array:D}:{elemType:D}/{elemHint:D}:"
"{elemHintString}\";\n"
"// Трёхмерный массив элементов типа elemType (массив массивов массивов "
"элементов типа elemType).\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Array:D}:{elemType:D}:"
"\";\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Array:D}:{elemType:D}/"
"{elemHint:D}:{elemHintString}\";\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примеры:[/b]\n"
"[codeblocks]\n"
"[gdscript]\n"
"hint_string = \"%d:\" % [TYPE_INT] # Array of integers.\n"
"hint_string = \"%d/%d:1,10,1\" % [TYPE_INT, PROPERTY_HINT_RANGE] # Массив "
"целых чисел (в диапазоне от 1 до 10).\n"
"hint_string = \"%d/%d:Zero,One,Two\" % [TYPE_INT, PROPERTY_HINT_ENUM] # "
"Массив целых чисел (перечисление).\n"
"hint_string = \"%d/%d:Zero,One,Three:3,Six:6\" % [TYPE_INT, "
"PROPERTY_HINT_ENUM] # Массив целых чисел (перечисление).\n"
"hint_string = \"%d/%d:*.png\" % [TYPE_STRING, PROPERTY_HINT_FILE] # Массив "
"строк (путей к файлам).\n"
"hint_string = \"%d/%d:Texture2D\" % [TYPE_OBJECT, "
"PROPERTY_HINT_RESOURCE_TYPE] # Массив текстур.\n"
"\n"
"hint_string = \"%d:%d:\" % [TYPE_ARRAY, TYPE_FLOAT] # Двумерный массив "
"плавающих точек.\n"
"hint_string = \"%d:%d/%d:\" % [TYPE_ARRAY, TYPE_STRING, "
"PROPERTY_HINT_MULTILINE_TEXT] # Двумерный массив многострочных строк.\n"
"hint_string = \"%d:%d/%d:-1,1,0.1\" % [TYPE_ARRAY, TYPE_FLOAT, "
"PROPERTY_HINT_RANGE] # Двумерный массив чисел с плавающей запятой (в "
"диапазоне от -1 до 1).\n"
"hint_string = \"%d:%d/%d:Texture2D\" % [TYPE_ARRAY, TYPE_OBJECT, "
"PROPERTY_HINT_RESOURCE_TYPE] # Двумерный массив текстур.\n"
"[/gdscript]\n"
"[csharp]\n"
"hintString = $\"{Variant.Type.Int:D}/{PropertyHint.Range:D}:1,10,1\"; // "
"Массив целых чисел (в диапазоне от 1 до 10).\n"
"hintString = $\"{Variant.Type.Int:D}/{PropertyHint.Enum:D}:Zero,One,Two\"; // "
"Массив целых чисел (перечисление).\n"
"hintString = $\"{Variant.Type.Int:D}/"
"{PropertyHint.Enum:D}:Zero,One,Three:3,Six:6\"; // Массив целых чисел "
"(перечисление).\n"
"hintString = $\"{Variant.Type.String:D}/{PropertyHint.File:D}:*.png\"; // "
"Массив строк (путей к файлам).\n"
"hintString = $\"{Variant.Type.Object:D}/"
"{PropertyHint.ResourceType:D}:Texture2D\"; // Массив текстур.\n"
"\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Float:D}:\"; // "
"Двумерный массив плавающих точек.\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.String:D}/"
"{PropertyHint.MultilineText:D}:\"; // Двумерный массив многострочных строк.\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Float:D}/"
"{PropertyHint.Range:D}:-1,1,0.1\"; // Двумерный массив чисел с плавающей "
"запятой (в диапазоне от -1 до 1).\n"
"hintString = $\"{Variant.Type.Array:D}:{Variant.Type.Object:D}/"
"{PropertyHint.ResourceType:D}:Texture2D\"; // Двумерный массив текстур.\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Завершающее двоеточие обязательно для корректного "
"определения встроенных типов."
msgid "This hint is not used by the engine."
msgstr "Эта подсказка не используется движком."
msgid "Hints that an object is too big to be sent via the debugger."
msgstr "Указывает, что обьект слишком большой для отправки через отладчик."
msgid ""
"Hints that the hint string specifies valid node types for property of type "
"[NodePath]."
msgstr ""
"Подсказка о том, что строка подсказки указывает допустимые типы узлов для "
"свойства типа [NodePath]."
msgid ""
"Hints that a [String] property is a path to a file. Editing it will show a "
"file dialog for picking the path for the file to be saved at. The dialog has "
"access to the project's directory. The hint string can be a set of filters "
"with wildcards like [code]\"*.png,*.jpg\"[/code]. See also [member "
"FileDialog.filters]."
msgstr ""
"Подсказка, что свойство [String] является путем к файлу. При его "
"редактировании откроется диалоговое окно для выбора пути сохранения файла. "
"Диалоговое окно имеет доступ к каталогу проекта. Строка подсказки может быть "
"набором фильтров с подстановочными знаками, например [code]\"*.png,*.jpg\"[/"
"code]. См. также [member FileDialog.filters]."
msgid ""
"Hints that a [String] property is a path to a file. Editing it will show a "
"file dialog for picking the path for the file to be saved at. The dialog has "
"access to the entire filesystem. The hint string can be a set of filters with "
"wildcards like [code]\"*.png,*.jpg\"[/code]. See also [member "
"FileDialog.filters]."
msgstr ""
"Подсказка, что свойство [String] является путем к файлу. При его "
"редактировании откроется диалоговое окно для выбора пути сохранения файла. "
"Диалоговое окно имеет доступ ко всей файловой системе. Строка подсказки может "
"быть набором фильтров с подстановочными знаками, например [code]"
"\"*.png,*.jpg\"[/code]. См. также [member FileDialog.filters]."
msgid "Hints that an [int] property is a pointer. Used by GDExtension."
msgstr ""
"Подсказывает, что свойство [int] является указателем. Используется "
"GDExtension."
msgid ""
"Hints that a property is an [Array] with the stored type specified in the "
"hint string. The hint string contains the type of the array (e.g. [code]"
"\"String\"[/code]).\n"
"Use the hint string format from [constant PROPERTY_HINT_TYPE_STRING] for more "
"control over the stored type."
msgstr ""
"Указывает, что свойство представляет собой [Array] с сохраненным типом, "
"указанным в строке подсказки. Строка подсказки содержит тип массива "
"(например, [code]\"String\"[/code]).\n"
"Используйте формат строки подсказки из [constant PROPERTY_HINT_TYPE_STRING] "
"для большего контроля над сохраненным типом."
msgid ""
"Hints that a property is a [Dictionary] with the stored types specified in "
"the hint string. The hint string contains the key and value types separated "
"by a semicolon (e.g. [code]\"int;String\"[/code]).\n"
"Use the hint string format from [constant PROPERTY_HINT_TYPE_STRING] for more "
"control over the stored types."
msgstr ""
"Указывает, что свойство представляет собой [Dictionary] с сохраненными "
"типами, указанными в строке подсказки. Строка подсказки содержит типы ключа и "
"значения, разделенные точкой с запятой (например, [code]\"int;String\"[/"
"code]).\n"
"Используйте формат строки подсказки из [constant PROPERTY_HINT_TYPE_STRING] "
"для большего контроля над сохраненными типами."
msgid ""
"Hints that a string property is a locale code. Editing it will show a locale "
"dialog for picking language and country."
msgstr ""
"Подсказки, что строковое свойство — это код локали. При его редактировании "
"откроется диалоговое окно локали для выбора языка и страны."
msgid ""
"Hints that a dictionary property is string translation map. Dictionary keys "
"are locale codes and, values are translated strings."
msgstr ""
"Подсказки, что свойство словаря — это карта перевода строк. Ключи словаря — "
"это коды локалей, а значения — это переведенные строки."
msgid ""
"Hints that a property is an instance of a [Node]-derived type, optionally "
"specified via the hint string (e.g. [code]\"Node2D\"[/code]). Editing it will "
"show a dialog for picking a node from the scene."
msgstr ""
"Подсказки, что свойство является экземпляром типа, производного от [Node], "
"опционально указываемого через строку подсказки (например, [code]\"Node2D\"[/"
"code]). При его редактировании отобразится диалоговое окно для выбора узла из "
"сцены."
msgid ""
"Hints that a quaternion property should disable the temporary euler editor."
msgstr ""
"Подсказка о том, что свойство кватерниона должно отключать временный редактор "
"Эйлера."
msgid ""
"Hints that a string property is a password, and every character is replaced "
"with the secret character."
msgstr ""
"Указывает, что строковое свойство является паролем и каждый символ заменяется "
"секретным символом."
msgid ""
"Hints that a [Callable] property should be displayed as a clickable button. "
"When the button is pressed, the callable is called. The hint string specifies "
"the button text and optionally an icon from the [code]\"EditorIcons\"[/code] "
"theme type.\n"
"[codeblock lang=text]\n"
"\"Click me!\" - A button with the text \"Click me!\" and the default "
"\"Callable\" icon.\n"
"\"Click me!,ColorRect\" - A button with the text \"Click me!\" and the "
"\"ColorRect\" icon.\n"
"[/codeblock]\n"
"[b]Note:[/b] A [Callable] cannot be properly serialized and stored in a file, "
"so it is recommended to use [constant PROPERTY_USAGE_EDITOR] instead of "
"[constant PROPERTY_USAGE_DEFAULT]."
msgstr ""
"Подсказки, что свойство [Callable] должно отображаться как кнопка, на которую "
"можно нажать. При нажатии кнопки вызывается вызываемый объект. Строка "
"подсказки указывает текст кнопки и, при необходимости, значок из типа темы "
"[code]\"EditorIcons\"[/code].\n"
"[codeblock lang=text]\n"
"\"Click me!\" - A button with the text \"Click me!\" and the default "
"\"Callable\" icon.\n"
"\"Click me!,ColorRect\" - A button with the text \"Click me!\" and the "
"\"ColorRect\" icon.\n"
"[/codeblock]\n"
"[b]Примечание:[/b] [Callable] не может быть правильно сериализован "
"(serialized) и сохранен в файле, поэтому рекомендуется использовать [constant "
"PROPERTY_USAGE_EDITOR] вместо [constant PROPERTY_USAGE_DEFAULT]."
msgid ""
"Hints that a property will be changed on its own after setting, such as "
"[member AudioStreamPlayer.playing] or [member GPUParticles3D.emitting]."
msgstr ""
"Подсказки о том, что свойство будет изменено само по себе после настройки, "
"например [member AudioStreamPlayer.playing] или [member "
"GPUParticles3D.emitting]."
msgid ""
"Hints that a boolean property will enable the feature associated with the "
"group that it occurs in. The property will be displayed as a checkbox on the "
"group header. Only works within a group or subgroup.\n"
"By default, disabling the property hides all properties in the group. Use the "
"optional hint string [code]\"checkbox_only\"[/code] to disable this behavior."
msgstr ""
"Указывает, что логическое свойство включит функцию, связанную с группой, в "
"которой оно встречается. Свойство будет отображаться в виде флажка в "
"заголовке группы. Работает только внутри группы или подгруппы.\n"
"По умолчанию отключение свойства скрывает все свойства в группе. Используйте "
"необязательную строку подсказки [code]\"checkbox_only\"[/code], чтобы "
"отключить это поведение."
msgid ""
"Hints that a [String] or [StringName] property is the name of an input "
"action. This allows the selection of any action name from the Input Map in "
"the Project Settings. The hint string may contain two options separated by "
"commas:\n"
"- If it contains [code]\"show_builtin\"[/code], built-in input actions are "
"included in the selection.\n"
"- If it contains [code]\"loose_mode\"[/code], loose mode is enabled. This "
"allows inserting any action name even if it's not present in the input map."
msgstr ""
"Указывает, что свойство [String] или [StringName] является названием "
"действия. Это позволяет выбрать любое название действия из списка действий в "
"настройках проекта. Подсказка может содержать два варианта, разделённых "
"запятой:\n"
"- Если они содержат [code]\"show_builtin\"[/code], в выборку включаются "
"встроенные действия.\n"
"- Если они содержат [code]\"loose_mode\"[/code], включается свободный режим. "
"Это позволяет выбрать название любого действия, даже если оно не представлено "
"в списке действий."
msgid ""
"Like [constant PROPERTY_HINT_FILE], but the property is stored as a raw path, "
"not UID. That means the reference will be broken if you move the file. "
"Consider using [constant PROPERTY_HINT_FILE] when possible."
msgstr ""
"Аналогично [constant PROPERTY_HINT_FILE], но свойство хранится как "
"необработанный путь, а не UID. Это означает, что ссылка будет повреждена при "
"перемещении файла. По возможности используйте [constant PROPERTY_HINT_FILE]."
msgid ""
"Hints that a [String] or [StringName] property is the name of an audio bus. "
"This allows the selection of predefined bus names registered with the audio "
"server."
msgstr ""
"Указывает, что свойство типа [String] или [StringName] представляет собой имя "
"аудиошины. Это позволяет выбирать из предопределенных имен шин, "
"зарегистрированных в аудиосервере."
msgid "Represents the size of the [enum PropertyHint] enum."
msgstr "Представляет размер перечисления [enum PropertyHint]."
msgid ""
"The property is not stored, and does not display in the editor. This is the "
"default for non-exported properties."
msgstr ""
"Свойство не сохраняется и не отображается в редакторе. Это значение по "
"умолчанию для неэкспортируемых свойств."
msgid ""
"The property is serialized and saved in the scene file (default for exported "
"properties)."
msgstr ""
"Свойство сериализуется и сохраняется в файле сцены (по умолчанию для "
"экспортируемых свойств)."
msgid ""
"The property is shown in the [EditorInspector] (default for exported "
"properties)."
msgstr ""
"Свойство отображается в [EditorInspector] (по умолчанию для экспортированных "
"свойств)."
msgid "The property is excluded from the class reference."
msgstr "Свойство исключено из ссылки на класс."
msgid "The property can be checked in the [EditorInspector]."
msgstr "Свойство можно проверить в [EditorInspector]."
msgid "The property is checked in the [EditorInspector]."
msgstr "Свойство проверяется в [EditorInspector]."
msgid "Used to group properties together in the editor. See [EditorInspector]."
msgstr ""
"Используется для группировки свойств в редакторе. См. [EditorInspector]."
msgid "Used to categorize properties together in the editor."
msgstr "Используется для категоризации свойств в редакторе."
msgid ""
"Used to group properties together in the editor in a subgroup (under a "
"group). See [EditorInspector]."
msgstr ""
"Используется для группировки свойств в редакторе в подгруппу (в группе). См. "
"[EditorInspector]."
msgid ""
"The property is a bitfield, i.e. it contains multiple flags represented as "
"bits."
msgstr ""
"Свойство является битовым полем, т.е. оно содержит несколько флагов, "
"представленных в виде битов."
msgid "The property does not save its state in [PackedScene]."
msgstr "Свойство не сохраняет свое состояние в [PackedScene]."
msgid "Editing the property prompts the user for restarting the editor."
msgstr ""
"При редактировании свойства пользователю предлагается перезапустить редактор."
msgid ""
"The property is a script variable. [constant PROPERTY_USAGE_SCRIPT_VARIABLE] "
"can be used to distinguish between exported script variables from built-in "
"variables (which don't have this usage flag). By default, [constant "
"PROPERTY_USAGE_SCRIPT_VARIABLE] is [b]not[/b] applied to variables that are "
"created by overriding [method Object._get_property_list] in a script."
msgstr ""
"Свойство является переменной скрипта. [constant "
"PROPERTY_USAGE_SCRIPT_VARIABLE] может использоваться для различения "
"экспортированных переменных скрипта от встроенных переменных (которые не "
"имеют этого флага использования). По умолчанию [constant "
"PROPERTY_USAGE_SCRIPT_VARIABLE] [b]не[/b] применяется к переменным, которые "
"создаются путем переопределения [method Object._get_property_list] в скрипте."
msgid ""
"The property value of type [Object] will be stored even if its value is "
"[code]null[/code]."
msgstr ""
"Значение свойства типа [Object] будет сохранено, даже если его значение равно "
"[code]null[/code]."
msgid "If this property is modified, all inspector fields will be refreshed."
msgstr "Если это свойство изменено, все поля инспектора будут обновлены."
msgid "This flag is not used by the engine."
msgstr "Этот флаг не используется движком."
msgid ""
"The property is a variable of enum type, i.e. it only takes named integer "
"constants from its associated enumeration."
msgstr ""
"Свойство является переменной типа enum, т.е. оно принимает только именованные "
"целочисленные константы из соответствующего перечисления."
msgid ""
"If property has [code]nil[/code] as default value, its type will be [Variant]."
msgstr ""
"Если свойство имеет значение по умолчанию [code]nil[/code], его тип будет "
"[Variant]."
msgid ""
"The property is the element count of a property array, i.e. a list of groups "
"of related properties. Properties defined with this usage also need a "
"specific [code]class_name[/code] field in the form of [code]label,prefix[/"
"code]. The field may also include additional comma-separated options:\n"
"- [code]page_size=N[/code]: Overrides [member EditorSettings.interface/"
"inspector/max_array_dictionary_items_per_page] for this array.\n"
"- [code]add_button_text=text[/code]: The text displayed by the \"Add "
"Element\" button.\n"
"- [code]static[/code]: The elements can't be re-arranged.\n"
"- [code]const[/code]: New elements can't be added.\n"
"- [code]numbered[/code]: An index will appear next to each element.\n"
"- [code]unfoldable[/code]: The array can't be folded.\n"
"- [code]swap_method=method_name[/code]: The method that will be called when "
"two elements switch places. The method should take 2 [int] parameters, which "
"will be indices of the elements being swapped.\n"
"Note that making a full-fledged property array requires boilerplate code "
"involving [method Object._get_property_list]."
msgstr ""
"Это свойство представляет собой количество элементов в массиве свойств, то "
"есть в списке групп связанных свойств. Свойства, определенные с таким "
"использованием, также должны иметь специальное поле [code]class_name[/code] в "
"формате [code]label,prefix[/code]. Поле может также содержать дополнительные "
"параметры, разделенные запятыми:\n"
"- [code]page_size=N[/code]: Переопределяет [member EditorSettings.interface/"
"inspector/max_array_dictionary_items_per_page] для этого массива.\n"
"- [code]add_button_text=text[/code]: Текст, отображаемый кнопкой «Добавить "
"элемент».\n"
"- [code]static[/code]: Элементы нельзя переставлять.\n"
"- [code]const[/code]: Новые элементы нельзя добавлять.\n"
"- [code]numbered[/code]: Рядом с каждым элементом будет отображаться индекс.\n"
"- [code]unfoldable[/code]: Массив нельзя свернуть.\n"
"- [code]swap_method=method_name[/code]: Метод, который будет вызываться при "
"обмене местами двух элементов. Метод должен принимать 2 параметра типа [int], "
"которые будут индексами обмениваемых элементов.\n"
"Обратите внимание, что создание полноценного массива свойств требует "
"шаблонного кода, включающего [method Object._get_property_list]."
msgid ""
"When duplicating a resource with [method Resource.duplicate], and this flag "
"is set on a property of that resource, the property should always be "
"duplicated, regardless of the [code]subresources[/code] bool parameter."
msgstr ""
"При дублировании ресурса с помощью [method Resource.duplicate] и установке "
"этого флага для свойства этого ресурса свойство всегда должно дублироваться, "
"независимо от параметра [code]subresources[/code] bool."
msgid ""
"When duplicating a resource with [method Resource.duplicate], and this flag "
"is set on a property of that resource, the property should never be "
"duplicated, regardless of the [code]subresources[/code] bool parameter."
msgstr ""
"При дублировании ресурса с помощью [method Resource.duplicate] и установке "
"этого флага для свойства этого ресурса свойство никогда не должно "
"дублироваться, независимо от параметра [code]subresources[/code] bool."
msgid ""
"The property is only shown in the editor if modern renderers are supported "
"(the Compatibility rendering method is excluded)."
msgstr ""
"Свойство отображается в редакторе только если поддерживаются современные "
"методы отрисовки (метод отрисовки Совместимость исключен)."
msgid ""
"The [NodePath] property will always be relative to the scene's root. Mostly "
"useful for local resources."
msgstr ""
"Свойство [NodePath] всегда будет относительным к корню сцены. В основном "
"полезно для локальных ресурсов."
msgid ""
"Use when a resource is created on the fly, i.e. the getter will always return "
"a different instance. [ResourceSaver] needs this information to properly save "
"such resources."
msgstr ""
"Используйте, когда ресурс создается «на лету», т. е. геттер всегда будет "
"возвращать другой экземпляр. [ResourceSaver] нуждается в этой информации для "
"правильного сохранения таких ресурсов."
msgid ""
"Inserting an animation key frame of this property will automatically "
"increment the value, allowing to easily keyframe multiple values in a row."
msgstr ""
"Вставка ключевого кадра анимации этого свойства автоматически увеличит "
"значение, что позволит легко создавать ключевые кадры для нескольких значений "
"подряд."
msgid ""
"When this property is a [Resource] and base object is a [Node], a resource "
"instance will be automatically created whenever the node is created in the "
"editor."
msgstr ""
"Если это свойство — [Resource], а базовый объект — [Node], экземпляр ресурса "
"будет автоматически создаваться всякий раз, когда узел создается в редакторе."
msgid ""
"The property is considered a basic setting and will appear even when advanced "
"mode is disabled. Used for project settings."
msgstr ""
"Свойство считается базовой настройкой и будет отображаться даже при "
"отключенном расширенном режиме. Используется для настроек проекта."
msgid "The property is read-only in the [EditorInspector]."
msgstr "Свойство доступно только для чтения в инспекторе редактора."
msgid ""
"An export preset property with this flag contains confidential information "
"and is stored separately from the rest of the export preset configuration."
msgstr ""
"Свойство предустановки экспорта с этим флагом содержит конфиденциальную "
"информацию и хранится отдельно от остальной конфигурации предустановки "
"экспорта."
msgid "Default usage (storage and editor)."
msgstr "Использование по умолчанию (хранение и редактор)."
msgid "Default usage but without showing the property in the editor (storage)."
msgstr ""
"Использование по умолчанию, но без отображения свойства в редакторе "
"(хранение)."
msgid "Flag for a normal method."
msgstr "Флаг для обычного метода."
msgid "Flag for an editor method."
msgstr "Флаг для метода редактора."
msgid "Flag for a constant method."
msgstr "Флаг для константного метода."
msgid "Flag for a virtual method."
msgstr "Флаг для виртуального метода."
msgid "Flag for a method with a variable number of arguments."
msgstr "Флаг для метода с переменным числом аргументов."
msgid "Flag for a static method."
msgstr "Флаг для статического метода."
msgid ""
"Used internally. Allows to not dump core virtual methods (such as [method "
"Object._notification]) to the JSON API."
msgstr ""
"Используется внутри. Позволяет не выгружать основные виртуальные методы "
"(такие как [method Object._notification]) в JSON API."
msgid ""
"Flag for a virtual method that is required. In GDScript, this flag is set for "
"abstract functions."
msgstr ""
"Флаг обязательного виртуального метода. В GDScript этот флаг устанавливается "
"для абстрактных функций."
msgid "Default method flags (normal)."
msgstr "Флаги метода по умолчанию (нормальные)."
msgid "Maximum value of an 8-bit unsigned integer."
msgstr "Максимальное значение 8-битного беззнакового целого числа."
msgid "Maximum value of a 16-bit unsigned integer."
msgstr "Максимальное значение 16-битного беззнакового целого числа."
msgid "Maximum value of a 32-bit unsigned integer."
msgstr "Максимальное значение 32-битного беззнакового целого числа."
msgid "Minimum value of an 8-bit signed integer."
msgstr "Минимальное значение 8-битного знакового целого числа."
msgid "Maximum value of an 8-bit signed integer."
msgstr "Максимальное значение 8-битного знакового целого числа."
msgid "Minimum value of a 16-bit signed integer."
msgstr "Минимальное значение 16-битного знакового целого числа."
msgid "Maximum value of a 16-bit signed integer."
msgstr "Максимальное значение 16-битного знакового целого числа."
msgid "Minimum value of a 32-bit signed integer."
msgstr "Минимальное значение 32-битного знакового целого числа."
msgid "Maximum value of a 32-bit signed integer."
msgstr "Максимальное значение 32-битного знакового целого числа."
msgid "Minimum value of a 64-bit signed integer."
msgstr "Минимальное значение 64-битного знакового целого числа."
msgid "Maximum value of a 64-bit signed integer."
msgstr "Максимальное значение 64-битного знакового целого числа."
msgid "Variable is [code]null[/code]."
msgstr "Переменная равна [code]null[/code]."
msgid "Variable is of type [bool]."
msgstr "Переменная типа [bool]."
msgid "Variable is of type [int]."
msgstr "Переменная типа [int]."
msgid "Variable is of type [float]."
msgstr "Переменная имеет тип [float]."
msgid "Variable is of type [String]."
msgstr "Переменная типа [String]."
msgid "Variable is of type [Vector2]."
msgstr "Переменная типа [Vector2]."
msgid "Variable is of type [Vector2i]."
msgstr "Переменная имеет тип [Vector2i]."
msgid "Variable is of type [Rect2]."
msgstr "Переменная типа [Rect2]."
msgid "Variable is of type [Rect2i]."
msgstr "Переменная имеет тип [Rect2i]."
msgid "Variable is of type [Vector3]."
msgstr "Переменная типа [Vector3]."
msgid "Variable is of type [Vector3i]."
msgstr "Переменная имеет тип [Vector3i]."
msgid "Variable is of type [Transform2D]."
msgstr "Переменная типа [Transform2D]."
msgid "Variable is of type [Vector4]."
msgstr "Переменная имеет тип [Vector4]."
msgid "Variable is of type [Vector4i]."
msgstr "Переменная имеет тип [Vector4i]."
msgid "Variable is of type [Plane]."
msgstr "Переменная типа [Plane]."
msgid "Variable is of type [Quaternion]."
msgstr "Переменная имеет тип [Quaternion]."
msgid "Variable is of type [AABB]."
msgstr "Переменная типа [AABB]."
msgid "Variable is of type [Basis]."
msgstr "Переменная типа [Basis]."
msgid "Variable is of type [Transform3D]."
msgstr "Переменная имеет тип [Transform3D]."
msgid "Variable is of type [Projection]."
msgstr "Переменная имеет тип [Projection]."
msgid "Variable is of type [Color]."
msgstr "Переменная типа [Color]."
msgid "Variable is of type [StringName]."
msgstr "Переменная имеет тип [StringName]."
msgid "Variable is of type [NodePath]."
msgstr "Переменная типа [NodePath]."
msgid "Variable is of type [RID]."
msgstr "Переменная типа [RID]."
msgid "Variable is of type [Object]."
msgstr "Переменная типа [Object]."
msgid "Variable is of type [Callable]."
msgstr "Переменная имеет тип [Callable]."
msgid "Variable is of type [Signal]."
msgstr "Переменная имеет тип [Signal]."
msgid "Variable is of type [Dictionary]."
msgstr "Переменная типа [Dictionary]."
msgid "Variable is of type [Array]."
msgstr "Переменная типа [Array]."
msgid "Variable is of type [PackedByteArray]."
msgstr "Переменная имеет тип [PackedByteArray]."
msgid "Variable is of type [PackedInt32Array]."
msgstr "Переменная имеет тип [PackedInt32Array]."
msgid "Variable is of type [PackedInt64Array]."
msgstr "Переменная имеет тип [PackedInt64Array]."
msgid "Variable is of type [PackedFloat32Array]."
msgstr "Переменная имеет тип [PackedFloat32Array]."
msgid "Variable is of type [PackedFloat64Array]."
msgstr "Переменная имеет тип [PackedFloat64Array]."
msgid "Variable is of type [PackedStringArray]."
msgstr "Переменная имеет тип [PackedStringArray]."
msgid "Variable is of type [PackedVector2Array]."
msgstr "Переменная имеет тип [PackedVector2Array]."
msgid "Variable is of type [PackedVector3Array]."
msgstr "Переменная имеет тип [PackedVector3Array]."
msgid "Variable is of type [PackedColorArray]."
msgstr "Переменная имеет тип [PackedColorArray]."
msgid "Variable is of type [PackedVector4Array]."
msgstr "Переменная имеет тип [PackedVector4Array]."
msgid "Represents the size of the [enum Variant.Type] enum."
msgstr "Представляет размер перечисления [enum Variant.Type]."
msgid "Equality operator ([code]==[/code])."
msgstr "Оператор \"Равно\" ([code]==[/code])."
msgid "Inequality operator ([code]!=[/code])."
msgstr "Оператор \"Не равно\" ([code]!=[/code])."
msgid "Less than operator ([code]<[/code])."
msgstr "Оператор \"Меньше чем\" ([code]<[/code])."
msgid "Less than or equal operator ([code]<=[/code])."
msgstr "Оператор \"Меньше чем или равно\" ([code]<=[/code])."
msgid "Greater than operator ([code]>[/code])."
msgstr "Оператор \"Больше чем\" ([code]>[/code])."
msgid "Greater than or equal operator ([code]>=[/code])."
msgstr "Оператор \"Больше чем или равно\" ([code]>=[/code])."
msgid "Addition operator ([code]+[/code])."
msgstr "Оператор сложения ([code]+[/code])."
msgid "Subtraction operator ([code]-[/code])."
msgstr "Оператор вычитания ([code]-[/code])."
msgid "Multiplication operator ([code]*[/code])."
msgstr "Оператор умножения ([code]*[/code])."
msgid "Division operator ([code]/[/code])."
msgstr "Оператор деления ([code]/[/code])."
msgid "Unary negation operator ([code]-[/code])."
msgstr "Унарный оператор отрицания ([code]-[/code])."
msgid "Unary plus operator ([code]+[/code])."
msgstr "Унарный оператор \"Плюс\" ([code]+[/code])."
msgid "Remainder/modulo operator ([code]%[/code])."
msgstr "Оператор остатка/модуля ([code]%[/code])."
msgid "Power operator ([code]**[/code])."
msgstr "Оператор power ([code]**[/code])."
msgid "Left shift operator ([code]<<[/code])."
msgstr "Оператор сдвига влево ([code]<<[/code])."
msgid "Right shift operator ([code]>>[/code])."
msgstr "Оператор сдвига вправо ([code]>>[/code])."
msgid "Bitwise AND operator ([code]&[/code])."
msgstr "Побитовый оператор И ([code]&[/code])."
msgid "Bitwise OR operator ([code]|[/code])."
msgstr "Побитовый оператор ИЛИ ([code]|[/code])."
msgid "Bitwise XOR operator ([code]^[/code])."
msgstr "Побитовый оператор Исключающее ИЛИ ([code]^[/code])."
msgid "Bitwise NOT operator ([code]~[/code])."
msgstr "Побитовый оператор НЕ ([code]~[/code])."
msgid "Logical AND operator ([code]and[/code] or [code]&&[/code])."
msgstr "Оператор \"Логическое И\" ([code]and[/code] или [code]&&[/code])."
msgid "Logical OR operator ([code]or[/code] or [code]||[/code])."
msgstr "Логический оператор ИЛИ ([code]or[/code] или [code]||[/code])."
msgid "Logical XOR operator (not implemented in GDScript)."
msgstr "Логический оператор Исключающее ИЛИ (не реализован в GDScript)."
msgid "Logical NOT operator ([code]not[/code] or [code]![/code])."
msgstr "Логический оператор НЕ ([code]not[/code] или [code]![/code])."
msgid "Logical IN operator ([code]in[/code])."
msgstr "Логический оператор В ([code]in[/code])."
msgid "Represents the size of the [enum Variant.Operator] enum."
msgstr "Представляет размер перечисления [enum Variant.Operator]."
msgid "A 3D axis-aligned bounding box."
msgstr "Ограничивающая рамка, выровненная по трехмерным осям."
msgid ""
"The [AABB] built-in [Variant] type represents an axis-aligned bounding box in "
"a 3D space. It is defined by its [member position] and [member size], which "
"are [Vector3]. It is frequently used for fast overlap tests (see [method "
"intersects]). Although [AABB] itself is axis-aligned, it can be combined with "
"[Transform3D] to represent a rotated or skewed bounding box.\n"
"It uses floating-point coordinates. The 2D counterpart to [AABB] is [Rect2]. "
"There is no version of [AABB] that uses integer coordinates.\n"
"[b]Note:[/b] Negative values for [member size] are not supported. With "
"negative size, most [AABB] methods do not work correctly. Use [method abs] to "
"get an equivalent [AABB] with a non-negative size.\n"
"[b]Note:[/b] In a boolean context, an [AABB] evaluates to [code]false[/code] "
"if both [member position] and [member size] are zero (equal to [constant "
"Vector3.ZERO]). Otherwise, it always evaluates to [code]true[/code]."
msgstr ""
"Встроенный тип [Variant] [AABB] представляет собой ограничивающий "
"прямоугольник, выровненный по осям, в трёхмерном пространстве. Он "
"определяется параметрами [member position] и [member size], которые равны "
"[Vector3]. Он часто используется для быстрых тестов на перекрытие (см. "
"[method intersects]). Хотя сам [AABB] выровнен по осям, его можно "
"комбинировать с [Transform3D] для представления повёрнутого или наклонённого "
"ограничивающего прямоугольника.\n"
"Он использует координаты с плавающей точкой. 2D аналогом [AABB] является "
"[Rect2]. Версии [AABB] с целочисленными координатами не существует.\n"
"[b]Примечание:[/b] Отрицательные значения [member size] не поддерживаются. "
"При отрицательном размере большинство методов [AABB] работают некорректно. "
"Используйте [method abs] для получения эквивалентного [AABB] с "
"неотрицательным размером.\n"
"[b]Примечание:[/b] В булевом контексте [AABB] вычисляется как [code]false[/"
"code], если и [member position], и [member size] равны нулю (равны [constant "
"Vector3.ZERO]). В противном случае он всегда вычисляется как [code]true[/"
"code]."
msgid "Math documentation index"
msgstr "Каталог математической документации"
msgid "Vector math"
msgstr "Векторная математика"
msgid "Advanced vector math"
msgstr "Расширенная векторная математика"
msgid ""
"Constructs an [AABB] with its [member position] and [member size] set to "
"[constant Vector3.ZERO]."
msgstr ""
"Создает [AABB] с его [member position] и [member size], установленными на "
"[constant Vector3.ZERO]."
msgid "Constructs an [AABB] as a copy of the given [AABB]."
msgstr "Создает [AABB] как копию заданного [AABB]."
msgid "Constructs an [AABB] by [param position] and [param size]."
msgstr "Создает [AABB] по [param position] и [param size]."
msgid ""
"Returns an [AABB] equivalent to this bounding box, with its width, height, "
"and depth modified to be non-negative values.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(5, 0, 5), Vector3(-20, -10, -5))\n"
"var absolute = box.abs()\n"
"print(absolute.position) # Prints (-15.0, -10.0, 0.0)\n"
"print(absolute.size) # Prints (20.0, 10.0, 5.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(5, 0, 5), new Vector3(-20, -10, -5));\n"
"var absolute = box.Abs();\n"
"GD.Print(absolute.Position); // Prints (-15, -10, 0)\n"
"GD.Print(absolute.Size); // Prints (20, 10, 5)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] It's recommended to use this method when [member size] is "
"negative, as most other methods in Godot assume that the [member size]'s "
"components are greater than [code]0[/code]."
msgstr ""
"Возвращает эквивалент [AABB] для данного ограничивающего прямоугольника, "
"ширина, высота и глубина которого изменены так, чтобы они были "
"неотрицательными значениями.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(5, 0, 5), Vector3(-20, -10, -5))\n"
"var absolute = box.abs()\n"
"print(absolute.position) # Выводит (-15.0, -10.0, 0.0)\n"
"print(absolute.size) # Выводит (20.0, 10.0, 5.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(5, 0, 5), new Vector3(-20, -10, -5));\n"
"var absolute = box.Abs();\n"
"GD.Print(absolute.Position); // Выводит (-15, -10, 0)\n"
"GD.Print(absolute.Size); // Выводит (20, 10, 5)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Рекомендуется использовать этот метод, когда [member size] "
"отрицательный, так как большинство других методов в Godot предполагают, что "
"компоненты [member size] больше, чем [code]0[/code]."
msgid ""
"Returns [code]true[/code] if this bounding box [i]completely[/i] encloses the "
"[param with] box. The edges of both boxes are included.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = AABB(Vector3(0, 0, 0), Vector3(4, 4, 4))\n"
"var b = AABB(Vector3(1, 1, 1), Vector3(3, 3, 3))\n"
"var c = AABB(Vector3(2, 2, 2), Vector3(8, 8, 8))\n"
"\n"
"print(a.encloses(a)) # Prints true\n"
"print(a.encloses(b)) # Prints true\n"
"print(a.encloses(c)) # Prints false\n"
"[/gdscript]\n"
"[csharp]\n"
"var a = new Aabb(new Vector3(0, 0, 0), new Vector3(4, 4, 4));\n"
"var b = new Aabb(new Vector3(1, 1, 1), new Vector3(3, 3, 3));\n"
"var c = new Aabb(new Vector3(2, 2, 2), new Vector3(8, 8, 8));\n"
"\n"
"GD.Print(a.Encloses(a)); // Prints True\n"
"GD.Print(a.Encloses(b)); // Prints True\n"
"GD.Print(a.Encloses(c)); // Prints False\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает [code]true[/code], если этот ограничивающий прямоугольник "
"[i]полностью[/i] охватывает прямоугольник [param with]. Края обоих "
"прямоугольников включены.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = AABB(Vector3(0, 0, 0), Vector3(4, 4, 4))\n"
"var b = AABB(Vector3(1, 1, 1), Vector3(3, 3, 3))\n"
"var c = AABB(Vector3(2, 2, 2), Vector3(8, 8, 8))\n"
"\n"
"print(a.encloses(a)) # Выводит true\n"
"print(a.encloses(b)) # Выводит true\n"
"print(a.encloses(c)) # Выводит false\n"
"[/gdscript]\n"
"[csharp]\n"
"var a = new Aabb(new Vector3(0, 0, 0), new Vector3(4, 4, 4));\n"
"var b = new Aabb(new Vector3(1, 1, 1), new Vector3(3, 3, 3));\n"
"var c = new Aabb(new Vector3(2, 2, 2), new Vector3(8, 8, 8));\n"
"\n"
"GD.Print(a.Encloses(a)); // Выводит True\n"
"GD.Print(a.Encloses(b)); // Выводит True\n"
"GD.Print(a.Encloses(c)); // Выводит False\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns a copy of this bounding box expanded to align the edges with the "
"given [param to_point], if necessary.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(0, 0, 0), Vector3(5, 2, 5))\n"
"\n"
"box = box.expand(Vector3(10, 0, 0))\n"
"print(box.position) # Prints (0.0, 0.0, 0.0)\n"
"print(box.size) # Prints (10.0, 2.0, 5.0)\n"
"\n"
"box = box.expand(Vector3(-5, 0, 5))\n"
"print(box.position) # Prints (-5.0, 0.0, 0.0)\n"
"print(box.size) # Prints (15.0, 2.0, 5.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(0, 0, 0), new Vector3(5, 2, 5));\n"
"\n"
"box = box.Expand(new Vector3(10, 0, 0));\n"
"GD.Print(box.Position); // Prints (0, 0, 0)\n"
"GD.Print(box.Size); // Prints (10, 2, 5)\n"
"\n"
"box = box.Expand(new Vector3(-5, 0, 5));\n"
"GD.Print(box.Position); // Prints (-5, 0, 0)\n"
"GD.Print(box.Size); // Prints (15, 2, 5)\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает копию этого ограничивающего прямоугольника, расширенного для "
"выравнивания краев с заданным [param to_point], если это необходимо.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(0, 0, 0), Vector3(5, 2, 5))\n"
"\n"
"box = box.expand(Vector3(10, 0, 0))\n"
"print(box.position) # Выводит (0.0, 0.0, 0.0)\n"
"print(box.size) # Выводит (10.0, 2.0, 5.0)\n"
"\n"
"box = box.expand(Vector3(-5, 0, 5))\n"
"print(box.position) # Выводит (-5.0, 0.0, 0.0)\n"
"print(box.size) # Выводит (15.0, 2.0, 5.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(0, 0, 0), new Vector3(5, 2, 5));\n"
"\n"
"box = box.Expand(new Vector3(10, 0, 0));\n"
"GD.Print(box.Position); // Выводит (0, 0, 0)\n"
"GD.Print(box.Size); // Выводит (10, 2, 5)\n"
"\n"
"box = box.Expand(new Vector3(-5, 0, 5));\n"
"GD.Print(box.Position); // Выводит (-5, 0, 0)\n"
"GD.Print(box.Size); // Выводит (15, 2, 5)\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns the center point of the bounding box. This is the same as "
"[code]position + (size / 2.0)[/code]."
msgstr ""
"Возвращает центральную точку ограничивающего прямоугольника. Это то же самое, "
"что и [code]position + (size / 2.0)[/code]."
msgid ""
"Returns the position of one of the 8 vertices that compose this bounding box. "
"With an [param idx] of [code]0[/code] this is the same as [member position], "
"and an [param idx] of [code]7[/code] is the same as [member end]."
msgstr ""
"Возвращает положение одной из 8 вершин, составляющих этот ограничивающий "
"параллелепипед. Если [param idx] равен [code]0[/code], это то же самое, что и "
"[member position], а если [param idx] равен [code]7[/code], это то же самое, "
"что и [member end]."
msgid ""
"Returns the longest normalized axis of this bounding box's [member size], as "
"a [Vector3] ([constant Vector3.RIGHT], [constant Vector3.UP], or [constant "
"Vector3.BACK]).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(0, 0, 0), Vector3(2, 4, 8))\n"
"\n"
"print(box.get_longest_axis()) # Prints (0.0, 0.0, 1.0)\n"
"print(box.get_longest_axis_index()) # Prints 2\n"
"print(box.get_longest_axis_size()) # Prints 8.0\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(0, 0, 0), new Vector3(2, 4, 8));\n"
"\n"
"GD.Print(box.GetLongestAxis()); // Prints (0, 0, 1)\n"
"GD.Print(box.GetLongestAxisIndex()); // Prints Z\n"
"GD.Print(box.GetLongestAxisSize()); // Prints 8\n"
"[/csharp]\n"
"[/codeblocks]\n"
"See also [method get_longest_axis_index] and [method get_longest_axis_size]."
msgstr ""
"Возвращает самую длинную нормализованную ось [member size] этого "
"ограничивающего прямоугольника в виде [Vector3] ([constant Vector3.RIGHT], "
"[constant Vector3.UP] или [constant Vector3.BACK]).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(0, 0, 0), Vector3(2, 4, 8))\n"
"\n"
"print(box.get_longest_axis()) # Выводит (0.0, 0.0, 1.0)\n"
"print(box.get_longest_axis_index()) # Выводит 2\n"
"print(box.get_longest_axis_size()) # Выводит 8.0\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(0, 0, 0), new Vector3(2, 4, 8));\n"
"\n"
"GD.Print(box.GetLongestAxis()); // Выводит (0, 0, 1)\n"
"GD.Print(box.GetLongestAxisIndex()); // Выводит Z\n"
"GD.Print(box.GetLongestAxisSize()); // Выводит 8\n"
"[/csharp]\n"
"[/codeblocks]\n"
"См. также [method get_longest_axis_index] и [method get_longest_axis_size]."
msgid ""
"Returns the index to the longest axis of this bounding box's [member size] "
"(see [constant Vector3.AXIS_X], [constant Vector3.AXIS_Y], and [constant "
"Vector3.AXIS_Z]).\n"
"For an example, see [method get_longest_axis]."
msgstr ""
"Возвращает индекс самой длинной оси [member size] этого ограничивающего "
"прямоугольника (см. [constant Vector3.AXIS_X], [constant Vector3.AXIS_Y] и "
"[constant Vector3.AXIS_Z]).\n"
"Пример см. в [method get_longest_axis]."
msgid ""
"Returns the longest dimension of this bounding box's [member size].\n"
"For an example, see [method get_longest_axis]."
msgstr ""
"Возвращает самое длинное измерение [member size] этого ограничивающего "
"прямоугольника.\n"
"Пример см. в [method get_longest_axis]."
msgid ""
"Returns the shortest normalized axis of this bounding box's [member size], as "
"a [Vector3] ([constant Vector3.RIGHT], [constant Vector3.UP], or [constant "
"Vector3.BACK]).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(0, 0, 0), Vector3(2, 4, 8))\n"
"\n"
"print(box.get_shortest_axis()) # Prints (1.0, 0.0, 0.0)\n"
"print(box.get_shortest_axis_index()) # Prints 0\n"
"print(box.get_shortest_axis_size()) # Prints 2.0\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(0, 0, 0), new Vector3(2, 4, 8));\n"
"\n"
"GD.Print(box.GetShortestAxis()); // Prints (1, 0, 0)\n"
"GD.Print(box.GetShortestAxisIndex()); // Prints X\n"
"GD.Print(box.GetShortestAxisSize()); // Prints 2\n"
"[/csharp]\n"
"[/codeblocks]\n"
"See also [method get_shortest_axis_index] and [method get_shortest_axis_size]."
msgstr ""
"Возвращает самую короткую нормализованную ось [member size] этого "
"ограничивающего прямоугольника в виде [Vector3] ([constant Vector3.RIGHT], "
"[constant Vector3.UP] или [constant Vector3.BACK]).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box = AABB(Vector3(0, 0, 0), Vector3(2, 4, 8))\n"
"\n"
"print(box.get_shortest_axis()) # Выводит (1.0, 0.0, 0.0)\n"
"print(box.get_shortest_axis_index()) # Выводит 0\n"
"print(box.get_shortest_axis_size()) # Выводит 2.0\n"
"[/gdscript]\n"
"[csharp]\n"
"var box = new Aabb(new Vector3(0, 0, 0), new Vector3(2, 4, 8));\n"
"\n"
"GD.Print(box.GetShortestAxis()); // Выводит (1, 0, 0)\n"
"GD.Print(box.GetShortestAxisIndex()); // Выводит X\n"
"GD.Print(box.GetShortestAxisSize()); // Выводит 2\n"
"[/csharp]\n"
"[/codeblocks]\n"
"См. также [method get_shortest_axis_index] и [method get_shortest_axis_size]."
msgid ""
"Returns the index to the shortest axis of this bounding box's [member size] "
"(see [constant Vector3.AXIS_X], [constant Vector3.AXIS_Y], and [constant "
"Vector3.AXIS_Z]).\n"
"For an example, see [method get_shortest_axis]."
msgstr ""
"Возвращает индекс самой короткой оси [member size] этого ограничивающего "
"прямоугольника (см. [constant Vector3.AXIS_X], [constant Vector3.AXIS_Y] и "
"[constant Vector3.AXIS_Z]).\n"
"Пример см. в [method get_shortest_axis]."
msgid ""
"Returns the shortest dimension of this bounding box's [member size].\n"
"For an example, see [method get_shortest_axis]."
msgstr ""
"Возвращает наименьшее измерение [member size] этого ограничивающего "
"прямоугольника.\n"
"Пример см. в [method get_shortest_axis]."
msgid ""
"Returns the vertex's position of this bounding box that's the farthest in the "
"given direction. This point is commonly known as the support point in "
"collision detection algorithms."
msgstr ""
"Возвращает позицию вершины этого ограничивающего прямоугольника, которая "
"находится дальше всего в заданном направлении. Эта точка обычно известна как "
"опорная точка в алгоритмах обнаружения столкновений."
msgid ""
"Returns the bounding box's volume. This is equivalent to [code]size.x * "
"size.y * size.z[/code]. See also [method has_volume]."
msgstr ""
"Возвращает объем ограничивающего прямоугольника. Это эквивалентно "
"[code]size.x * size.y * size.z[/code]. См. также [method has_volume]."
msgid ""
"Returns a copy of this bounding box extended on all sides by the given amount "
"[param by]. A negative amount shrinks the box instead.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = AABB(Vector3(4, 4, 4), Vector3(8, 8, 8)).grow(4)\n"
"print(a.position) # Prints (0.0, 0.0, 0.0)\n"
"print(a.size) # Prints (16.0, 16.0, 16.0)\n"
"\n"
"var b = AABB(Vector3(0, 0, 0), Vector3(8, 4, 2)).grow(2)\n"
"print(b.position) # Prints (-2.0, -2.0, -2.0)\n"
"print(b.size) # Prints (12.0, 8.0, 6.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var a = new Aabb(new Vector3(4, 4, 4), new Vector3(8, 8, 8)).Grow(4);\n"
"GD.Print(a.Position); // Prints (0, 0, 0)\n"
"GD.Print(a.Size); // Prints (16, 16, 16)\n"
"\n"
"var b = new Aabb(new Vector3(0, 0, 0), new Vector3(8, 4, 2)).Grow(2);\n"
"GD.Print(b.Position); // Prints (-2, -2, -2)\n"
"GD.Print(b.Size); // Prints (12, 8, 6)\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает копию этого ограничивающего прямоугольника, расширенного со всех "
"сторон на указанное значение [param by]. Отрицательное значение вместо этого "
"сжимает прямоугольник.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var a = AABB(Vector3(4, 4, 4), Vector3(8, 8, 8)).grow(4)\n"
"print(a.position) # Выводит (0.0, 0.0, 0.0)\n"
"print(a.size) # Выводит (16.0, 16.0, 16.0)\n"
"\n"
"var b = AABB(Vector3(0, 0, 0), Vector3(8, 4, 2)).grow(2)\n"
"print(b.position) # Выводит (-2.0, -2.0, -2.0)\n"
"print(b.size) # Выводит (12.0, 8.0, 6.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var a = new Aabb(new Vector3(4, 4, 4), new Vector3(8, 8, 8)).Grow(4);\n"
"GD.Print(a.Position); // Выводит (0, 0, 0)\n"
"GD.Print(a.Size); // Выводит (16, 16, 16)\n"
"\n"
"var b = new Aabb(new Vector3(0, 0, 0), new Vector3(8, 4, 2)).Grow(2);\n"
"GD.Print(b.Position); // Выводит (-2, -2, -2)\n"
"GD.Print(b.Size); // Выводит (12, 8, 6)\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns [code]true[/code] if the bounding box contains the given [param "
"point]. By convention, points exactly on the right, top, and front sides are "
"[b]not[/b] included.\n"
"[b]Note:[/b] This method is not reliable for [AABB] with a [i]negative[/i] "
"[member size]. Use [method abs] first to get a valid bounding box."
msgstr ""
"Возвращает [code]true[/code], если ограничивающий прямоугольник содержит "
"заданный [param point]. По соглашению, точки точно на правой, верхней и "
"передней сторонах [b]не[/b] включены.\n"
"[b]Примечание:[/b] Этот метод ненадежен для [AABB] с [i]отрицательным[/i] "
"[member size]. Сначала используйте [method abs], чтобы получить допустимый "
"ограничивающий прямоугольник."
msgid ""
"Returns [code]true[/code] if this bounding box has a surface or a length, "
"that is, at least one component of [member size] is greater than [code]0[/"
"code]. Otherwise, returns [code]false[/code]."
msgstr ""
"Возвращает [code]true[/code], если этот ограничивающий прямоугольник имеет "
"поверхность или длину, то есть хотя бы один компонент [member size] больше, "
"чем [code]0[/code]. В противном случае возвращает [code]false[/code]."
msgid ""
"Returns [code]true[/code] if this bounding box's width, height, and depth are "
"all positive. See also [method get_volume]."
msgstr ""
"Возвращает [code]true[/code], если ширина, высота и глубина этого "
"ограничивающего прямоугольника положительны. См. также [method get_volume]."
msgid ""
"Returns the intersection between this bounding box and [param with]. If the "
"boxes do not intersect, returns an empty [AABB]. If the boxes intersect at "
"the edge, returns a flat [AABB] with no volume (see [method has_surface] and "
"[method has_volume]).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box1 = AABB(Vector3(0, 0, 0), Vector3(5, 2, 8))\n"
"var box2 = AABB(Vector3(2, 0, 2), Vector3(8, 4, 4))\n"
"\n"
"var intersection = box1.intersection(box2)\n"
"print(intersection.position) # Prints (2.0, 0.0, 2.0)\n"
"print(intersection.size) # Prints (3.0, 2.0, 4.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var box1 = new Aabb(new Vector3(0, 0, 0), new Vector3(5, 2, 8));\n"
"var box2 = new Aabb(new Vector3(2, 0, 2), new Vector3(8, 4, 4));\n"
"\n"
"var intersection = box1.Intersection(box2);\n"
"GD.Print(intersection.Position); // Prints (2, 0, 2)\n"
"GD.Print(intersection.Size); // Prints (3, 2, 4)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] If you only need to know whether two bounding boxes are "
"intersecting, use [method intersects], instead."
msgstr ""
"Возвращает пересечение между этим ограничивающим прямоугольником и [param "
"with]. Если прямоугольники не пересекаются, возвращает пустой [AABB]. Если "
"прямоугольники пересекаются по краю, возвращает плоский [AABB] без объема "
"(см. [method has_surface] и [method has_volume]).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var box1 = AABB(Vector3(0, 0, 0), Vector3(5, 2, 8))\n"
"var box2 = AABB(Vector3(2, 0, 2), Vector3(8, 4, 4))\n"
"\n"
"var intersection = box1.intersection(box2)\n"
"print(intersection.position) # Выводит (2.0, 0.0, 2.0)\n"
"print(intersection.size) # Выводит (3.0, 2.0, 4.0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var box1 = new Aabb(new Vector3(0, 0, 0), new Vector3(5, 2, 8));\n"
"var box2 = new Aabb(new Vector3(2, 0, 2), new Vector3(8, 4, 4));\n"
"\n"
"var intersection = box1.Intersection(box2);\n"
"GD.Print(intersection.Position); // Выводит (2, 0, 2)\n"
"GD.Print(intersection.Size); // Выводит (3, 2, 4)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Если вам нужно только узнать, пересекаются ли два "
"ограничивающих прямоугольника, используйте вместо этого [method intersects]."
msgid ""
"Returns [code]true[/code] if this bounding box overlaps with the box [param "
"with]. The edges of both boxes are [i]always[/i] excluded."
msgstr ""
"Возвращает [code]true[/code], если этот ограничивающий прямоугольник "
"перекрывается с прямоугольником [param with]. Края обоих прямоугольников "
"[i]всегда[/i] исключаются."
msgid ""
"Returns [code]true[/code] if this bounding box is on both sides of the given "
"[param plane]."
msgstr ""
"Возвращает [code]true[/code], если этот ограничивающий прямоугольник "
"находится по обе стороны заданной [param plane]."
msgid ""
"Returns the first point where this bounding box and the given ray intersect, "
"as a [Vector3]. If no intersection occurs, returns [code]null[/code].\n"
"The ray begin at [param from], faces [param dir] and extends towards infinity."
msgstr ""
"Возвращает первую точку пересечения этого ограничивающего прямоугольника и "
"заданного луча в виде [Vector3]. Если пересечения не происходит, возвращает "
"[code]null[/code].\n"
"Луч начинается в [param from], смотрит в [param dir] и простирается в "
"бесконечность."
msgid ""
"Returns the first point where this bounding box and the given segment "
"intersect, as a [Vector3]. If no intersection occurs, returns [code]null[/"
"code].\n"
"The segment begins at [param from] and ends at [param to]."
msgstr ""
"Возвращает первую точку пересечения этого ограничивающего прямоугольника и "
"заданного сегмента в виде [Vector3]. Если пересечения не происходит, "
"возвращает [code]null[/code].\n"
"Сегмент начинается в [param from] и заканчивается в [param to]."
msgid ""
"Returns [code]true[/code] if this bounding box and [param aabb] are "
"approximately equal, by calling [method Vector3.is_equal_approx] on the "
"[member position] and the [member size]."
msgstr ""
"Возвращает [code]true[/code], если этот ограничивающий прямоугольник и [param "
"aabb] приблизительно равны, вызывая [method Vector3.is_equal_approx] для "
"[member position] и [member size]."
msgid ""
"Returns [code]true[/code] if this bounding box's values are finite, by "
"calling [method Vector3.is_finite] on the [member position] and the [member "
"size]."
msgstr ""
"Возвращает [code]true[/code], если значения этого ограничивающего "
"прямоугольника конечны, вызывая [method Vector3.is_finite] для [member "
"position] и [member size]."
msgid ""
"Returns an [AABB] that encloses both this bounding box and [param with] "
"around the edges. See also [method encloses]."
msgstr ""
"Возвращает [AABB], который охватывает как этот ограничивающий прямоугольник, "
"так и [param with] по краям. См. также [method encludes]."
msgid ""
"The ending point. This is usually the corner on the top-right and back of the "
"bounding box, and is equivalent to [code]position + size[/code]. Setting this "
"point affects the [member size]."
msgstr ""
"Конечная точка. Обычно это угол сверху справа и сзади ограничивающего "
"прямоугольника, и эквивалентно [code]position + size[/code]. Установка этой "
"точки влияет на [member size]."
msgid ""
"The origin point. This is usually the corner on the bottom-left and forward "
"of the bounding box."
msgstr ""
"Начальная точка. Обычно это нижний левый угол спереди ограничивающей рамки."
msgid ""
"The bounding box's width, height, and depth starting from [member position]. "
"Setting this value also affects the [member end] point.\n"
"[b]Note:[/b] It's recommended setting the width, height, and depth to non-"
"negative values. This is because most methods in Godot assume that the "
"[member position] is the bottom-left-forward corner, and the [member end] is "
"the top-right-back corner. To get an equivalent bounding box with non-"
"negative size, use [method abs]."
msgstr ""
"Ширина, высота и глубина ограничивающего прямоугольника, начиная с [member "
"position]. Установка этого значения также влияет на точку [member end].\n"
"[b]Примечание:[/b] Рекомендуется устанавливать ширину, высоту и глубину на "
"неотрицательные значения. Это связано с тем, что большинство методов в Godot "
"предполагают, что [member position] — это нижний левый передний угол, а "
"[member end] — это верхний правый задний угол. Чтобы получить эквивалентный "
"ограничивающий прямоугольник с неотрицательным размером, используйте [method "
"abs]."
msgid ""
"Returns [code]true[/code] if the [member position] or [member size] of both "
"bounding boxes are not equal.\n"
"[b]Note:[/b] Due to floating-point precision errors, consider using [method "
"is_equal_approx] instead, which is more reliable."
msgstr ""
"Возвращает [code]true[/code], если [member position] или [member size] обоих "
"ограничивающих рамок не равны.\n"
"[b]Примечание:[/b] Из-за ошибок точности с плавающей точкой рассмотрите "
"возможность использования [method is_equal_approx], который более надежен."
msgid ""
"Inversely transforms (multiplies) the [AABB] by the given [Transform3D] "
"transformation matrix, under the assumption that the transformation basis is "
"orthonormal (i.e. rotation/reflection is fine, scaling/skew is not).\n"
"[code]aabb * transform[/code] is equivalent to [code]transform.inverse() * "
"aabb[/code]. See [method Transform3D.inverse].\n"
"For transforming by inverse of an affine transformation (e.g. with scaling) "
"[code]transform.affine_inverse() * aabb[/code] can be used instead. See "
"[method Transform3D.affine_inverse]."
msgstr ""
"Обратно преобразует (умножает) [AABB] на заданную матрицу преобразования "
"[Transform3D], при условии, что базис преобразования ортонормален (т. е. "
"поворот/отражение хороши, масштабирование/перекос — нет).\n"
"[code]aabb * transform[/code] эквивалентно [code]transform.inverse() * aabb[/"
"code]. См. [method Transform3D.inverse].\n"
"Для преобразования с помощью обратного аффинного преобразования (например, с "
"масштабированием) вместо этого можно использовать "
"[code]transform.affine_inverse() * aabb[/code]. См. [method "
"Transform3D.affine_inverse]."
msgid ""
"Returns [code]true[/code] if both [member position] and [member size] of the "
"bounding boxes are exactly equal, respectively.\n"
"[b]Note:[/b] Due to floating-point precision errors, consider using [method "
"is_equal_approx] instead, which is more reliable."
msgstr ""
"Возвращает [code]true[/code], если и [member position] и [member size] "
"ограничивающих рамок в точности равны.\n"
"[b]Примечание:[/b] Из-за ошибок точности с плавающей точкой рассмотрите "
"возможность использования [method is_equal_approx], который более надежен."
msgid "A base dialog used for user notification."
msgstr "Базовый диалог, используемый для уведомления пользователя."
msgid ""
"The default use of [AcceptDialog] is to allow it to only be accepted or "
"closed, with the same result. However, the [signal confirmed] and [signal "
"canceled] signals allow to make the two actions different, and the [method "
"add_button] method allows to add custom buttons and actions.\n"
"[b]Note:[/b] The dialog controls the size of its buttons, any manual size "
"changes will be overridden. Use the [theme_item buttons_min_width] and "
"[theme_item buttons_min_height] theme constants instead.\n"
"[b]Note:[/b] [AcceptDialog] is invisible by default. To make it visible, call "
"one of the [code]popup_*[/code] methods from [Window] on the node, such as "
"[method Window.popup_centered_clamped]."
msgstr ""
"По умолчанию [AcceptDialog] предполагает только подтверждение или закрытие, "
"причём оба действия приводят к одному и тому же результату. Однако сигналы "
"[signal confirmed] и [signal canceled] позволяют сделать эти действия "
"различными, а метод [method add_button] — добавить пользовательские кнопки и "
"соответствующие им действия.\n"
"[b]Примечание:[/b] Диалоговое окно самостоятельно управляет размером своих "
"кнопок; любые изменения размера, выполненные вручную, будут проигнорированы. "
"Вместо этого используйте параметры темы [theme_item buttons_min_width] и "
"[theme_item buttons_min_height].\n"
"[b]Примечание:[/b] По умолчанию [AcceptDialog] не отображается. Чтобы сделать "
"его видимым, вызовите для этого узла один из методов [code]popup_*[/code] "
"класса [Window], например [method Window.popup_centered_clamped]."
msgid ""
"Adds a button with label [param text] and a custom [param action] to the "
"dialog and returns the created button.\n"
"If [param action] is not empty, pressing the button will emit the [signal "
"custom_action] signal with the specified action string.\n"
"If [code]true[/code], [param right] will place the button to the right of any "
"sibling buttons.\n"
"You can use [method remove_button] method to remove a button created with "
"this method from the dialog."
msgstr ""
"Добавляет кнопку с меткой [param text] и настраиваемым параметром [param "
"action] в диалоговое окно и возвращает созданную кнопку.\n"
"Если [param action] не пуст, нажатие кнопки сгенерирует сигнал [signal "
"custom_action] с указанной строкой действия.\n"
"Если [code]true[/code], [param right] разместит кнопку справа от всех "
"родственных кнопок.\n"
"Вы можете использовать метод [method remove_button] для удаления кнопки, "
"созданной с помощью этого метода, из диалогового окна."
msgid ""
"Adds a button with label [param name] and a cancel action to the dialog and "
"returns the created button.\n"
"You can use [method remove_button] method to remove a button created with "
"this method from the dialog."
msgstr ""
"Добавляет кнопку с меткой [param name] и действие отмены в диалоговое окно и "
"возвращает созданную кнопку.\n"
"Вы можете использовать метод [method remove_button], чтобы удалить кнопку, "
"созданную с помощью этого метода, из диалогового окна."
msgid ""
"Returns the label used for built-in text.\n"
"[b]Warning:[/b] This is a required internal node, removing and freeing it may "
"cause a crash. If you wish to hide it or any of its children, use their "
"[member CanvasItem.visible] property."
msgstr ""
"Возвращает метку, используемую для встроенного текста.\n"
"[b]Предупреждение:[/b] Это обязательный внутренний узел, его удаление и "
"освобождение может привести к сбою. Если вы хотите скрыть его или любой из "
"его дочерних элементов, используйте их свойство [member CanvasItem.visible]."
msgid ""
"Returns the OK [Button] instance.\n"
"[b]Warning:[/b] This is a required internal node, removing and freeing it may "
"cause a crash. If you wish to hide it or any of its children, use their "
"[member CanvasItem.visible] property."
msgstr ""
"Возвращает экземпляр кнопки OK [Button].\n"
"[b]Предупреждение:[/b] Это обязательный внутренний узел, его удаление и "
"освобождение может привести к сбою. Если вы хотите скрыть его или любой из "
"его дочерних элементов, используйте их свойство [member CanvasItem.visible]."
msgid ""
"Registers a [LineEdit] in the dialog. When the enter key is pressed, the "
"dialog will be accepted."
msgstr ""
"Регистрирует [LineEdit] в диалоге. При нажатии клавиши ввода диалог будет "
"принят."
msgid ""
"Removes the [param button] from the dialog. Does NOT free the [param button]. "
"The [param button] must be a [Button] added with [method add_button] or "
"[method add_cancel_button] method. After removal, pressing the [param button] "
"will no longer emit this dialog's [signal custom_action] or [signal canceled] "
"signals."
msgstr ""
"Удаляет кнопку [param button] из диалогового окна. НЕ освобождает [param "
"button]. [param button] должна быть [Button], добавленной с помощью метода "
"[method add_button] или [method add_cancel_button]. После удаления нажатие "
"[param button] больше не будет выдавать сигналы [signal custom_action] или "
"[signal canceled] этого диалогового окна."
msgid "Sets autowrapping for the text in the dialog."
msgstr "Устанавливает автоматический перенос текста в диалоге."
msgid ""
"If [code]true[/code], the dialog will be hidden when the "
"[code]ui_close_dialog[/code] action is pressed (by default, this action is "
"bound to [kbd]Escape[/kbd], or [kbd]Cmd + W[/kbd] on macOS)."
msgstr ""
"Если [code]true[/code], диалоговое окно будет скрыто при нажатии действия "
"[code]ui_close_dialog[/code] (по умолчанию это действие привязано к клавише "
"[kbd]Escape[/kbd] или [kbd]Cmd + W[/kbd] в macOS)."
msgid ""
"If [code]true[/code], the dialog is hidden when the OK button is pressed. You "
"can set it to [code]false[/code] if you want to do e.g. input validation when "
"receiving the [signal confirmed] signal, and handle hiding the dialog in your "
"own logic.\n"
"[b]Note:[/b] Some nodes derived from this class can have a different default "
"value, and potentially their own built-in logic overriding this setting. For "
"example [FileDialog] defaults to [code]false[/code], and has its own input "
"validation code that is called when you press OK, which eventually hides the "
"dialog if the input is valid. As such, this property can't be used in "
"[FileDialog] to disable hiding the dialog when pressing OK."
msgstr ""
"Если [code]true[/code], диалоговое окно будет скрыто при нажатии кнопки OK. "
"Вы можете установить значение в [code]false[/code] если хотите, например, "
"сделать проверку ввода при получении сигнала [signal confirmed], и обработать "
"сокрытие диалога в своей собственной логике.\n"
"[b]Примечание:[/b] Некоторые узлы, производные от этого класса, могут иметь "
"другое значение по умолчанию, и потенциально их собственная встроенная логика "
"переопределяет этот параметр. Например, [FileDialog] имеет значение по "
"умолчанию [code]false[/code] и собственный код проверки ввода, который "
"вызывается при нажатии кнопки OK, который в конечном итоге скрывает диалог, "
"если ввод является допустимым. Как таковое, это свойство не может быть "
"использовано в [FileDialog] для отключения скрытия диалога при нажатии OK."
msgid "The text displayed by the dialog."
msgstr "Текст, отображаемый в диалоговом окне."
msgid ""
"The text displayed by the OK button (see [method get_ok_button]). If empty, a "
"default text will be used."
msgstr ""
"Текст, отображаемый кнопкой OK (см. [method get_ok_button]). Если пусто, "
"будет использован текст по умолчанию."
msgid ""
"Emitted when the dialog is closed or the button created with [method "
"add_cancel_button] is pressed."
msgstr ""
"Вызывается при закрытии диалогового окна или нажатии кнопки, созданной с "
"помощью [method add_cancel_button]."
msgid "Emitted when the dialog is accepted, i.e. the OK button is pressed."
msgstr "Излучается при принятии диалога, т.е. когда нажата кнопка OK."
msgid ""
"Emitted when a custom button with an action is pressed. See [method "
"add_button]."
msgstr ""
"Генерируется при нажатии пользовательской кнопки с действием. См. [method "
"add_button]."
msgid ""
"The minimum height of each button in the bottom row (such as OK/Cancel) in "
"pixels. This can be increased to make buttons with short texts easier to "
"click/tap."
msgstr ""
"Минимальная высота каждой кнопки в нижнем ряду (например, OK/Отмена) в "
"пикселях. Ее можно увеличить, чтобы кнопки с коротким текстом было легче "
"нажимать/касать."
msgid ""
"The minimum width of each button in the bottom row (such as OK/Cancel) in "
"pixels. This can be increased to make buttons with short texts easier to "
"click/tap."
msgstr ""
"Минимальная ширина каждой кнопки в нижнем ряду (например, OK/Отмена) в "
"пикселях. Ее можно увеличить, чтобы кнопки с коротким текстом было легче "
"нажимать/касать."
msgid ""
"The size of the vertical space between the dialog's content and the button "
"row."
msgstr ""
"Размер вертикального пространства между содержимым диалогового окна и рядом "
"кнопок."
msgid "The panel that fills the background of the window."
msgstr "Панель которая заполняет задний план окна."
msgid "A server interface for screen reader support."
msgstr "Серверный интерфейс для поддержки программ чтения с экрана."
msgid ""
"[AccessibilityServer] handles screen reader support.\n"
"[b]Note:[/b] [AccessibilityServer] is implemented on Android, Linux, macOS, "
"and Windows."
msgstr ""
"[AccessibilityServer] отвечает за поддержку программ чтения с экрана.\n"
"[b]Примечание:[/b] [AccessibilityServer] реализован в Android, Linux, macOS и "
"Windows."
msgid ""
"Creates a new, empty accessibility element resource.\n"
"[b]Note:[/b] An accessibility element is created and freed automatically for "
"each [Node]. In general, this function should not be called manually."
msgstr ""
"Создает новый, пустой ресурс элемента доступности.\n"
"[b]Примечание:[/b] Элемент доступности создается и освобождается "
"автоматически для каждого [Node]. В общем случае эту функцию не следует "
"вызывать вручную."
msgid ""
"Creates a new, empty accessibility sub-element resource. Sub-elements can be "
"used to provide accessibility information for objects which are not [Node]s, "
"such as list items, table cells, or menu items. Sub-elements are freed "
"automatically when the parent element is freed, or can be freed early using "
"the [method free_element] method."
msgstr ""
"Создает новый пустой ресурс подэлемента доступности. Подэлементы могут "
"использоваться для предоставления информации о доступности для объектов, "
"которые не являются [Node], таких как элементы списков, ячейки таблиц или "
"пункты меню. Подэлементы автоматически освобождаются при освобождении "
"родительского элемента или могут быть освобождены досрочно с помощью метода "
"[method free_element]."
msgid ""
"Creates a new, empty accessibility sub-element from the shaped text buffer. "
"Sub-elements are freed automatically when the parent element is freed, or can "
"be freed early using the [method free_element] method.\n"
"If [param is_last_line] is [code]true[/code], no trailing newline is appended "
"to the text content. Set to [code]true[/code] for the last line in multi-line "
"text fields and for single-line text fields."
msgstr ""
"Создает новый пустой подэлемент доступности из буфера текста определенной "
"формы. Подэлементы освобождаются автоматически при освобождении родительского "
"элемента или могут быть освобождены досрочно с помощью метода [method "
"free_element].\n"
"Если [param is_last_line] имеет значение [code]true[/code], к содержимому "
"текста не добавляется завершающая новая строка. Установите значение "
"[code]true[/code] для последней строки в многострочных текстовых полях и для "
"однострочных текстовых полей."
msgid "Returns the metadata of the accessibility element [param id]."
msgstr "Возвращает метаданные элемента доступности [param id]."
msgid ""
"Sets the metadata of the accessibility element [param id] to [param meta]."
msgstr ""
"Устанавливает метаданные элемента доступности [param id] равными [param meta]."
msgid ""
"Frees the accessibility element [param id] created by [method "
"create_element], [method create_sub_element], or [method "
"create_sub_text_edit_elements]."
msgstr ""
"Освобождает элемент доступности [param id], созданный методами [method "
"create_element], [method create_sub_element] или [method "
"create_sub_text_edit_elements]."
msgid "Returns the main accessibility element of the OS native window."
msgstr "Возвращает основной элемент доступности собственного окна ОС."
msgid ""
"Returns [code]true[/code] if [param id] is a valid accessibility element."
msgstr ""
"Возвращает [code]true[/code], если [param id] является допустимым элементом "
"доступности."
msgid ""
"Returns [code]true[/code] if screen reader is support by this implementation."
msgstr ""
"Возвращает [code]true[/code], если данная реализация поддерживает программу "
"чтения с экрана."
msgid ""
"Sets the window focused state for assistive apps.\n"
"[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.\n"
"[b]Note:[/b] Advanced users only! [Window] objects call this method "
"automatically."
msgstr ""
"Устанавливает состояние фокуса окна для вспомогательных приложений.\n"
"[b]Примечание:[/b] Этот метод реализован в Linux, macOS и Windows.\n"
"[b]Примечание:[/b] Только для опытных пользователей! Объекты [Window] "
"вызывают этот метод автоматически."
msgid ""
"Sets window outer (with decorations) and inner (without decorations) bounds "
"for assistive apps.\n"
"[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.\n"
"[b]Note:[/b] Advanced users only! [Window] objects call this method "
"automatically."
msgstr ""
"Устанавливает внешние (с украшениями) и внутренние (без украшений) границы "
"окна для вспомогательных приложений.\n"
"[b]Примечание:[/b] Этот метод реализован в Linux, macOS и Windows.\n"
"[b]Примечание:[/b] Только для опытных пользователей! Объекты [Window] "
"вызывают этот метод автоматически."
msgid ""
"Adds a callback for the accessibility action (action which can be performed "
"by using a special screen reader command or buttons on the Braille display), "
"and marks this action as supported. The action callback receives one "
"[Variant] argument, which value depends on action type."
msgstr ""
"Добавляет обратный вызов для действия доступности (действие, которое может "
"быть выполнено с помощью специальной команды экранного диктора или кнопок на "
"дисплее Брайля) и отмечает это действие как поддерживаемое. Обратный вызов "
"действия получает один аргумент [Variant], значение которого зависит от типа "
"действия."
msgid ""
"Adds a child accessibility element.\n"
"[b]Note:[/b] [Node] children and sub-elements are added to the child list "
"automatically."
msgstr ""
"Добавляет дочерний элемент доступности.\n"
"[b]Примечание:[/b] Дочерние и подэлементы [Node] добавляются в список "
"дочерних элементов автоматически."
msgid ""
"Adds support for a custom accessibility action. [param action_id] is passed "
"as an argument to the callback of [constant ACTION_CUSTOM] action."
msgstr ""
"Добавляет поддержку для настраиваемого действия специальных возможностей. "
"[param action_id] передается как аргумент обратному вызову действия [constant "
"ACTION_CUSTOM]."
msgid "Adds an element that is controlled by this element."
msgstr "Добавляет элемент, который контролируется данным элементом."
msgid "Adds an element that describes this element."
msgstr "Добавляет элемент, описывающий этот элемент."
msgid "Adds an element that details this element."
msgstr "Добавляет элемент, детализирующий этот элемент."
msgid "Adds an element that this element flow into."
msgstr "Добавляет элемент, в который вливается данный элемент."
msgid "Adds an element that labels this element."
msgstr "Добавляет элемент, маркирующий этот элемент."
msgid ""
"Adds an element that is part of the same radio group.\n"
"[b]Note:[/b] This method should be called on each element of the group, using "
"all other elements as [param related_id]."
msgstr ""
"Добавляет элемент, который является частью той же радиогруппы.\n"
"[b]Примечание:[/b] Этот метод следует вызывать для каждого элемента группы, "
"используя все остальные элементы как [param related_id]."
msgid "Adds an element that is an active descendant of this element."
msgstr "Добавляет элемент, который является активным потомком данного элемента."
msgid "Sets element background color."
msgstr "Устанавливает цвет фона элемента."
msgid "Sets element bounding box, relative to the node position."
msgstr ""
"Устанавливает ограничивающую рамку элемента относительно положения узла."
msgid "Sets element accessibility label for Braille display."
msgstr "Устанавливает метку доступности элемента для брайлевского дисплея."
msgid "Sets element accessibility role description for Braille display."
msgstr "Задает описание роли доступности элемента для дисплея Брайля."
msgid "Sets element checked state."
msgstr "Устанавливает состояние проверки элемента."
msgid "Sets element class name."
msgstr "Задает имя класса элемента."
msgid "Sets element color value."
msgstr "Устанавливает значение цвета элемента."
msgid "Sets element accessibility description."
msgstr "Устанавливает описание доступности элемента."
msgid "Sets an element which contains an error message for this element."
msgstr ""
"Устанавливает элемент, содержащий сообщение об ошибке для этого элемента."
msgid "Sets element accessibility extra information added to the element name."
msgstr ""
"Устанавливает дополнительную информацию о доступности элемента, добавляемую к "
"имени элемента."
msgid "Sets element flag."
msgstr "Устанавливает флаг элемента."
msgid "Sets currently focused element."
msgstr "Устанавливает текущий элемент, находящийся в фокусе."
msgid "Sets element foreground color."
msgstr "Устанавливает цвет переднего плана элемента."
msgid "Sets target element for the link."
msgstr "Устанавливает цель элемента для ссылки."
msgid "Sets element text language."
msgstr "Устанавливает язык текста элемента."
msgid "Sets number of items in the list."
msgstr "Устанавливает количество элементов в списке."
msgid "Sets list/tree item expanded status."
msgstr "Устанавливает развернутый статус элемента списка/дерева."
msgid "Sets the position of the element in the list."
msgstr "Устанавливает позицию элемента в списке."
msgid "Sets the hierarchical level of the element in the list."
msgstr "Устанавливает иерархический уровень элемента в списке."
msgid "Sets list/tree item selected status."
msgstr "Устанавливает статус выбранного элемента списка/дерева."
msgid "Sets the orientation of the list elements."
msgstr "Задает ориентацию элементов списка."
msgid "Sets the priority of the live region updates."
msgstr "Устанавливает приоритет обновлений региона в реальном времени."
msgid "Sets the element to be a member of the group."
msgstr "Устанавливает элемент как член группы."
msgid "Sets element accessibility name."
msgstr "Устанавливает имя доступности элемента."
msgid "Sets next element on the line."
msgstr "Устанавливает следующий элемент в строке."
msgid "Sets numeric value jump."
msgstr "Устанавливает скачок числового значения."
msgid "Sets numeric value range."
msgstr "Устанавливает диапазон числовых значений."
msgid "Sets numeric value step."
msgstr "Устанавливает шаг числового значения."
msgid "Sets numeric value."
msgstr "Устанавливает числовое значение."
msgid "Sets placeholder text."
msgstr "Устанавливает текст-заполнитель."
msgid "Sets popup type for popup buttons."
msgstr "Устанавливает тип всплывающего окна для всплывающих кнопок."
msgid "Sets previous element on the line."
msgstr "Устанавливает предыдущий элемент в строке."
msgid "Sets element accessibility role."
msgstr "Устанавливает роль доступности элемента."
msgid "Sets element accessibility role description text."
msgstr "Устанавливает текст описания роли доступности элемента."
msgid "Sets scroll bar x position."
msgstr "Устанавливает положение полосы прокрутки по оси x."
msgid "Sets scroll bar x range."
msgstr "Устанавливает диапазон полосы прокрутки x."
msgid "Sets scroll bar y position."
msgstr "Устанавливает положение полосы прокрутки по оси Y."
msgid "Sets scroll bar y range."
msgstr "Устанавливает диапазон прокрутки по оси Y."
msgid "Sets the list of keyboard shortcuts used by element."
msgstr "Задает список сочетаний клавиш, используемых элементом."
msgid "Sets human-readable description of the current checked state."
msgstr ""
"Устанавливает понятное человеку описание текущего отмеченного состояния."
msgid "Sets cell position in the table."
msgstr "Устанавливает положение ячейки в таблице."
msgid "Sets cell row/column span."
msgstr "Устанавливает диапазон строк/столбцов ячеек."
msgid "Sets number of columns in the table."
msgstr "Задает количество столбцов в таблице."
msgid "Sets position of the column."
msgstr "Устанавливает положение столбца."
msgid "Sets number of rows in the table."
msgstr "Устанавливает количество строк в таблице."
msgid "Sets position of the row in the table."
msgstr "Устанавливает положение строки в таблице."
msgid "Sets element text alignment."
msgstr "Устанавливает выравнивание текста элемента."
msgid "Sets text underline/overline/strikethrough."
msgstr "Устанавливает подчеркивание/надчеркивание/зачеркивание текста."
msgid "Sets text orientation."
msgstr "Устанавливает ориентацию текста."
msgid ""
"Sets text selection to the text field. [param text_start_id] and [param "
"text_end_id] should be elements created by [method "
"create_sub_text_edit_elements]. Character offsets are relative to the "
"corresponding element."
msgstr ""
"Устанавливает выделение текста в текстовом поле. [param text_start_id] и "
"[param text_end_id] должны быть элементами, созданными методом [method "
"create_sub_text_edit_elements]. Смещения символов указываются относительно "
"соответствующего элемента."
msgid "Sets tooltip text."
msgstr "Устанавливает текст подсказки."
msgid "Sets element 2D transform."
msgstr "Устанавливает 2D-преобразование элемента."
msgid "Sets link URL."
msgstr "Устанавливает URL-адрес ссылки."
msgid "Sets element text value."
msgstr "Устанавливает текстовое значение элемента."
msgid "Unknown or custom role."
msgstr "Неизвестная или пользовательская роль."
msgid "Default dialog button element."
msgstr "Элемент кнопки диалога по умолчанию."
msgid "Audio player element."
msgstr "Элемент аудиоплеера."
msgid "Video player element."
msgstr "Элемент видеоплеера."
msgid "Non-editable text label."
msgstr "Нередактируемая текстовая метка."
msgid ""
"Container element. Elements with this role are used for internal structure "
"and ignored by screen readers."
msgstr ""
"Элемент контейнера. Элементы с этой ролью используются для внутренней "
"структуры и игнорируются программами чтения с экрана."
msgid "Panel container element."
msgstr "Элемент панельного контейнера."
msgid "Button element."
msgstr "Элемент кнопки."
msgid "Link element."
msgstr "Элемент ссылки."
msgid "Check box element."
msgstr "Элемент флажка."
msgid "Radio button element."
msgstr "Элемент радиокнопки."
msgid "Check button element."
msgstr "Элемент check кнопки."
msgid "Scroll bar element."
msgstr "Элемент полосы прокрутки."
msgid "Scroll container element."
msgstr "Элемент контейнера прокрутки."
msgid "Container splitter handle element."
msgstr "Элемент ручки разделителя контейнера."
msgid "Slider element."
msgstr "Элемент слайдера."
msgid "Spin box element."
msgstr "Элемент спин-бокса."
msgid "Progress indicator element."
msgstr "Элемент индикатора прогресса."
msgid "Editable text field element."
msgstr "Редактируемый элемент текстового поля."
msgid "Multiline editable text field element."
msgstr "Многострочный редактируемый элемент текстового поля."
msgid "Color picker element."
msgstr "Элемент выбора цвета."
msgid "Table element."
msgstr "Элемент таблицы."
msgid "Table/tree cell element."
msgstr "Элемент ячейки таблицы/дерева."
msgid "Table/tree row element."
msgstr "Элемент строки таблицы/дерева."
msgid "Table/tree row group element."
msgstr "Элемент группы строк таблицы/дерева."
msgid "Table/tree row header element."
msgstr "Элемент заголовка строки таблицы/дерева."
msgid "Table/tree column header element."
msgstr "Элемент заголовка столбца таблицы/дерева."
msgid "Tree view element."
msgstr "Элемент древовидной структуры (Tree view)."
msgid "Tree view item element."
msgstr "Элемент древовидной структуры (Tree view item)."
msgid "List element."
msgstr "Элемент списка."
msgid "List item element."
msgstr "Элемент списка Item."
msgid "List view element."
msgstr "Элемент представления списка."
msgid "List view item element."
msgstr "Элемент списка представлений Item."
msgid "Tab bar element."
msgstr "Элемент панели вкладок Bar."
msgid "Tab bar item element."
msgstr "Элемент панели вкладок Item."
msgid "Tab panel element."
msgstr "Элемент панели вкладок."
msgid "Menu bar element."
msgstr "Элемент строки меню."
msgid "Popup menu element."
msgstr "Элемент всплывающего меню."
msgid "Popup menu item element."
msgstr "Элемент всплывающего меню Item."
msgid "Popup menu check button item element."
msgstr "Элемент кнопки проверки всплывающего меню."
msgid "Popup menu radio button item element."
msgstr "Элемент переключателя всплывающего меню."
msgid "Image element."
msgstr "Элемент изображения."
msgid "Window element."
msgstr "Элемент окна."
msgid "Embedded window title bar element."
msgstr "Встроенный элемент заголовка окна."
msgid "Dialog window element."
msgstr "Элемент диалогового окна."
msgid "Tooltip element."
msgstr "Элемент подсказки."
msgid ""
"Region/landmark element. Screen readers can navigate between regions using "
"landmark navigation."
msgstr ""
"Региональный/ориентиральный элемент. Программы чтения с экрана могут "
"перемещаться между регионами, используя навигацию по ориентирам."
msgid ""
"Unifor text run.\n"
"Note: This role is used for internal text elements, and should not be "
"assigned to nodes."
msgstr ""
"Unifor text run.\n"
"Примечание: Эта роль используется для внутренних текстовых элементов и не "
"должна назначаться узлам."
msgid "Popup menu."
msgstr "Всплывающее меню."
msgid "Popup list."
msgstr "Всплывающий список."
msgid "Popup tree view."
msgstr "Всплывающее древовидное представление."
msgid "Popup dialog."
msgstr "Всплывающий диалог."
msgid "Element is hidden for accessibility tools."
msgstr "Элемент скрыт для инструментов специальных возможностей."
msgid "Element supports multiple item selection."
msgstr "Элемент поддерживает выбор нескольких элементов."
msgid "Element require user input."
msgstr "Элемент требует ввода данных пользователем."
msgid "Element is a visited link."
msgstr "Элемент — посещенная ссылка."
msgid "Element content is not ready (e.g. loading)."
msgstr "Содержимое элемента не готово (например, загрузка)."
msgid "Element is modal window."
msgstr "Элемент представляет собой модальное окно."
msgid ""
"Element allows touches to be passed through when a screen reader is in touch "
"exploration mode."
msgstr ""
"Элемент позволяет передавать касания, когда программа чтения с экрана "
"находится в режиме сенсорного исследования."
msgid "Element is text field with selectable but read-only text."
msgstr ""
"Элемент представляет собой текстовое поле с выбираемым, но доступным только "
"для чтения текстом."
msgid "Element is disabled."
msgstr "Элемент отключен."
msgid "Element clips children."
msgstr "Элемент обрезает потомков."
msgid "Single click action, callback argument is not set."
msgstr "Действие одинарного щелчка, аргумент обратного вызова не задан."
msgid "Focus action, callback argument is not set."
msgstr "Действие фокуса, аргумент обратного вызова не задан."
msgid "Blur action, callback argument is not set."
msgstr "Действие размытия, аргумент обратного вызова не задан."
msgid "Collapse action, callback argument is not set."
msgstr "Свернуть действие, аргумент обратного вызова не задан."
msgid "Expand action, callback argument is not set."
msgstr "Действие Развернуть, аргумент обратного вызова не задан."
msgid "Decrement action, callback argument is not set."
msgstr "Действие уменьшения, аргумент обратного вызова не задан."
msgid "Increment action, callback argument is not set."
msgstr "Действие приращения/увеличения, аргумент обратного вызова не задан."
msgid "Hide tooltip action, callback argument is not set."
msgstr "Действие скрыть подсказки, аргумент обратного вызова не задан."
msgid "Show tooltip action, callback argument is not set."
msgstr "Действие показать подсказки, аргумент обратного вызова не задан."
msgid ""
"Set text selection action, callback argument is set to [Dictionary] with the "
"following keys:\n"
"- [code]\"start_element\"[/code] accessibility element of the selection "
"start.\n"
"- [code]\"start_char\"[/code] character offset relative to the accessibility "
"element of the selection start.\n"
"- [code]\"end_element\"[/code] accessibility element of the selection end.\n"
"- [code]\"end_char\"[/code] character offset relative to the accessibility "
"element of the selection end."
msgstr ""
"Установить действие выделения текста, аргумент обратного вызова установлен на "
"[Dictionary] со следующими ключами:\n"
"- [code]\"start_element\"[/code] элемент доступности начала выделения.\n"
"- [code]\"start_char\"[/code] смещение символа относительно элемента "
"доступности начала выделения.\n"
"- [code]\"end_element\"[/code] элемент доступности конца выделения.\n"
"- [code]\"end_char\"[/code] смещение символа относительно элемента "
"доступности конца выделения."
msgid ""
"Replace text action, callback argument is set to [String] with the "
"replacement text."
msgstr ""
"Действие «Заменить текст», аргументу обратного вызова присваивается значение "
"[String] с заменяющим текстом."
msgid "Scroll backward action, callback argument is not set."
msgstr "Действие прокрутки назад, аргумент обратного вызова не задан."
msgid ""
"Scroll down action, callback argument is set to [enum "
"AccessibilityScrollUnit]."
msgstr ""
"Действие прокрутки вниз, аргументу обратного вызова присваивается значение "
"[enum AccessibilityScrollUnit]."
msgid "Scroll forward action, callback argument is not set."
msgstr "Действие прокрутки вперед, аргумент обратного вызова не задан."
msgid ""
"Scroll left action, callback argument is set to [enum "
"AccessibilityScrollUnit]."
msgstr ""
"Действие прокрутки влево, аргументу обратного вызова присвоено значение [enum "
"AccessibilityScrollUnit]."
msgid ""
"Scroll right action, callback argument is set to [enum "
"AccessibilityScrollUnit]."
msgstr ""
"Действие прокрутки вправо, аргументу обратного вызова присвоено значение "
"[enum AccessibilityScrollUnit]."
msgid ""
"Scroll up action, callback argument is set to [enum AccessibilityScrollUnit]."
msgstr ""
"Действие прокрутки вверх, аргумент обратного вызова установлен на [enum "
"AccessibilityScrollUnit]."
msgid ""
"Scroll into view action, callback argument is set to [enum "
"AccessibilityScrollHint]."
msgstr ""
"Прокрутка в действие представления, аргументу обратного вызова присвоено "
"значение [enum AccessibilityScrollHint]."
msgid ""
"Scroll to point action, callback argument is set to [Vector2] with the "
"relative point coordinates."
msgstr ""
"Прокрутите до действия, аргумент обратного вызова устанавливается на "
"[Vector2] с относительными координатами точек."
msgid ""
"Set scroll offset action, callback argument is set to [Vector2] with the "
"scroll offset."
msgstr ""
"Задайте действие смещения прокрутки, аргументу обратного вызова присваивается "
"значение [Vector2] со смещением прокрутки."
msgid ""
"Set value action, callback argument is set to [String] or number with the new "
"value."
msgstr ""
"Действие «Установить значение», аргументу обратного вызова присваивается "
"значение [String] или число с новым значением."
msgid "Show context menu action, callback argument is not set."
msgstr ""
"Действие показать контекстного меню, аргумент обратного вызова не задан."
msgid "Custom action, callback argument is set to the integer action ID."
msgstr ""
"Пользовательское действие, аргумент обратного вызова задается равным "
"целочисленному идентификатору действия."
msgid "Indicates that updates to the live region should not be presented."
msgstr "Указывает, что обновления для текущего региона не должны отображаться."
msgid ""
"Indicates that updates to the live region should be presented at the next "
"opportunity (for example at the end of speaking the current sentence)."
msgstr ""
"Указывает, что обновления активной области должны быть представлены при "
"следующей возможности (например, в конце произнесения текущего предложения)."
msgid ""
"Indicates that updates to the live region have the highest priority and "
"should be presented immediately."
msgstr ""
"Указывает, что обновления в активном регионе имеют наивысший приоритет и "
"должны быть представлены немедленно."
msgid "The amount by which to scroll. A single item of a list, line of text."
msgstr "Величина прокрутки. Отдельный элемент списка, строка текста."
msgid "The amount by which to scroll. A single page."
msgstr "Величина прокрутки. Одна страница."
msgid ""
"A preferred position for the node scrolled into view. Top-left edge of the "
"scroll container."
msgstr ""
"Предпочтительное положение прокручиваемого узла. Верхний левый край "
"контейнера прокрутки."
msgid ""
"A preferred position for the node scrolled into view. Bottom-right edge of "
"the scroll container."
msgstr ""
"Предпочтительное положение прокручиваемого узла. Нижний правый край "
"контейнера прокрутки."
msgid ""
"A preferred position for the node scrolled into view. Top edge of the scroll "
"container."
msgstr ""
"Предпочтительное положение прокручиваемого узла. Верхний край контейнера "
"прокрутки."
msgid ""
"A preferred position for the node scrolled into view. Bottom edge of the "
"scroll container."
msgstr ""
"Предпочтительное положение прокручиваемого узла. Нижний край контейнера "
"прокрутки."
msgid ""
"A preferred position for the node scrolled into view. Left edge of the scroll "
"container."
msgstr ""
"Предпочтительное положение прокручиваемого узла. Левый край контейнера "
"прокрутки."
msgid ""
"A preferred position for the node scrolled into view. Right edge of the "
"scroll container."
msgstr ""
"Предпочтительное положение прокручиваемого узла. Правый край контейнера "
"прокрутки."
msgid "Provides access to AES encryption/decryption of raw data."
msgstr ""
"Предоставляет доступ к шифрованию/дешифрованию необработанных данных по "
"алгоритму AES."
msgid ""
"This class holds the context information required for encryption and "
"decryption operations with AES (Advanced Encryption Standard). Both AES-ECB "
"and AES-CBC modes are supported.\n"
"[codeblocks]\n"
"[gdscript]\n"
"extends Node\n"
"\n"
"var aes = AESContext.new()\n"
"\n"
"func _ready():\n"
"\tvar key = \"My secret key!!!\" # Key must be either 16 or 32 bytes.\n"
"\tvar data = \"My secret text!!\" # Data size must be multiple of 16 bytes, "
"apply padding if needed.\n"
"\t# Encrypt ECB\n"
"\taes.start(AESContext.MODE_ECB_ENCRYPT, key.to_utf8_buffer())\n"
"\tvar encrypted = aes.update(data.to_utf8_buffer())\n"
"\taes.finish()\n"
"\t# Decrypt ECB\n"
"\taes.start(AESContext.MODE_ECB_DECRYPT, key.to_utf8_buffer())\n"
"\tvar decrypted = aes.update(encrypted)\n"
"\taes.finish()\n"
"\t# Check ECB\n"
"\tassert(decrypted == data.to_utf8_buffer())\n"
"\n"
"\tvar iv = \"My secret iv!!!!\" # IV must be of exactly 16 bytes.\n"
"\t# Encrypt CBC\n"
"\taes.start(AESContext.MODE_CBC_ENCRYPT, key.to_utf8_buffer(), "
"iv.to_utf8_buffer())\n"
"\tencrypted = aes.update(data.to_utf8_buffer())\n"
"\taes.finish()\n"
"\t# Decrypt CBC\n"
"\taes.start(AESContext.MODE_CBC_DECRYPT, key.to_utf8_buffer(), "
"iv.to_utf8_buffer())\n"
"\tdecrypted = aes.update(encrypted)\n"
"\taes.finish()\n"
"\t# Check CBC\n"
"\tassert(decrypted == data.to_utf8_buffer())\n"
"[/gdscript]\n"
"[csharp]\n"
"using Godot;\n"
"using System.Diagnostics;\n"
"\n"
"public partial class MyNode : Node\n"
"{\n"
"\tprivate AesContext _aes = new AesContext();\n"
"\n"
"\tpublic override void _Ready()\n"
"\t{\n"
"\t\tstring key = \"My secret key!!!\"; // Key must be either 16 or 32 bytes.\n"
"\t\tstring data = \"My secret text!!\"; // Data size must be multiple of 16 "
"bytes, apply padding if needed.\n"
"\t\t// Encrypt ECB\n"
"\t\t_aes.Start(AesContext.Mode.EcbEncrypt, key.ToUtf8Buffer());\n"
"\t\tbyte[] encrypted = _aes.Update(data.ToUtf8Buffer());\n"
"\t\t_aes.Finish();\n"
"\t\t// Decrypt ECB\n"
"\t\t_aes.Start(AesContext.Mode.EcbDecrypt, key.ToUtf8Buffer());\n"
"\t\tbyte[] decrypted = _aes.Update(encrypted);\n"
"\t\t_aes.Finish();\n"
"\t\t// Check ECB\n"
"\t\tDebug.Assert(decrypted == data.ToUtf8Buffer());\n"
"\n"
"\t\tstring iv = \"My secret iv!!!!\"; // IV must be of exactly 16 bytes.\n"
"\t\t// Encrypt CBC\n"
"\t\t_aes.Start(AesContext.Mode.EcbEncrypt, key.ToUtf8Buffer(), "
"iv.ToUtf8Buffer());\n"
"\t\tencrypted = _aes.Update(data.ToUtf8Buffer());\n"
"\t\t_aes.Finish();\n"
"\t\t// Decrypt CBC\n"
"\t\t_aes.Start(AesContext.Mode.EcbDecrypt, key.ToUtf8Buffer(), "
"iv.ToUtf8Buffer());\n"
"\t\tdecrypted = _aes.Update(encrypted);\n"
"\t\t_aes.Finish();\n"
"\t\t// Check CBC\n"
"\t\tDebug.Assert(decrypted == data.ToUtf8Buffer());\n"
"\t}\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Этот класс содержит контекстную информацию, необходимую для операций "
"шифрования и дешифрования с помощью AES (Advanced Encryption Standard). "
"Поддерживаются режимы AES-ECB и AES-CBC.\n"
"[codeblocks]\n"
"[gdscript]\n"
"extends Node\n"
"\n"
"var aes = AESContext.new()\n"
"\n"
"func _ready():\n"
"\tvar key = \"My secret key!!!\" # Ключ должен быть длиной 16 или 32 байта.\n"
"\tvar data = \"My secret text!!\" # Размер данных должен быть кратен 16 "
"байтам, при необходимости используйте заполнение.\n"
"\t# Зашифровать ECB\n"
"\taes.start(AESContext.MODE_ECB_ENCRYPT, key.to_utf8_buffer())\n"
"\tvar encrypted = aes.update(data.to_utf8_buffer())\n"
"\taes.finish()\n"
"\t# Расшифровать ECB\n"
"\taes.start(AESContext.MODE_ECB_DECRYPT, key.to_utf8_buffer())\n"
"\tvar decrypted = aes.update(encrypted)\n"
"\taes.finish()\n"
"\t# Проверить ECB\n"
"\tassert(decrypted == data.to_utf8_buffer())\n"
"\n"
"\tvar iv = \"My secret iv!!!!\" # IV должен состоять ровно из 16 байт.\n"
"\t# Зашифровать CBC\n"
"\taes.start(AESContext.MODE_CBC_ENCRYPT, key.to_utf8_buffer(), "
"iv.to_utf8_buffer())\n"
"\tencrypted = aes.update(data.to_utf8_buffer())\n"
"\taes.finish()\n"
"\t# Расшифровать CBC\n"
"\taes.start(AESContext.MODE_CBC_DECRYPT, key.to_utf8_buffer(), "
"iv.to_utf8_buffer())\n"
"\tdecrypted = aes.update(encrypted)\n"
"\taes.finish()\n"
"\t# Проверить CBC\n"
"\tassert(decrypted == data.to_utf8_buffer())\n"
"[/gdscript]\n"
"[csharp]\n"
"using Godot;\n"
"using System.Diagnostics;\n"
"\n"
"public partial class MyNode : Node\n"
"{\n"
"\tprivate AesContext _aes = new AesContext();\n"
"\n"
"\tpublic override void _Ready()\n"
"\t{\n"
"\t\tstring key = \"My secret key!!!\"; // Ключ должен быть длиной 16 или 32 "
"байта.\n"
"\t\tstring data = \"My secret text!!\"; // Размер данных должен быть кратен "
"16 байтам, при необходимости используйте заполнение.\n"
"\t\t// Зашифровать ECB\n"
"\t\t_aes.Start(AesContext.Mode.EcbEncrypt, key.ToUtf8Buffer());\n"
"\t\tbyte[] encrypted = _aes.Update(data.ToUtf8Buffer());\n"
"\t\t_aes.Finish();\n"
"\t\t// Расшифровать ECB\n"
"\t\t_aes.Start(AesContext.Mode.EcbDecrypt, key.ToUtf8Buffer());\n"
"\t\tbyte[] decrypted = _aes.Update(encrypted);\n"
"\t\t_aes.Finish();\n"
"\t\t// Проверить ECB\n"
"\t\tDebug.Assert(decrypted == data.ToUtf8Buffer());\n"
"\n"
"\t\tstring iv = \"My secret iv!!!!\"; // IV должен состоять ровно из 16 "
"байт.\n"
"\t\t// Зашифровать CBC\n"
"\t\t_aes.Start(AesContext.Mode.EcbEncrypt, key.ToUtf8Buffer(), "
"iv.ToUtf8Buffer());\n"
"\t\tencrypted = _aes.Update(data.ToUtf8Buffer());\n"
"\t\t_aes.Finish();\n"
"\t\t// Расшифровать CBC\n"
"\t\t_aes.Start(AesContext.Mode.EcbDecrypt, key.ToUtf8Buffer(), "
"iv.ToUtf8Buffer());\n"
"\t\tdecrypted = _aes.Update(encrypted);\n"
"\t\t_aes.Finish();\n"
"\t\t// Проверить CBC\n"
"\t\tDebug.Assert(decrypted == data.ToUtf8Buffer());\n"
"\t}\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]"
msgid "Close this AES context so it can be started again. See [method start]."
msgstr ""
"Закрыть данный AES-контекст, чтобы его можно было запустить заново. См. "
"раздел [method start]."
msgid "Extracting the IV state is no longer supported"
msgstr "Извлечение состояния IV больше не поддерживается"
msgid ""
"Returns an empty [PackedByteArray].\n"
"[b]Note:[/b] This method used to return the active IV state as modified by "
"one or more [method update] calls. This is no longer supported."
msgstr ""
"Возвращает пустой [PackedByteArray].\n"
"[b]Примечание:[/b] Ранее этот метод возвращал текущее состояние вектора "
"инициализации (IV), изменённое в результате одного или нескольких вызовов "
"[method update]. В настоящее время это не поддерживается."
msgid ""
"Start the AES context in the given [param mode]. A [param key] of either 16 "
"or 32 bytes must always be provided, while an [param iv] (initialization "
"vector) of exactly 16 bytes, is only needed when [param mode] is either "
"[constant MODE_CBC_ENCRYPT] or [constant MODE_CBC_DECRYPT]."
msgstr ""
"Запустите контекст AES в заданном [param mode]. Всегда должен быть указан "
"[param key] из 16 или 32 байт, тогда как [param iv] (вектор инициализации) из "
"ровно 16 байт требуется только тогда, когда [param mode] равен [constant "
"MODE_CBC_ENCRYPT] или [constant MODE_CBC_DECRYPT]."
msgid ""
"Run the desired operation for this AES context. Will return a "
"[PackedByteArray] containing the result of encrypting (or decrypting) the "
"given [param src]. See [method start] for mode of operation.\n"
"[b]Note:[/b] The size of [param src] must be a multiple of 16. Apply some "
"padding if needed."
msgstr ""
"Выполнить нужную операцию для этого контекста AES. Вернет [PackedByteArray], "
"содержащий результат шифрования (или расшифровки) указанного [param src]. См. "
"[method start] для режима работы.\n"
"[b]Примечание:[/b] Размер [param src] должен быть кратен 16. При "
"необходимости примените некоторое заполнение."
msgid "AES electronic codebook encryption mode."
msgstr "AES режим шифрования электронной кодовой книги."
msgid "AES electronic codebook decryption mode."
msgstr "AES режим дешифрования электронной кодовой книги."
msgid "AES cipher block chaining encryption mode."
msgstr "Режим шифрования с использованием цепочки блоков AES."
msgid "AES cipher block chaining decryption mode."
msgstr "Режим дешифрования с использованием цепочки блоков шифрования AES."
msgid "Maximum value for the mode enum."
msgstr "Максимальное значение для режима перечисления."
msgid "The [AimModifier3D] rotates a bone to look at a reference bone."
msgstr "[AimModifier3D] вращает кость, чтобы она смотрела на опорную кость."
msgid ""
"This is a simple version of [LookAtModifier3D] that only allows bone to the "
"reference without advanced options such as angle limitation or time-based "
"interpolation.\n"
"The feature is simplified, but instead it is implemented with smooth tracking "
"without euler, see [method set_use_euler]."
msgstr ""
"Это упрощённая версия [LookAtModifier3D], которая допускает только кость к "
"референсу без дополнительных настроек, таких как ограничение угла или "
"заданной по времени интерполяции.\n"
"Эта функция упрощена, но взамен она имплементирована с сглаженным трекингом "
"без euler, смотреть [method set_use_euler]."
msgid "Returns the forward axis of the bone."
msgstr "Возвращает переднюю ось кости."
msgid ""
"Returns the axis of the first rotation. It is enabled only if [method "
"is_using_euler] is [code]true[/code]."
msgstr ""
"Возвращает ось первого вращения. Включено только если [method is_using_euler] "
"равен [code]true[/code]."
msgid ""
"Returns [code]true[/code] if the relative option is enabled in the setting at "
"[param index]."
msgstr ""
"Возвращает [code]true[/code], если относительная опция включена в настройке в "
"[param index]."
msgid "Returns [code]true[/code] if it provides rotation with using euler."
msgstr ""
"Возвращает [code]true[/code], если обеспечивает вращение с использованием "
"Эйлера."
msgid ""
"Returns [code]true[/code] if it provides rotation by two axes. It is enabled "
"only if [method is_using_euler] is [code]true[/code]."
msgstr ""
"Возвращает [code]true[/code], если обеспечивает вращение по двум осям. Это "
"работает только если [method is_using_euler] равен [code]true[/code]."
msgid "Sets the forward axis of the bone."
msgstr "Устанавливает переднюю ось кости."
msgid ""
"Sets the axis of the first rotation. It is enabled only if [method "
"is_using_euler] is [code]true[/code]."
msgstr ""
"Устанавливает ось первого вращения. Работает только если [method "
"is_using_euler] равен [code]true[/code]."
msgid ""
"Sets relative option in the setting at [param index] to [param enabled].\n"
"If sets [param enabled] to [code]true[/code], the rotation is applied "
"relative to the pose.\n"
"If sets [param enabled] to [code]false[/code], the rotation is applied "
"relative to the rest. It means to replace the current pose with the "
"[AimModifier3D]'s result."
msgstr ""
"Устанавливает параметр relative в настройках по адресу [param index] в "
"значение [param enabled].\n"
"Если параметр [param enabled] установлен в значение [code]true[/code], "
"вращение применяется относительно текущей позы.\n"
"Если параметр [param enabled] установлен в значение [code]false[/code], "
"вращение применяется относительно остальных параметров. Это означает замену "
"текущей позы результатом [AimModifier3D]."
msgid ""
"If sets [param enabled] to [code]true[/code], it provides rotation with using "
"euler.\n"
"If sets [param enabled] to [code]false[/code], it provides rotation with "
"using rotation by arc generated from the forward axis vector and the vector "
"toward the reference."
msgstr ""
"Если задан [param enabled] к [code]true[/code], то предоставляется вращение "
"без использования euler.\n"
"Если задан [param enabled] к [code]false[/code], то предоставляется вращение "
"с использованием пути, заданного передним осевым вектором и вектором, "
"направленным к референсу."
msgid ""
"If sets [param enabled] to [code]true[/code], it provides rotation by two "
"axes. It is enabled only if [method is_using_euler] is [code]true[/code]."
msgstr ""
"Если задан [param enabled] к [code]true[/code], то предоставляется вращение "
"по двум осям. Включено только если [method is_using_euler] задан [code]true[/"
"code]."
msgid "The number of settings in the modifier."
msgstr "Количество настроек в модификаторе."
msgid ""
"A 2D physics body that can't be moved by external forces. When moved "
"manually, it affects other bodies in its path."
msgstr ""
"Двумерное физическое тело, которое не перемещается под действием внешних сил. "
"При перемещении вручную оно влияет на другие тела на своем пути."
msgid ""
"An animatable 2D physics body. It can't be moved by external forces or "
"contacts, but can be moved manually by other means such as code, "
"[AnimationMixer]s (with [member AnimationMixer.callback_mode_process] set to "
"[constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]), and "
"[RemoteTransform2D].\n"
"When [AnimatableBody2D] is moved, its linear and angular velocity are "
"estimated and used to affect other physics bodies in its path. This makes it "
"useful for moving platforms, doors, and other moving objects."
msgstr ""
"Анимируемое 2D физическое тело. Его нельзя перемещать внешними силами или "
"контактами, но можно перемещать вручную другими способами, такими как код, "
"[AnimationMixer]s (с [member AnimationMixer.callback_mode_process] "
"установленным на [constant "
"AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]) и "
"[RemoteTransform2D].\n"
"Когда [AnimatableBody2D] перемещается, его линейная и угловая скорости "
"оцениваются и используются для воздействия на другие физические тела на его "
"пути. Это делает его полезным для перемещения платформ, дверей и других "
"движущихся объектов."
msgid "Physics introduction"
msgstr "Введение в физику"
msgid "Troubleshooting physics issues"
msgstr "Устранение неполадок в физике"
msgid ""
"If [code]true[/code], the body's movement will be synchronized to the physics "
"frame. This is useful when animating movement via [AnimationPlayer], for "
"example on moving platforms. Do [b]not[/b] use together with [method "
"PhysicsBody2D.move_and_collide]."
msgstr ""
"Если [code]true[/code], движение тела будет синхронизировано с физическим "
"кадром. Это полезно при анимации движения через [AnimationPlayer], например, "
"на движущихся платформах. [b]Не[/b] используйте вместе с [method "
"PhysicsBody2D.move_and_collide]."
msgid ""
"A 3D physics body that can't be moved by external forces. When moved "
"manually, it affects other bodies in its path."
msgstr ""
"Физическое тело 3D, которое не может быть перемещено внешними силами. При "
"перемещении вручную оно влияет на другие тела на своем пути."
msgid ""
"An animatable 3D physics body. It can't be moved by external forces or "
"contacts, but can be moved manually by other means such as code, "
"[AnimationMixer]s (with [member AnimationMixer.callback_mode_process] set to "
"[constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]), and "
"[RemoteTransform3D].\n"
"When [AnimatableBody3D] is moved, its linear and angular velocity are "
"estimated and used to affect other physics bodies in its path. This makes it "
"useful for moving platforms, doors, and other moving objects."
msgstr ""
"Анимируемое физическое тело 3D. Его нельзя перемещать внешними силами или "
"контактами, но можно перемещать вручную другими способами, такими как код, "
"[AnimationMixer]s (с [member AnimationMixer.callback_mode_process] "
"установленным на [constant "
"AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]) и "
"[RemoteTransform3D].\n"
"При перемещении [AnimatableBody3D] его линейная и угловая скорости "
"оцениваются и используются для воздействия на другие физические тела на его "
"пути. Это делает его полезным для перемещения платформ, дверей и других "
"движущихся объектов."
msgid "3D Physics Tests Demo"
msgstr "Демонстрация 3D-физических тестов"
msgid "Third Person Shooter (TPS) Demo"
msgstr "Демонстрация шутера от третьего лица (TPS)"
msgid "3D Voxel Demo"
msgstr "Демоверсия 3D вокселей"
msgid ""
"If [code]true[/code], the body's movement will be synchronized to the physics "
"frame. This is useful when animating movement via [AnimationPlayer], for "
"example on moving platforms. Do [b]not[/b] use together with [method "
"PhysicsBody3D.move_and_collide]."
msgstr ""
"Если [code]true[/code], движение тела будет синхронизировано с физическим "
"кадром. Это полезно при анимации движения через [AnimationPlayer], например, "
"на движущихся платформах. Не [b][/b] используйте вместе с [method "
"PhysicsBody3D.move_and_collide]."
msgid ""
"Sprite node that contains multiple textures as frames to play for animation."
msgstr ""
"Узел спрайта, содержащий несколько текстур в качестве кадров для анимации."
msgid ""
"[AnimatedSprite2D] is similar to the [Sprite2D] node, except it carries "
"multiple textures as animation frames. Animations are created using a "
"[SpriteFrames] resource, which allows you to import image files (or a folder "
"containing said files) to provide the animation frames for the sprite. The "
"[SpriteFrames] resource can be configured in the editor via the SpriteFrames "
"bottom panel."
msgstr ""
"[AnimatedSprite2D] похож на узел [Sprite2D], за исключением того, что он "
"содержит несколько текстур в качестве кадров анимации. Анимации создаются с "
"использованием ресурса [SpriteFrames], который позволяет импортировать файлы "
"изображений (или папку, содержащую указанные файлы) для предоставления кадров "
"анимации для спрайта. Ресурс [SpriteFrames] можно настроить в редакторе через "
"нижнюю панель SpriteFrames."
msgid "2D Sprite animation"
msgstr "Анимация 2D спрайтов"
msgid "2D Dodge The Creeps Demo"
msgstr "2D Dodge The Creeps Демо"
msgid ""
"Returns the actual playing speed of current animation or [code]0[/code] if "
"not playing. This speed is the [member speed_scale] property multiplied by "
"[code]custom_speed[/code] argument specified when calling the [method play] "
"method.\n"
"Returns a negative value if the current animation is playing backwards."
msgstr ""
"Возвращает фактическую скорость воспроизведения текущей анимации или [code]0[/"
"code], если не воспроизводится. Эта скорость — свойство [member speed_scale], "
"умноженное на аргумент [code]custom_speed[/code], указанный при вызове метода "
"[method play].\n"
"Возвращает отрицательное значение, если текущая анимация воспроизводится в "
"обратном направлении."
msgid ""
"Returns [code]true[/code] if an animation is currently playing (even if "
"[member speed_scale] and/or [code]custom_speed[/code] are [code]0[/code])."
msgstr ""
"Возвращает [code]true[/code], если в данный момент воспроизводится анимация "
"(даже если [member speed_scale] и/или [code]custom_speed[/code] равны "
"[code]0[/code])."
msgid ""
"Pauses the currently playing animation. The [member frame] and [member "
"frame_progress] will be kept and calling [method play] or [method "
"play_backwards] without arguments will resume the animation from the current "
"playback position.\n"
"See also [method stop]."
msgstr ""
"Приостанавливает текущую воспроизводимую анимацию. [Member frame] и [member "
"frame_progress] будут сохранены, а вызов [method play] или [method "
"play_backwards] без аргументов возобновит анимацию с текущей позиции "
"воспроизведения.\n"
"См. также [method stop]."
msgid ""
"Plays the animation with key [param name]. If [param custom_speed] is "
"negative and [param from_end] is [code]true[/code], the animation will play "
"backwards (which is equivalent to calling [method play_backwards]).\n"
"If this method is called with that same animation [param name], or with no "
"[param name] parameter, the assigned animation will resume playing if it was "
"paused."
msgstr ""
"Воспроизводит анимацию с ключом [param name]. Если [param custom_speed] "
"отрицательный, а [param from_end] равен [code]true[/code], анимация будет "
"воспроизводиться в обратном направлении (что эквивалентно вызову [method "
"play_backwards]). \n"
"Если этот метод вызывается с той же анимацией [param name] или без параметра "
"[param name], назначенная анимация возобновит воспроизведение, если она была "
"приостановлена."
msgid ""
"Plays the animation with key [param name] in reverse.\n"
"This method is a shorthand for [method play] with [code]custom_speed = -1.0[/"
"code] and [code]from_end = true[/code], so see its description for more "
"information."
msgstr ""
"Воспроизводит анимацию с ключом [param name] в обратном порядке.\n"
"Этот метод является сокращением для [method play] с [code]custom_speed = "
"-1.0[/code] и [code]from_end = true[/code], поэтому см. его описание для "
"получения дополнительной информации."
msgid ""
"Sets [member frame] and [member frame_progress] to the given values. Unlike "
"setting [member frame], this method does not reset the [member "
"frame_progress] to [code]0.0[/code] implicitly.\n"
"[b]Example:[/b] Change the animation while keeping the same [member frame] "
"and [member frame_progress]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var current_frame = animated_sprite.get_frame()\n"
"var current_progress = animated_sprite.get_frame_progress()\n"
"animated_sprite.play(\"walk_another_skin\")\n"
"animated_sprite.set_frame_and_progress(current_frame, current_progress)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Устанавливает [member frame] и [member frame_progress] на заданные значения. "
"В отличие от установки [member frame], этот метод не сбрасывает [member "
"frame_progress] на [code]0.0[/code] неявно.\n"
"[b]Пример:[/b] Измените анимацию, сохранив те же [member frame] и [member "
"frame_progress]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var current_frame = animated_sprite.get_frame()\n"
"var current_progress = animated_sprite.get_frame_progress()\n"
"animated_sprite.play(\"walk_another_skin\")\n"
"animated_sprite.set_frame_and_progress(current_frame, current_progress)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Stops the currently playing animation. The animation position is reset to "
"[code]0[/code] and the [code]custom_speed[/code] is reset to [code]1.0[/"
"code]. See also [method pause]."
msgstr ""
"Останавливает текущую воспроизводимую анимацию. Позиция анимации сбрасывается "
"на [code]0[/code], а [code]custom_speed[/code] сбрасывается на [code]1.0[/"
"code]. См. также [method pause]."
msgid ""
"The current animation from the [member sprite_frames] resource. If this value "
"is changed, the [member frame] counter and the [member frame_progress] are "
"reset."
msgstr ""
"Текущая анимация из ресурса [member sprite_frames]. Если это значение "
"изменяется, то сбрасываются счетчик [member frame] и [member frame_progress]."
msgid "The key of the animation to play when the scene loads."
msgstr "Ключ анимации, воспроизводимой при загрузке сцены."
msgid ""
"If [code]true[/code], texture will be centered.\n"
"[b]Note:[/b] For games with a pixel art aesthetic, textures may appear "
"deformed when centered. This is caused by their position being between "
"pixels. To prevent this, set this property to [code]false[/code], or consider "
"enabling [member ProjectSettings.rendering/2d/snap/snap_2d_vertices_to_pixel] "
"and [member ProjectSettings.rendering/2d/snap/snap_2d_transforms_to_pixel]."
msgstr ""
"Если [code]true[/code], текстура будет центрирована.\n"
"[b]Примечание:[/b] В играх с пиксельной эстетикой текстуры могут выглядеть "
"деформированными при центрировании. Это вызвано их положением между "
"пикселями. Чтобы предотвратить это, установите это свойство на [code]false[/"
"code] или рассмотрите возможность включения [member ProjectSettings.rendering/"
"2d/snap/snap_2d_vertices_to_pixel] и [member ProjectSettings.rendering/2d/"
"snap/snap_2d_transforms_to_pixel]."
msgid "If [code]true[/code], texture is flipped horizontally."
msgstr "Если [code]true[/code], текстура отражена по горизонтали."
msgid "If [code]true[/code], texture is flipped vertically."
msgstr "Если [code]true[/code], текстура отражена по вертикали."
msgid ""
"The displayed animation frame's index. Setting this property also resets "
"[member frame_progress]. If this is not desired, use [method "
"set_frame_and_progress]."
msgstr ""
"Индекс отображаемого кадра анимации. Установка этого свойства также "
"сбрасывает [member frame_progress]. Если это нежелательно, используйте "
"[method set_frame_and_progress]."
msgid ""
"The progress value between [code]0.0[/code] and [code]1.0[/code] until the "
"current frame transitions to the next frame. If the animation is playing "
"backwards, the value transitions from [code]1.0[/code] to [code]0.0[/code]."
msgstr ""
"Значение прогресса между [code]0.0[/code] и [code]1.0[/code] до тех пор, пока "
"текущий кадр не перейдет к следующему кадру. Если анимация воспроизводится в "
"обратном направлении, значение переходит от [code]1.0[/code] к [code]0.0[/"
"code]."
msgid "The texture's drawing offset."
msgstr "Смещение текстуры."
msgid ""
"The speed scaling ratio. For example, if this value is [code]1[/code], then "
"the animation plays at normal speed. If it's [code]0.5[/code], then it plays "
"at half speed. If it's [code]2[/code], then it plays at double speed.\n"
"If set to a negative value, the animation is played in reverse. If set to "
"[code]0[/code], the animation will not advance."
msgstr ""
"Коэффициент масштабирования скорости. Например, если это значение равно "
"[code]1[/code], то анимация воспроизводится с нормальной скоростью. Если это "
"[code]0.5[/code], то она воспроизводится с половинной скоростью. Если это "
"[code]2[/code], то она воспроизводится с двойной скоростью.\n"
"Если установлено отрицательное значение, анимация воспроизводится в обратном "
"направлении. Если установлено значение [code]0[/code], анимация не будет "
"продвигаться."
msgid ""
"The [SpriteFrames] resource containing the animation(s). Allows you the "
"option to load, edit, clear, make unique and save the states of the "
"[SpriteFrames] resource."
msgstr ""
"Ресурс [SpriteFrames], содержащий анимацию(и). Позволяет загружать, "
"редактировать, очищать, делать уникальными и сохранять состояния ресурса "
"[SpriteFrames]."
msgid "Emitted when [member animation] changes."
msgstr "Вызывается при изменении [member animation]."
msgid ""
"Emitted when the animation reaches the end, or the start if it is played in "
"reverse. When the animation finishes, it pauses the playback.\n"
"[b]Note:[/b] This signal is not emitted if an animation is looping."
msgstr ""
"Выдается, когда анимация достигает конца или начала, если она воспроизводится "
"в обратном порядке. Когда анимация заканчивается, воспроизведение "
"приостанавливается.\n"
"[b]Примечание:[/b] Этот сигнал не выдается, если анимация зациклена."
msgid "Emitted when the animation loops."
msgstr "Вызывается при зацикливании анимации."
msgid "Emitted when [member frame] changes."
msgstr "Выдается при изменении [member frame]."
msgid "Emitted when [member sprite_frames] changes."
msgstr "Вызывается при изменении [member sprite_frames]."
msgid ""
"2D sprite node in 3D world, that can use multiple 2D textures for animation."
msgstr ""
"Узел 2D спрайта в 3D мире, который может использовать несколько 2D текстур "
"для анимации."
msgid ""
"[AnimatedSprite3D] is similar to the [Sprite3D] node, except it carries "
"multiple textures as animation [member sprite_frames]. Animations are created "
"using a [SpriteFrames] resource, which allows you to import image files (or a "
"folder containing said files) to provide the animation frames for the sprite. "
"The [SpriteFrames] resource can be configured in the editor via the "
"SpriteFrames bottom panel."
msgstr ""
"[AnimatedSprite3D] похож на узел [Sprite3D], за исключением того, что он "
"содержит несколько текстур в качестве анимации [member sprite_frames]. "
"Анимации создаются с использованием ресурса [SpriteFrames], который позволяет "
"импортировать файлы изображений (или папку, содержащую указанные файлы) для "
"предоставления кадров анимации для спрайта. Ресурс [SpriteFrames] можно "
"настроить в редакторе через нижнюю панель SpriteFrames."
msgid "2D Sprite animation (also applies to 3D)"
msgstr "Анимация 2D-спрайта (также применимо к 3D)"
msgid ""
"This class does not work properly in current versions and may be removed in "
"the future. There is currently no equivalent workaround."
msgstr ""
"Этот класс не работает должным образом в текущих версиях и может быть удален "
"в будущем. В настоящее время нет эквивалентного обходного пути."
msgid "Proxy texture for simple frame-based animations."
msgstr "Прокси-текстура для простых покадровых анимаций."
msgid ""
"[AnimatedTexture] is a resource format for frame-based animations, where "
"multiple textures can be chained automatically with a predefined delay for "
"each frame. Unlike [AnimationPlayer] or [AnimatedSprite2D], it isn't a "
"[Node], but has the advantage of being usable anywhere a [Texture2D] resource "
"can be used, e.g. in a [TileSet].\n"
"The playback of the animation is controlled by the [member speed_scale] "
"property, as well as each frame's duration (see [method set_frame_duration]). "
"The animation loops, i.e. it will restart at frame 0 automatically after "
"playing the last frame.\n"
"[AnimatedTexture] currently requires all frame textures to have the same "
"size, otherwise the bigger ones will be cropped to match the smallest one.\n"
"[b]Note:[/b] AnimatedTexture doesn't support using [AtlasTexture]s. Each "
"frame needs to be a separate [Texture2D].\n"
"[b]Warning:[/b] The current implementation is not efficient for the modern "
"renderers."
msgstr ""
"[AnimatedTexture] — это формат ресурса для покадровых анимаций, где несколько "
"текстур могут быть автоматически сцеплены с предопределенной задержкой для "
"каждого кадра. В отличие от [AnimationPlayer] или [AnimatedSprite2D], не "
"является [Node], и имеет преимущество в том, что может быть использован "
"везде, где может быть использован ресурс [Texture2D], например в [TileSet].\n"
"Воспроизведение анимации контролируется свойством [member speed_scale], а "
"также опциональной задержкой каждого кадра (см. [method set_frame_duration]). "
"Анимация зациклена, т.е. после проигрывания последнего кадра она "
"автоматически перезапускается на 0 кадр.\n"
"В настоящее время [AnimatedTexture] требует, чтобы все текстуры кадров имели "
"одинаковый размер, в противном случае более крупные будут обрезаны в "
"соответствии с наименьшим кадром.\n"
"[b]Примечание:[/b] [AnimatedTexture] не поддерживает [AtlasTexture]. Каждый "
"кадр должен быть отдельным [Texture2D].\n"
"[b]Предупреждение:[/b] Текущая реализация для современных методов отрисовки "
"неэффективна."
msgid "Returns the given [param frame]'s duration, in seconds."
msgstr "Возвращает длительность указанного [param frame] в секундах."
msgid "Returns the given frame's [Texture2D]."
msgstr "Возвращает [Texture2D] указанного кадра."
msgid ""
"Sets the duration of any given [param frame]. The final duration is affected "
"by the [member speed_scale]. If set to [code]0[/code], the frame is skipped "
"during playback."
msgstr ""
"Устанавливает длительность любого заданного [param frame]. Окончательная "
"длительность зависит от [member speed_scale]. Если установлено значение "
"[code]0[/code], кадр пропускается во время воспроизведения."
msgid ""
"Assigns a [Texture2D] to the given frame. Frame IDs start at 0, so the first "
"frame has ID 0, and the last frame of the animation has ID [member frames] - "
"1.\n"
"You can define any number of textures up to [constant MAX_FRAMES], but keep "
"in mind that only frames from 0 to [member frames] - 1 will be part of the "
"animation."
msgstr ""
"Назначает [Texture2D] данному кадру. Идентификаторы кадров начинаются с 0, "
"поэтому первый кадр имеет идентификатор 0, а последний кадр анимации имеет "
"идентификатор [member frames] - 1.\n"
"Вы можете определить любое количество текстур вплоть до [constant "
"MAX_FRAMES], но имейте в виду, что только кадры от 0 до [member frames] - 1 "
"будут частью анимации."
msgid ""
"Sets the currently visible frame of the texture. Setting this frame while "
"playing resets the current frame time, so the newly selected frame plays for "
"its whole configured frame duration."
msgstr ""
"Устанавливает текущий видимый кадр текстуры. Установка этого кадра во время "
"воспроизведения сбрасывает текущее время кадра, поэтому вновь выбранный кадр "
"воспроизводится в течение всей настроенной длительности кадра."
msgid ""
"Number of frames to use in the animation. While you can create the frames "
"independently with [method set_frame_texture], you need to set this value for "
"the animation to take new frames into account. The maximum number of frames "
"is [constant MAX_FRAMES]."
msgstr ""
"Количество кадров, используемых в анимации. Хотя кадры можно создавать "
"самостоятельно с помощью [method set_frame_texture], необходимо установить "
"это значение, чтобы анимация учитывала новые кадры. Максимальное количество "
"кадров - [constant MAX_FRAMES]."
msgid ""
"If [code]true[/code], the animation will only play once and will not loop "
"back to the first frame after reaching the end. Note that reaching the end "
"will not set [member pause] to [code]true[/code]."
msgstr ""
"Если [code]true[/code], анимация будет воспроизводиться только один раз и не "
"будет возвращаться к первому кадру после достижения конца. Обратите внимание, "
"что достижение конца не установит [member pause] в [code]true[/code]."
msgid ""
"If [code]true[/code], the animation will pause where it currently is (i.e. at "
"[member current_frame]). The animation will continue from where it was paused "
"when changing this property to [code]false[/code]."
msgstr ""
"Если [code]true[/code], анимация приостанавливается там, где она находится в "
"данный момент (т.е. на [member current_frame]). При изменении этого свойства "
"на [code]false[/code] анимация продолжится с того места, где она была "
"приостановлена."
msgid ""
"The animation speed is multiplied by this value. If set to a negative value, "
"the animation is played in reverse."
msgstr ""
"Скорость анимации умножается на это значение. Если задано отрицательное "
"значение, анимация воспроизводится в обратном порядке."
msgid ""
"The maximum number of frames supported by [AnimatedTexture]. If you need more "
"frames in your animation, use [AnimationPlayer] or [AnimatedSprite2D]."
msgstr ""
"Максимальное количество кадров, поддерживаемое [AnimatedTexture]. Если вам "
"нужно больше кадров в анимации, используйте [AnimationPlayer] или "
"[AnimatedSprite2D]."
msgid "Holds data that can be used to animate anything in the engine."
msgstr ""
"Содержит данные, которые можно использовать для анимации чего угодно в движке."
msgid ""
"This resource holds data that can be used to animate anything in the engine. "
"Animations are divided into tracks and each track must be linked to a node. "
"The state of that node can be changed through time, by adding timed keys "
"(events) to the track.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# This creates an animation that makes the node \"Enemy\" move to the right "
"by\n"
"# 100 pixels in 2.0 seconds.\n"
"var animation = Animation.new()\n"
"var track_index = animation.add_track(Animation.TYPE_VALUE)\n"
"animation.track_set_path(track_index, \"Enemy:position:x\")\n"
"animation.track_insert_key(track_index, 0.0, 0)\n"
"animation.track_insert_key(track_index, 2.0, 100)\n"
"animation.length = 2.0\n"
"[/gdscript]\n"
"[csharp]\n"
"// This creates an animation that makes the node \"Enemy\" move to the right "
"by\n"
"// 100 pixels in 2.0 seconds.\n"
"var animation = new Animation();\n"
"int trackIndex = animation.AddTrack(Animation.TrackType.Value);\n"
"animation.TrackSetPath(trackIndex, \"Enemy:position:x\");\n"
"animation.TrackInsertKey(trackIndex, 0.0f, 0);\n"
"animation.TrackInsertKey(trackIndex, 2.0f, 100);\n"
"animation.Length = 2.0f;\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Animations are just data containers, and must be added to nodes such as an "
"[AnimationPlayer] to be played back. Animation tracks have different types, "
"each with its own set of dedicated methods. Check [enum TrackType] to see "
"available types.\n"
"[b]Note:[/b] For 3D position/rotation/scale, using the dedicated [constant "
"TYPE_POSITION_3D], [constant TYPE_ROTATION_3D] and [constant TYPE_SCALE_3D] "
"track types instead of [constant TYPE_VALUE] is recommended for performance "
"reasons."
msgstr ""
"Этот ресурс содержит данные, которые можно использовать для анимации чего "
"угодно в движке. Анимации делятся на треки, и каждый трек должен быть связан "
"с узлом. Состояние этого узла можно изменять с течением времени, добавляя к "
"треку временные ключи (события).\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Это создает анимацию, которая заставляет узел «Enemy» двигаться вправо\n"
"# 100 пикселей за 2,0 секунды.\n"
"var animation = Animation.new()\n"
"var track_index = animation.add_track(Animation.TYPE_VALUE)\n"
"animation.track_set_path(track_index, \"Enemy:position:x\")\n"
"animation.track_insert_key(track_index, 0.0, 0)\n"
"animation.track_insert_key(track_index, 2.0, 100)\n"
"animation.length = 2.0\n"
"[/gdscript]\n"
"[csharp]\n"
"// Это создает анимацию, которая заставляет узел «Enemy» двигаться вправо\n"
"// 100 пикселей за 2,0 секунды.\n"
"var animation = new Animation();\n"
"int trackIndex = animation.AddTrack(Animation.TrackType.Value);\n"
"animation.TrackSetPath(trackIndex, \"Enemy:position:x\");\n"
"animation.TrackInsertKey(trackIndex, 0.0f, 0);\n"
"animation.TrackInsertKey(trackIndex, 2.0f, 100);\n"
"animation.Length = 2.0f;\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Анимации — это всего лишь контейнеры данных, и их необходимо добавлять к "
"узлам, таким как [AnimationPlayer], чтобы воспроизводить их. Треки анимации "
"имеют разные типы, каждый со своим собственным набором выделенных методов. "
"Проверьте [enum TrackType], чтобы увидеть доступные типы.\n"
"[b]Примечание:[/b] Для 3D-положения/вращения/масштаба рекомендуется "
"использовать выделенные типы дорожек [constant TYPE_POSITION_3D], [constant "
"TYPE_ROTATION_3D] и [constant TYPE_SCALE_3D] вместо [constant TYPE_VALUE] из "
"соображений производительности."
msgid "Animation documentation index"
msgstr "Индекс документации по анимации"
msgid "Adds a marker to this Animation."
msgstr "Добавляет маркер к этой анимации."
msgid "Adds a track to the Animation."
msgstr "Добавляет дорожку в анимацию."
msgid ""
"Returns the animation name at the key identified by [param key_idx]. The "
"[param track_idx] must be the index of an Animation Track."
msgstr ""
"Возвращает имя анимации по ключу, идентифицированному [param key_idx]. [param "
"track_idx] должен быть индексом дорожки анимации."
msgid ""
"Inserts a key with value [param animation] at the given [param time] (in "
"seconds). The [param track_idx] must be the index of an Animation Track."
msgstr ""
"Вставляет ключ со значением [param animation] в указанное [param time] (в "
"секундах). [param track_idx] должен быть индексом анимационной дорожки."
msgid ""
"Sets the key identified by [param key_idx] to value [param animation]. The "
"[param track_idx] must be the index of an Animation Track."
msgstr ""
"Устанавливает ключ, идентифицированный [param key_idx], в значение [param "
"animation]. [param track_idx] должен быть индексом анимационной дорожки."
msgid ""
"Returns the end offset of the key identified by [param key_idx]. The [param "
"track_idx] must be the index of an Audio Track.\n"
"End offset is the number of seconds cut off at the ending of the audio stream."
msgstr ""
"Возвращает конечное смещение ключа, идентифицированного [param key_idx]. "
"[param track_idx] должен быть индексом аудиодорожки.\n"
"Конечное смещение — это количество секунд, обрезанных в конце аудиопотока."
msgid ""
"Returns the start offset of the key identified by [param key_idx]. The [param "
"track_idx] must be the index of an Audio Track.\n"
"Start offset is the number of seconds cut off at the beginning of the audio "
"stream."
msgstr ""
"Возвращает начальное смещение ключа, идентифицированного [param key_idx]. "
"[param track_idx] должен быть индексом аудиодорожки.\n"
"Начальное смещение — это количество секунд, отрезанных в начале аудиопотока."
msgid ""
"Returns the audio stream of the key identified by [param key_idx]. The [param "
"track_idx] must be the index of an Audio Track."
msgstr ""
"Возвращает аудиопоток ключа, идентифицированного [param key_idx]. [param "
"track_idx] должен быть индексом аудиодорожки."
msgid ""
"Inserts an Audio Track key at the given [param time] in seconds. The [param "
"track_idx] must be the index of an Audio Track.\n"
"[param stream] is the [AudioStream] resource to play. [param start_offset] is "
"the number of seconds cut off at the beginning of the audio stream, while "
"[param end_offset] is at the ending."
msgstr ""
"Вставляет ключ аудиодорожки в указанное [param time] в секундах. [param "
"track_idx] должен быть индексом аудиодорожки.\n"
"[param stream] — ресурс [AudioStream] для воспроизведения. [param "
"start_offset] — количество секунд, обрезанных в начале аудиопотока, а [param "
"end_offset] — в конце."
msgid ""
"Returns [code]true[/code] if the track at [param track_idx] will be blended "
"with other animations."
msgstr ""
"Возвращает [code]true[/code], если трек в [param track_idx] будет смешан с "
"другими анимациями."
msgid ""
"Sets the end offset of the key identified by [param key_idx] to value [param "
"offset]. The [param track_idx] must be the index of an Audio Track."
msgstr ""
"Устанавливает конечное смещение ключа, идентифицированного [param key_idx], "
"на значение [param offset]. [param track_idx] должен быть индексом "
"аудиодорожки."
msgid ""
"Sets the start offset of the key identified by [param key_idx] to value "
"[param offset]. The [param track_idx] must be the index of an Audio Track."
msgstr ""
"Устанавливает начальное смещение ключа, идентифицированного [param key_idx], "
"на значение [param offset]. [param track_idx] должен быть индексом "
"аудиодорожки."
msgid ""
"Sets the stream of the key identified by [param key_idx] to value [param "
"stream]. The [param track_idx] must be the index of an Audio Track."
msgstr ""
"Устанавливает поток ключа, идентифицированного [param key_idx], на значение "
"[param stream]. [param track_idx] должен быть индексом аудиодорожки."
msgid ""
"Sets whether the track will be blended with other animations. If [code]true[/"
"code], the audio playback volume changes depending on the blend value."
msgstr ""
"Устанавливает, будет ли трек смешиваться с другими анимациями. Если "
"[code]true[/code], громкость воспроизведения звука меняется в зависимости от "
"значения смешивания."
msgid ""
"Returns the in handle of the key identified by [param key_idx]. The [param "
"track_idx] must be the index of a Bezier Track."
msgstr ""
"Возвращает дескриптор ключа, идентифицированного [param key_idx]. [param "
"track_idx] должен быть индексом дорожки Безье."
msgid ""
"Returns the out handle of the key identified by [param key_idx]. The [param "
"track_idx] must be the index of a Bezier Track."
msgstr ""
"Возвращает выходной дескриптор ключа, идентифицированного [param key_idx]. "
"[param track_idx] должен быть индексом дорожки Безье."
msgid ""
"Returns the value of the key identified by [param key_idx]. The [param "
"track_idx] must be the index of a Bezier Track."
msgstr ""
"Возвращает значение ключа, идентифицированного [param key_idx]. [param "
"track_idx] должен быть индексом дорожки Безье."
msgid ""
"Inserts a Bezier Track key at the given [param time] in seconds. The [param "
"track_idx] must be the index of a Bezier Track.\n"
"[param in_handle] is the left-side weight of the added Bezier curve point, "
"[param out_handle] is the right-side one, while [param value] is the actual "
"value at this point."
msgstr ""
"Вставляет ключ дорожки Безье в указанное [param time] в секундах. [param "
"track_idx] должен быть индексом дорожки Безье.\n"
"[param in_handle] — вес левой стороны добавленной точки кривой Безье, [param "
"out_handle] — вес правой стороны, а [param value] — фактическое значение в "
"этой точке."
msgid ""
"Returns the interpolated value at the given [param time] (in seconds). The "
"[param track_idx] must be the index of a Bezier Track."
msgstr ""
"Возвращает интерполированное значение в указанном [param time] (в секундах). "
"[param track_idx] должен быть индексом дорожки Безье."
msgid ""
"Sets the in handle of the key identified by [param key_idx] to value [param "
"in_handle]. The [param track_idx] must be the index of a Bezier Track."
msgstr ""
"Устанавливает входной дескриптор ключа, идентифицированного [param key_idx], "
"на значение [param in_handle]. [param track_idx] должен быть индексом дорожки "
"Безье."
msgid ""
"Sets the out handle of the key identified by [param key_idx] to value [param "
"out_handle]. The [param track_idx] must be the index of a Bezier Track."
msgstr ""
"Устанавливает выходной дескриптор ключа, идентифицированного [param key_idx], "
"на значение [param out_handle]. [param track_idx] должен быть индексом "
"дорожки Безье."
msgid ""
"Sets the value of the key identified by [param key_idx] to the given value. "
"The [param track_idx] must be the index of a Bezier Track."
msgstr ""
"Устанавливает значение ключа, идентифицированного [param key_idx], на "
"заданное значение. [param track_idx] должен быть индексом дорожки Безье."
msgid "Inserts a key in a given blend shape track. Returns the key index."
msgstr "Вставляет ключ в заданную дорожку blend shape. Возвращает индекс ключа."
msgid ""
"Returns the interpolated blend shape value at the given time (in seconds). "
"The [param track_idx] must be the index of a blend shape track.\n"
"[b]Note:[/b] If [param backward] is [code]true[/code], the keys are retrieved "
"on the reversed timeline. See also [method value_track_interpolate]."
msgstr ""
"Возвращает интерполированное значение формы смешивания (blend shape) в "
"заданный момент времени (в секундах). Параметр [param track_idx] должен быть "
"индексом дорожки формы смешивания.\n"
"[b]Примечание:[/b] Если параметр [param backward] имеет значение [code]true[/"
"code], то ключевые кадры считываются на временной шкале, проигрываемой в "
"обратном направлении. См. также [method value_track_interpolate]."
msgid "Clear the animation (clear all tracks and reset all)."
msgstr "Очистить анимацию (удалить все дорожки и сбросить всё)."
msgid ""
"Compress the animation and all its tracks in-place. This will make [method "
"track_is_compressed] return [code]true[/code] once called on this "
"[Animation]. Compressed tracks require less memory to be played, and are "
"designed to be used for complex 3D animations (such as cutscenes) imported "
"from external 3D software. Compression is lossy, but the difference is "
"usually not noticeable in real world conditions.\n"
"[b]Note:[/b] Compressed tracks have various limitations (such as not being "
"editable from the editor), so only use compressed animations if you actually "
"need them."
msgstr ""
"Сжать анимацию и все ее дорожки на месте. Это заставит [method "
"track_is_compressed] возвращать [code]true[/code] после вызова этой "
"[Animation]. Сжатые дорожки требуют меньше памяти для воспроизведения и "
"предназначены для использования в сложных 3D-анимациях (например, катсценах), "
"импортированных из внешнего 3D-программного обеспечения. Сжатие происходит с "
"потерями, но разница обычно не заметна в реальных условиях.\n"
"[b]Примечание:[/b] Сжатые дорожки имеют различные ограничения (например, "
"невозможность редактирования в редакторе), поэтому используйте сжатые "
"анимации только в том случае, если они вам действительно нужны."
msgid ""
"Adds a new track to [param to_animation] that is a copy of the given track "
"from this animation."
msgstr ""
"Добавляет новый трек в [param to_animation], который является копией "
"указанного трека из этой анимации."
msgid ""
"Returns the index of the specified track. If the track is not found, return "
"-1."
msgstr ""
"Возвращает индекс указанной дорожки. Если дорожка не найдена, возвращает -1."
msgid "Returns the name of the marker located at the given time."
msgstr "Возвращает имя маркера, расположенного в указанное время."
msgid "Returns the given marker's color."
msgstr "Возвращает цвет указанного маркера."
msgid "Returns every marker in this Animation, sorted ascending by time."
msgstr ""
"Возвращает все маркеры в этой анимации, отсортированные по возрастанию "
"времени."
msgid "Returns the given marker's time."
msgstr "Возвращает время указанного маркера."
msgid ""
"Returns the closest marker that comes after the given time. If no such marker "
"exists, an empty string is returned."
msgstr ""
"Возвращает ближайший маркер, который следует после указанного времени. Если "
"такого маркера не существует, возвращается пустая строка."
msgid ""
"Returns the closest marker that comes before the given time. If no such "
"marker exists, an empty string is returned."
msgstr ""
"Возвращает ближайший маркер, который предшествует указанному времени. Если "
"такого маркера не существует, возвращается пустая строка."
msgid "Returns the amount of tracks in the animation."
msgstr "Возвращает количество дорожек в анимации."
msgid ""
"Returns [code]true[/code] if this Animation contains a marker with the given "
"name."
msgstr ""
"Возвращает [code]true[/code], если эта анимация содержит маркер с указанным "
"именем."
msgid "Returns the method name of a method track."
msgstr "Возвращает имя метода для дорожки методов."
msgid ""
"Returns the arguments values to be called on a method track for a given key "
"in a given track."
msgstr ""
"Возвращает значения аргументов, которые необходимо вызвать в дорожке метода "
"для заданного ключа в заданной дорожке."
msgid ""
"Optimize the animation and all its tracks in-place. This will preserve only "
"as many keys as are necessary to keep the animation within the specified "
"bounds."
msgstr ""
"Оптимизируйте анимацию и все ее дорожки на месте. Это сохранит только столько "
"ключей, сколько необходимо для удержания анимации в указанных границах."
msgid "Inserts a key in a given 3D position track. Returns the key index."
msgstr "Вставляет ключ в заданную 3D-трек позиции. Возвращает индекс ключа."
msgid ""
"Returns the interpolated position value at the given time (in seconds). The "
"[param track_idx] must be the index of a 3D position track.\n"
"[b]Note:[/b] If [param backward] is [code]true[/code], the keys are retrieved "
"on the reversed timeline. See also [method value_track_interpolate]."
msgstr ""
"Возвращает интерполированное значение позиции в заданный момент времени (в "
"секундах). Параметр [param track_idx] должен быть индексом трека 3D-позиции.\n"
"[b]Примечание:[/b] Если [param backward] имеет значение [code]true[/code], "
"ключевые кадры считываются на временной шкале, проигрываемой в обратном "
"направлении. См. также [method value_track_interpolate]."
msgid "Removes the marker with the given name from this Animation."
msgstr "Удаляет маркер с указанным именем из этой анимации."
msgid "Removes a track by specifying the track index."
msgstr "Удаляет дорожку, указав индекс дорожки."
msgid "Inserts a key in a given 3D rotation track. Returns the key index."
msgstr "Вставляет ключ в заданную 3D-дорожку вращения. Возвращает индекс ключа."
msgid ""
"Returns the interpolated rotation value at the given time (in seconds). The "
"[param track_idx] must be the index of a 3D rotation track.\n"
"[b]Note:[/b] If [param backward] is [code]true[/code], the keys are retrieved "
"on the reversed timeline. See also [method value_track_interpolate]."
msgstr ""
"Возвращает интерполированное значение вращения в заданный момент времени (в "
"секундах). Параметр [param track_idx] должен быть индексом трека вращения в "
"3D.\n"
"[b]Примечание:[/b] Если [param backward] имеет значение [code]true[/code], "
"ключевые кадры извлекаются на временной шкале, проигрываемой в обратном "
"направлении. См. также [method value_track_interpolate]."
msgid "Inserts a key in a given 3D scale track. Returns the key index."
msgstr "Вставляет ключ в заданную 3D-шкалу трека. Возвращает индекс ключа."
msgid ""
"Returns the interpolated scale value at the given time (in seconds). The "
"[param track_idx] must be the index of a 3D scale track.\n"
"[b]Note:[/b] If [param backward] is [code]true[/code], the keys are retrieved "
"on the reversed timeline. See also [method value_track_interpolate]."
msgstr ""
"Возвращает интерполированное значение масштаба в заданный момент времени (в "
"секундах). Параметр [param track_idx] должен быть индексом трека "
"масштабирования (3D scale track).\n"
"[b]Примечание:[/b] Если [param backward] имеет значение [code]true[/code], то "
"ключевые кадры извлекаются на временной шкале, проигрываемой в обратном "
"направлении. См. также [method value_track_interpolate]."
msgid "Sets the given marker's color."
msgstr "Устанавливает цвет указанного маркера."
msgid ""
"Finds the key index by time in a given track. Optionally, only find it if the "
"approx/exact time is given.\n"
"If [param limit] is [code]true[/code], it does not return keys outside the "
"animation range.\n"
"If [param backward] is [code]true[/code], the direction is reversed in "
"methods that rely on one directional processing.\n"
"For example, in case [param find_mode] is [constant FIND_MODE_NEAREST], if "
"there is no key in the current position just after seeked, the first key "
"found is retrieved by searching before the position, but if [param backward] "
"is [code]true[/code], the first key found is retrieved after the position."
msgstr ""
"Находит индекс ключа по времени в заданном треке. При желании находит его "
"только в том случае, если указано приблизительное/точное время.\n"
"Если [param limit] равно [code]true[/code], он не возвращает ключи за "
"пределами диапазона анимации.\n"
"Если [param backward] равно [code]true[/code], направление меняется на "
"противоположное в методах, которые полагаются на однонаправленную обработку.\n"
"Например, в случае, если [param find_mode] равно [constant "
"FIND_MODE_NEAREST], если в текущей позиции сразу после искомого нет ключа, "
"первый найденный ключ извлекается путем поиска перед позицией, но если [param "
"backward] равно [code]true[/code], первый найденный ключ извлекается после "
"позиции."
msgid ""
"Returns [code]true[/code] if the track at [param track_idx] wraps the "
"interpolation loop. New tracks wrap the interpolation loop by default."
msgstr ""
"Возвращает [code]true[/code], если дорожка в [param track_idx] оборачивает "
"цикл интерполяции. Новые дорожки оборачивают цикл интерполяции по умолчанию."
msgid "Returns the interpolation type of a given track."
msgstr "Возвращает тип интерполяции данной дорожки."
msgid "Returns the number of keys in a given track."
msgstr "Возвращает количество ключей в заданной дорожке."
msgid "Returns the time at which the key is located."
msgstr "Возвращает время, в котором расположен ключ."
msgid ""
"Returns the transition curve (easing) for a specific key (see the built-in "
"math function [method @GlobalScope.ease])."
msgstr ""
"Возвращает кривую перехода (плавность) для определенной клавиши (см. "
"встроенную математическую функцию [method @GlobalScope.ease])."
msgid "Returns the value of a given key in a given track."
msgstr "Возвращает значение заданной клавиши в заданной дорожке."
msgid ""
"Gets the path of a track. For more information on the path format, see "
"[method track_set_path]."
msgstr ""
"Получает путь к дорожке. Для получения дополнительной информации о формате "
"пути см. [ метод track_set_path]."
msgid "Gets the type of a track."
msgstr "Получает тип дорожки."
msgid "Inserts a generic key in a given track. Returns the key index."
msgstr "Вставляет общий ключ в указанный трек. Возвращает индекс ключа."
msgid ""
"Returns [code]true[/code] if the track is compressed, [code]false[/code] "
"otherwise. See also [method compress]."
msgstr ""
"Возвращает [code]true[/code], если трек сжат, [code]false[/code] в противном "
"случае. См. также [method compress]."
msgid ""
"Returns [code]true[/code] if the track at index [param track_idx] is enabled."
msgstr ""
"Возвращает [code]true[/code], если трек с индексом [param track_idx] включен."
msgid ""
"Returns [code]true[/code] if the given track is imported. Else, return "
"[code]false[/code]."
msgstr ""
"Возвращает [code]true[/code], если указанная дорожка импортирована. В "
"противном случае возвращает [code]false[/code]."
msgid "Moves a track down."
msgstr "Перемещает дорожку вниз."
msgid ""
"Changes the index position of track [param track_idx] to the one defined in "
"[param to_idx]."
msgstr ""
"Изменяет индексную позицию дорожки [param track_idx] на ту, которая "
"определена в [param to_idx]."
msgid "Moves a track up."
msgstr "Перемещает дорожку вверх."
msgid "Removes a key by index in a given track."
msgstr "Удаляет ключ по индексу из данной дорожки."
msgid "Removes a key at [param time] in a given track."
msgstr "Удаляет ключ в [param time] в указанном треке."
msgid "Enables/disables the given track. Tracks are enabled by default."
msgstr "Включает/отключает данную дорожку. По умолчанию дорожки включены."
msgid "Sets the given track as imported or not."
msgstr "Устанавливает, импортирован ли данная дорожка."
msgid ""
"If [code]true[/code], the track at [param track_idx] wraps the interpolation "
"loop.\n"
"[b]Note:[/b] If [param interpolation] is [code]true[/code], the animation "
"interpolates between the last and first key of the track. If the last key is "
"placed exactly at the end of the animation, it is ignored as being placed "
"outside the looped animation range."
msgstr ""
"Если установлено значение [code]true[/code], то для трека с индексом [param "
"track_idx] включается циклическая интерполяция.\n"
"[b]Примечание:[/b] Если параметр [param interpolation] имеет значение "
"[code]true[/code], анимация выполняет интерполяцию между последним и первым "
"ключевыми кадрами трека. Если последний ключевой кадр расположен точно в "
"конце анимации, он игнорируется, поскольку считается находящимся за пределами "
"диапазона циклической анимации."
msgid "Sets the interpolation type of a given track."
msgstr "Устанавливает тип интерполяции заданного трека."
msgid "Sets the time of an existing key."
msgstr "Устанавливает время существующего ключа."
msgid ""
"Sets the transition curve (easing) for a specific key (see the built-in math "
"function [method @GlobalScope.ease])."
msgstr ""
"Устанавливает кривую перехода (плавность) для определенной клавиши (см. "
"встроенную математическую функцию [method @GlobalScope.ease])."
msgid "Sets the value of an existing key."
msgstr "Устанавливает значение существующего ключа."
msgid ""
"Sets the path of a track. Paths must be valid scene-tree paths to a node and "
"must be specified starting from the [member AnimationMixer.root_node] that "
"will reproduce the animation. Tracks that control properties or bones must "
"append their name after the path, separated by [code]\":\"[/code].\n"
"For example, [code]\"character/skeleton:ankle\"[/code] or [code]\"character/"
"mesh:transform/local\"[/code]."
msgstr ""
"Устанавливает путь дорожки. Пути должны быть допустимыми путями дерева сцены "
"к узлу и должны быть указаны, начиная с [member AnimationMixer.root_node], "
"который будет воспроизводить анимацию. Дорожки, которые управляют свойствами "
"или костями, должны добавлять свое имя после пути, разделенного [code]\":\"[/"
"code]. \n"
"Например, [code]\"character/skeleton:ankle\"[/code] или [code]\"character/"
"mesh:transform/local\"[/code]."
msgid ""
"Swaps the track [param track_idx]'s index position with the track [param "
"with_idx]."
msgstr ""
"Меняет индексную позицию дорожки [param track_idx] на дорожку [param "
"with_idx]."
msgid "Returns the update mode of a value track."
msgstr "Возвращает режим обновления дорожки значений."
msgid ""
"Returns the interpolated value at the given time (in seconds). The [param "
"track_idx] must be the index of a value track.\n"
"If [param backward] is [code]true[/code], the keys are retrieved on the "
"reversed timeline, so the base key is the key after [param time_sec]. This "
"changes the result only for [constant UPDATE_DISCRETE] and [constant "
"INTERPOLATION_NEAREST]; the other interpolation types give the same result as "
"forward.\n"
"[b]Note:[/b] [AnimationMixer] always passes [code]false[/code] for continuous "
"tracks with playback API."
msgstr ""
"Возвращает интерполированное значение в заданный момент времени (в секундах). "
"Параметр [param track_idx] должен быть индексом трека значений.\n"
"Если параметр [param backward] имеет значение [code]true[/code], то ключевые "
"кадры извлекаются на обратной временной шкале — в этом случае базовым "
"считается кадр, следующий за моментом [param time_sec]. Это влияет на "
"результат только при использовании [constant UPDATE_DISCRETE] и [constant "
"INTERPOLATION_NEAREST]; для остальных типов интерполяции результат будет "
"таким же, как и при прямом воспроизведении.\n"
"[b]Примечание:[/b] При использовании API воспроизведения [AnimationMixer] "
"всегда передает [code]false[/code] для непрерывных (continuous) треков."
msgid "Sets the update mode of a value track."
msgstr "Устанавливает режим обновления дорожки значений."
msgid ""
"Returns [code]true[/code] if the capture track is included. This is a cached "
"readonly value for performance."
msgstr ""
"Возвращает [code]true[/code], если трек захвата включен. Это кэшированное "
"значение только для чтения для производительности."
msgid ""
"The total length of the animation (in seconds).\n"
"[b]Note:[/b] Length is not delimited by the last key, as this one may be "
"before or after the end to ensure correct interpolation and looping."
msgstr ""
"Общая длина анимации (в секундах).\n"
"[b]Замечание:[/b] Длина не ограничена последним ключом, так как он может "
"находиться до или после конца для обеспечения корректной интерполяции и "
"зацикливания."
msgid ""
"Determines the behavior of both ends of the animation timeline during "
"animation playback. This indicates whether and how the animation should be "
"restarted, and is also used to correctly interpolate animation cycles."
msgstr ""
"Определяет поведение обоих концов временной шкалы анимации во время её "
"воспроизведения. Это указывает, следует ли перезапускать анимацию и как это "
"сделать, а также используется для корректной интерполяции циклов анимации."
msgid "The animation step value."
msgstr "Значение шага анимации."
msgid ""
"Value tracks set values in node properties, but only those which can be "
"interpolated. For 3D position/rotation/scale, using the dedicated [constant "
"TYPE_POSITION_3D], [constant TYPE_ROTATION_3D] and [constant TYPE_SCALE_3D] "
"track types instead of [constant TYPE_VALUE] is recommended for performance "
"reasons."
msgstr ""
"Значение отслеживает заданные значения в свойствах узла, но только те, "
"которые можно интерполировать. Для 3D-позиции/вращения/масштаба рекомендуется "
"использовать выделенных дорожек треков [constant TYPE_POSITION_3D], [constant "
"TYPE_ROTATION_3D] и [constant TYPE_SCALE_3D] вместо [constant TYPE_VALUE] по "
"соображениям производительности."
msgid "3D position track (values are stored in [Vector3]s)."
msgstr "Трехмерная дорожка положения (значения хранятся в [Vector3])."
msgid "3D rotation track (values are stored in [Quaternion]s)."
msgstr "Трехмерная дорожка вращения (значения хранятся в [Quaternion]s)."
msgid "3D scale track (values are stored in [Vector3]s)."
msgstr "Дорожка 3D-масштаба (значения хранятся в [Vector3])."
msgid "Blend shape track."
msgstr "Орбита смешанной формы."
msgid "Method tracks call functions with given arguments per key."
msgstr ""
"Метод отслеживает вызовы функций с заданными аргументами для каждого ключа."
msgid ""
"Bezier tracks are used to interpolate a value using custom curves. They can "
"also be used to animate sub-properties of vectors and colors (e.g. alpha "
"value of a [Color])."
msgstr ""
"Дорожки Безье используются для интерполяции значения с использованием "
"пользовательских кривых. Их также можно использовать для анимации подсвойств "
"векторов и цветов (например, альфа-значение [Color])."
msgid ""
"Audio tracks are used to play an audio stream with either type of "
"[AudioStreamPlayer]. The stream can be trimmed and previewed in the animation."
msgstr ""
"Аудиодорожки используются для воспроизведения аудиопотока с любым типом "
"[AudioStreamPlayer]. Поток можно обрезать и предварительно просмотреть в "
"анимации."
msgid "Animation tracks play animations in other [AnimationPlayer] nodes."
msgstr ""
"Анимационные дорожки воспроизводят анимацию в других узлах [AnimationPlayer]."
msgid "No interpolation (nearest value)."
msgstr "Без интерполяции (ближайшее значение)."
msgid "Linear interpolation."
msgstr "Линейная интерполяция."
msgid ""
"Cubic interpolation. This looks smoother than linear interpolation, but is "
"more expensive to interpolate. Stick to [constant INTERPOLATION_LINEAR] for "
"complex 3D animations imported from external software, even if it requires "
"using a higher animation framerate in return.\n"
"[b]Note:[/b] If the last and first keys have different values and are close "
"to the ends of the track, a huge overshoot in interpolation may occur if "
"[method track_set_interpolation_loop_wrap] is set to [code]true[/code]."
msgstr ""
"Кубическая интерполяция. Она выглядит более плавной, чем линейная, но требует "
"больших вычислительных затрат. Для сложных 3D-анимаций, импортированных из "
"стороннего программного обеспечения, лучше использовать линейную интерполяцию "
"[constant INTERPOLATION_LINEAR], даже если для этого потребуется увеличить "
"частоту кадров анимации.\n"
"[b]Примечание:[/b] Если последний и первый ключевые кадры имеют разные "
"значения и расположены близко к концам дорожки, то при установке параметра "
"[method track_set_interpolation_loop_wrap] в значение [code]true[/code] может "
"возникнуть значительный «выброс» (overshoot) значений при интерполяции."
msgid ""
"Linear interpolation with shortest path rotation.\n"
"[b]Note:[/b] The result value is always normalized and may not match the key "
"value."
msgstr ""
"Линейная интерполяция с вращением по кратчайшему пути.\n"
"[b]Примечание:[/b] Значение результата всегда нормализовано и может не "
"совпадать со значением ключа."
msgid ""
"Cubic interpolation with shortest path rotation.\n"
"[b]Note:[/b] The result value is always normalized and may not match the key "
"value."
msgstr ""
"Кубическая интерполяция с вращением по кратчайшему пути.\n"
"[b]Примечание:[/b] Значение результата всегда нормализовано и может не "
"совпадать со значением ключа."
msgid ""
"Modified Akima interpolation. Like [constant INTERPOLATION_CUBIC], this "
"produces a smooth curve through the keys, but it overshoots less and stays "
"flat where three or more adjacent keys have the same value. It uses two keys "
"on each side of the current segment, so it is slightly more expensive than "
"cubic interpolation."
msgstr ""
"Модифицированная интерполяция Акимы. Подобно кубической интерполяции "
"[constant INTERPOLATION_CUBIC], она создает плавную кривую, проходящую через "
"ключевые точки, однако в меньшей степени склонна к «выбросам» (превышению "
"значений) и сохраняет плоский участок там, где три или более соседние "
"ключевые точки имеют одинаковое значение. Поскольку для вычислений "
"используются две ключевые точки с каждой стороны от текущего сегмента, этот "
"метод несколько более ресурсозатратен, чем кубическая интерполяция."
msgid ""
"Modified Akima interpolation with shortest path rotation.\n"
"[b]Note:[/b] The result value is always normalized and may not match the key "
"value."
msgstr ""
"Модифицированная интерполяция Акимы с вращением по кратчайшему пути.\n"
"[b]Примечание:[/b] Результирующее значение всегда нормализовано и может не "
"совпадать с ключевым значением."
msgid "Update between keyframes and hold the value."
msgstr "Обновляйте между ключевыми кадрами и сохраняйте значение."
msgid "Update at the keyframes."
msgstr "Обновление на ключевых кадрах."
msgid ""
"Same as [constant UPDATE_CONTINUOUS] but works as a flag to capture the value "
"of the current object and perform interpolation in some methods. See also "
"[method AnimationMixer.capture], [member "
"AnimationPlayer.playback_auto_capture], and [method "
"AnimationPlayer.play_with_capture]."
msgstr ""
"То же, что и [constant UPDATE_CONTINUOUS], но работает как флаг для захвата "
"значения текущего объекта и выполнения интерполяции в некоторых методах. См. "
"также [method AnimationMixer.capture], [member "
"AnimationPlayer.playback_auto_capture] и [method "
"AnimationPlayer.play_with_capture]."
msgid "At both ends of the animation, the animation will stop playing."
msgstr "В обоих случаях воспроизведение анимации остановится."
msgid ""
"At both ends of the animation, the animation will be repeated without "
"changing the playback direction."
msgstr ""
"В обоих концах анимации она будет повторяться без изменения направления "
"воспроизведения."
msgid "Repeats playback and reverse playback at both ends of the animation."
msgstr ""
"Повторяет воспроизведение и обратное воспроизведение в обоих концах анимации."
msgid "This flag indicates that the animation proceeds without any looping."
msgstr "Этот флаг указывает, что анимация выполняется без зацикливания."
msgid ""
"This flag indicates that the animation has reached the end of the animation "
"and just after loop processed."
msgstr ""
"Этот флаг указывает на то, что анимация достигла конца и сразу после "
"обработки цикла."
msgid ""
"This flag indicates that the animation has reached the start of the animation "
"and just after loop processed."
msgstr ""
"Этот флаг указывает на то, что анимация достигла начала анимации и сразу "
"после обработки цикла."
msgid "Finds the nearest time key."
msgstr "Находит ближайший временной ключ."
msgid "Finds only the key with approximating the time."
msgstr "Находит только ключ с приблизительным временем."
msgid "Finds only the key with matching the time."
msgstr "Находит только ключ с соответствующим временем."
msgid "Container for [Animation] resources."
msgstr "Контейнер для ресурсов [Анимации]."
msgid ""
"An animation library stores a set of animations accessible through "
"[StringName] keys, for use with [AnimationPlayer] nodes."
msgstr ""
"Библиотека анимации хранит набор анимаций, доступных через ключи "
"[StringName], для использования с узлами [AnimationPlayer]."
msgid "Animation tutorial index"
msgstr "Каталог уроков по анимации"
msgid ""
"Adds the [param animation] to the library, accessible by the key [param name]."
msgstr ""
"Добавляет [param animation] в библиотеку, доступную по ключу [param name]."
msgid ""
"Returns the [Animation] with the key [param name]. If the animation does not "
"exist, [code]null[/code] is returned and an error is logged."
msgstr ""
"Возвращает [Animation] с ключом [param name]. Если анимация не существует, "
"возвращается [code]null[/code] и регистрируется ошибка."
msgid "Returns the keys for the [Animation]s stored in the library."
msgstr "Возвращает ключи для [Animation], хранящихся в библиотеке."
msgid "Returns the key count for the [Animation]s stored in the library."
msgstr "Возвращает количество ключей для [Animation], хранящихся в библиотеке."
msgid ""
"Returns [code]true[/code] if the library stores an [Animation] with [param "
"name] as the key."
msgstr ""
"Возвращает [code]true[/code], если библиотека хранит [Animation] с [param "
"name] в качестве ключа."
msgid "Removes the [Animation] with the key [param name]."
msgstr "Удаляет [Animation] с ключом [param name]."
msgid ""
"Changes the key of the [Animation] associated with the key [param name] to "
"[param newname]."
msgstr ""
"Изменяет ключ [Animation], связанный с ключом [param name], на [param "
"newname]."
msgid "Emitted when an [Animation] is added, under the key [param anim_name]."
msgstr "Генерируется при добавлении [Animation] под ключом [param anim_name]."
msgid ""
"Emitted when there's a change in one of the animations, e.g. tracks are "
"added, moved or have changed paths. [param anim_name] is the key of the "
"animation that was changed.\n"
"See also [signal Resource.changed], which this acts as a relay for."
msgstr ""
"Сигнал генерируется при изменении одной из анимаций, например, при "
"добавлении, перемещении или изменении траектории движения дорожек. [param "
"anim_name] — это ключ анимации, которая была изменена.\n"
"См. также [signal Resource.changed], для которого этот сигнал выступает в "
"качестве ретранслятора."
msgid ""
"Emitted when an [Animation] stored with the key [param anim_name] is removed."
msgstr ""
"Генерируется при удалении [Animation], хранящегося с ключом [param anim_name]."
msgid ""
"Emitted when the key for an [Animation] is changed, from [param old_name] to "
"[param new_name]."
msgstr ""
"Генерируется при изменении ключа для [Animation] с [param old_name] на [param "
"new_name]."
msgid "Base class for [AnimationPlayer] and [AnimationTree]."
msgstr "Базовый класс для [AnimationPlayer] и [AnimationTree]."
msgid ""
"Base class for [AnimationPlayer] and [AnimationTree] to manage animation "
"lists. It also has general properties and methods for playback and blending.\n"
"After instantiating the playback information data within the extended class, "
"the blending is processed by the [AnimationMixer]."
msgstr ""
"Базовый класс для [AnimationPlayer] и [AnimationTree] для управления списками "
"анимации. Он также имеет общие свойства и методы для воспроизведения и "
"смешивания.\n"
"После создания экземпляра данных информации о воспроизведении в расширенном "
"классе, смешивание и обработка происходит в [AnimationMixer]."
msgid "Migrating Animations from Godot 4.0 to 4.3"
msgstr "Перенос анимации из Godot 4.0 в 4.3"
msgid "A virtual function for processing after getting a key during playback."
msgstr ""
"Виртуальная функция для обработки после получения ключа во время "
"воспроизведения."
msgid ""
"Adds [param library] to the animation player, under the key [param name].\n"
"AnimationMixer has a global library by default with an empty string as key. "
"For adding an animation to the global library:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var global_library = mixer.get_animation_library(\"\")\n"
"global_library.add_animation(\"animation_name\", animation_resource)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Добавляет [param library] в проигрыватель анимации под ключом [param name].\n"
"AnimationMixer имеет глобальную библиотеку по умолчанию с пустой строкой в "
"качестве ключа. Для добавления анимации в глобальную библиотеку:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var global_library = mixer.get_animation_library(\"\")\n"
"global_library.add_animation(\"animation_name\", animation_resource)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid "Manually advance the animations by the specified time (in seconds)."
msgstr "Вручную продвиньте анимацию на указанное время (в секундах)."
msgid ""
"If the animation track specified by [param name] has an option [constant "
"Animation.UPDATE_CAPTURE], stores current values of the objects indicated by "
"the track path as a cache. If there is already a captured cache, the old "
"cache is discarded.\n"
"After this it will interpolate with current animation blending result during "
"the playback process for the time specified by [param duration], working like "
"a crossfade.\n"
"You can specify [param trans_type] as the curve for the interpolation. For "
"better results, it may be appropriate to specify [constant "
"Tween.TRANS_LINEAR] for cases where the first key of the track begins with a "
"non-zero value or where the key value does not change, and [constant "
"Tween.TRANS_QUAD] for cases where the key value changes linearly."
msgstr ""
"Если анимационная дорожка, указанная [param name], имеет опцию [constant "
"Animation.UPDATE_CAPTURE], сохраняет текущие значения объектов, указанных "
"путем дорожки, как кэш. Если уже есть захваченный кэш, старый кэш "
"отбрасывается.\n"
"После этого он будет интерполироваться с текущим результатом смешивания "
"анимации во время процесса воспроизведения в течение времени, указанного "
"[param duration], работая как кроссфейд.\n"
"Вы можете указать [param trans_type] в качестве кривой для интерполяции. Для "
"лучших результатов может быть целесообразно указать [constant "
"Tween.TRANS_LINEAR] для случаев, когда первый ключ дорожки начинается с "
"ненулевого значения или когда значение ключа не меняется, и [constant "
"Tween.TRANS_QUAD] для случаев, когда значение ключа изменяется линейно."
msgid ""
"[AnimationMixer] caches animated nodes. It may not notice if a node "
"disappears; [method clear_caches] forces it to update the cache again."
msgstr ""
"[AnimationMixer] кэширует анимированные узлы. Он может не заметить, если узел "
"исчезнет; [method clear_caches] заставляет его обновить кэш снова."
msgid ""
"Returns the key of [param animation] or an empty [StringName] if not found."
msgstr ""
"Возвращает ключ [param animation] или пустой [StringName], если он не найден."
msgid ""
"Returns the key for the [AnimationLibrary] that contains [param animation] or "
"an empty [StringName] if not found."
msgstr ""
"Возвращает ключ для [AnimationLibrary], содержащий [param animation], или "
"пустой [StringName], если он не найден."
msgid ""
"Returns the first [AnimationLibrary] with key [param name] or [code]null[/"
"code] if not found.\n"
"To get the [AnimationMixer]'s global animation library, use "
"[code]get_animation_library(\"\")[/code]."
msgstr ""
"Возвращает первую [AnimationLibrary] с ключом [param name] или [code]null[/"
"code], если не найдена.\n"
"Чтобы получить глобальную библиотеку анимации [AnimationMixer], используйте "
"[code]get_animation_library(\"\")[/code]."
msgid "Returns the list of stored library keys."
msgstr "Возвращает список сохраненных ключей библиотеки."
msgid "Returns the list of stored animation keys."
msgstr "Возвращает список сохраненных ключей анимации."
msgid ""
"Retrieve the motion delta of position with the [member root_motion_track] as "
"a [Vector3] that can be used elsewhere.\n"
"If [member root_motion_track] is not a path to a track of type [constant "
"Animation.TYPE_POSITION_3D], returns [code]Vector3(0, 0, 0)[/code].\n"
"See also [member root_motion_track] and [RootMotionView].\n"
"The most basic example is applying position to [CharacterBody3D]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var current_rotation\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tcurrent_rotation = get_quaternion()\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar velocity = current_rotation * "
"animation_tree.get_root_motion_position() / delta\n"
"\tset_velocity(velocity)\n"
"\tmove_and_slide()\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"By using this in combination with [method "
"get_root_motion_rotation_accumulator], you can apply the root motion position "
"more correctly to account for the rotation of the node.\n"
"[codeblocks]\n"
"[gdscript]\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tset_quaternion(get_quaternion() * "
"animation_tree.get_root_motion_rotation())\n"
"\tvar velocity = "
"(animation_tree.get_root_motion_rotation_accumulator().inverse() * "
"get_quaternion()) * animation_tree.get_root_motion_position() / delta\n"
"\tset_velocity(velocity)\n"
"\tmove_and_slide()\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"If [member root_motion_local] is [code]true[/code], returns the pre-"
"multiplied translation value with the inverted rotation.\n"
"In this case, the code can be written as follows:\n"
"[codeblocks]\n"
"[gdscript]\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tset_quaternion(get_quaternion() * "
"animation_tree.get_root_motion_rotation())\n"
"\tvar velocity = get_quaternion() * "
"animation_tree.get_root_motion_position() / delta\n"
"\tset_velocity(velocity)\n"
"\tmove_and_slide()\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Извлеките дельту движения позиции с [member root_motion_track] как [Vector3], "
"который можно использовать в другом месте.\n"
"Если [member root_motion_track] не является путем к треку типа [constant "
"Animation.TYPE_POSITION_3D], возвращает [code]Vector3(0, 0, 0)[/code].\n"
"См. также [member root_motion_track] и [RootMotionView].\n"
"Самый простой пример — применение позиции к [CharacterBody3D]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var current_rotation\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tcurrent_rotation = get_quaternion()\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar velocity = current_rotation * "
"animation_tree.get_root_motion_position() / delta\n"
"\tset_velocity(velocity)\n"
"\tmove_and_slide()\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"Используя это в сочетании с [method get_root_motion_rotation_accumulator], вы "
"можете более правильно применить положение движения корня для учета вращения "
"узла.\n"
"[codeblocks]\n"
"[gdscript]\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tset_quaternion(get_quaternion() * "
"animation_tree.get_root_motion_rotation())\n"
"\tvar velocity = "
"(animation_tree.get_root_motion_rotation_accumulator().inverse() * "
"get_quaternion()) * animation_tree.get_root_motion_position() / delta\n"
"\tset_velocity(velocity)\n"
"\tmove_and_slide()\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"Если [member root_motion_local] равен [code]true[/code], возвращает "
"предварительно умноженное значение смещения с инвертированным вращением.\n"
"В этом случае код можно записать следующим образом:\n"
"[codeblocks]\n"
"[gdscript]\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tset_quaternion(get_quaternion() * "
"animation_tree.get_root_motion_rotation())\n"
"\tvar velocity = get_quaternion() * "
"animation_tree.get_root_motion_position() / delta\n"
"\tset_velocity(velocity)\n"
"\tmove_and_slide()\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Retrieve the blended value of the position tracks with the [member "
"root_motion_track] as a [Vector3] that can be used elsewhere.\n"
"This is useful in cases where you want to respect the initial key values of "
"the animation.\n"
"For example, if an animation with only one key [code]Vector3(0, 0, 0)[/code] "
"is played in the previous frame and then an animation with only one key "
"[code]Vector3(1, 0, 1)[/code] is played in the next frame, the difference can "
"be calculated as follows:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var prev_root_motion_position_accumulator\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar current_root_motion_position_accumulator = "
"animation_tree.get_root_motion_position_accumulator()\n"
"\tvar difference = current_root_motion_position_accumulator - "
"prev_root_motion_position_accumulator\n"
"\tprev_root_motion_position_accumulator = "
"current_root_motion_position_accumulator\n"
"\ttransform.origin += difference\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"However, if the animation loops, an unintended discrete change may occur, so "
"this is only useful for some simple use cases."
msgstr ""
"Получите смешанное значение треков положения с [member root_motion_track] как "
"[Vector3], которое можно использовать в другом месте.\n"
"Это полезно в случаях, когда вы хотите соблюдать начальные ключевые значения "
"анимации.\n"
"Например, если анимация только с одним ключом [code]Vector3(0, 0, 0)[/code] "
"воспроизводится в предыдущем кадре, а затем анимация только с одним ключом "
"[code]Vector3(1, 0, 1)[/code] воспроизводится в следующем кадре, разницу "
"можно вычислить следующим образом:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var prev_root_motion_position_accumulator\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar current_root_motion_position_accumulator = "
"animation_tree.get_root_motion_position_accumulator()\n"
"\tvar difference = current_root_motion_position_accumulator - "
"prev_root_motion_position_accumulator\n"
"\tprev_root_motion_position_accumulator = "
"current_root_motion_position_accumulator\n"
"\ttransform.origin += difference\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"Однако если анимация зацикливается, может произойти непреднамеренное "
"дискретное изменение, поэтому это полезно только для некоторых простых "
"случаев использования."
msgid ""
"Retrieve the motion delta of rotation with the [member root_motion_track] as "
"a [Quaternion] that can be used elsewhere.\n"
"If [member root_motion_track] is not a path to a track of type [constant "
"Animation.TYPE_ROTATION_3D], returns [code]Quaternion(0, 0, 0, 1)[/code].\n"
"See also [member root_motion_track] and [RootMotionView].\n"
"The most basic example is applying rotation to [CharacterBody3D]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tset_quaternion(get_quaternion() * "
"animation_tree.get_root_motion_rotation())\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Извлеките дельту движения вращения с [member root_motion_track] как "
"[Quaternion], который можно использовать в другом месте.\n"
"Если [member root_motion_track] не является путем к треку типа [constant "
"Animation.TYPE_ROTATION_3D], возвращает [code]Quaternion(0, 0, 0, 1)[/code].\n"
"См. также [member root_motion_track] и [RootMotionView].\n"
"Самый простой пример — применение вращения к [CharacterBody3D]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tset_quaternion(get_quaternion() * "
"animation_tree.get_root_motion_rotation())\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Retrieve the blended value of the rotation tracks with the [member "
"root_motion_track] as a [Quaternion] that can be used elsewhere.\n"
"This is necessary to apply the root motion position correctly, taking "
"rotation into account. See also [method get_root_motion_position].\n"
"Also, this is useful in cases where you want to respect the initial key "
"values of the animation.\n"
"For example, if an animation with only one key [code]Quaternion(0, 0, 0, 1)[/"
"code] is played in the previous frame and then an animation with only one key "
"[code]Quaternion(0, 0.707, 0, 0.707)[/code] is played in the next frame, the "
"difference can be calculated as follows:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var prev_root_motion_rotation_accumulator\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar current_root_motion_rotation_accumulator = "
"animation_tree.get_root_motion_rotation_accumulator()\n"
"\tvar difference = prev_root_motion_rotation_accumulator.inverse() * "
"current_root_motion_rotation_accumulator\n"
"\tprev_root_motion_rotation_accumulator = "
"current_root_motion_rotation_accumulator\n"
"\ttransform.basis *= Basis(difference)\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"However, if the animation loops, an unintended discrete change may occur, so "
"this is only useful for some simple use cases."
msgstr ""
"Извлеките смешанное значение треков вращения с [memberroot_motion_track] как "
"[Quaternion], которое можно использовать в другом месте.\n"
"Это необходимо для правильного применения корневой позиции движения с учетом "
"вращения. См. также [method get_root_motion_position].\n"
"Кроме того, это полезно в случаях, когда вы хотите соблюдать начальные "
"ключевые значения анимации.\n"
"Например, если анимация только с одним ключом [code]Quaternion(0, 0, 0, 1)[/"
"code] воспроизводится в предыдущем кадре, а затем анимация только с одним "
"ключом [code]Quaternion(0, 0.707, 0, 0.707)[/code] воспроизводится в "
"следующем кадре, разницу можно вычислить следующим образом:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var prev_root_motion_rotation_accumulator\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar current_root_motion_rotation_accumulator = "
"animation_tree.get_root_motion_rotation_accumulator()\n"
"\tvar difference = prev_root_motion_rotation_accumulator.inverse() * "
"current_root_motion_rotation_accumulator\n"
"\tprev_root_motion_rotation_accumulator = "
"current_root_motion_rotation_accumulator\n"
"\ttransform.basis *= Basis(difference)\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"Однако если анимация зацикливается, может произойти непреднамеренное "
"дискретное изменение, поэтому это полезно только для некоторых простых "
"случаев использования."
msgid ""
"Retrieve the motion delta of scale with the [member root_motion_track] as a "
"[Vector3] that can be used elsewhere.\n"
"If [member root_motion_track] is not a path to a track of type [constant "
"Animation.TYPE_SCALE_3D], returns [code]Vector3(0, 0, 0)[/code].\n"
"See also [member root_motion_track] and [RootMotionView].\n"
"The most basic example is applying scale to [CharacterBody3D]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var current_scale = Vector3(1, 1, 1)\n"
"var scale_accum = Vector3(1, 1, 1)\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tcurrent_scale = get_scale()\n"
"\t\tscale_accum = Vector3(1, 1, 1)\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tscale_accum += animation_tree.get_root_motion_scale()\n"
"\tset_scale(current_scale * scale_accum)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Извлеките дельту движения масштаба с [member root_motion_track] как "
"[Vector3], который можно использовать в другом месте.\n"
"Если [member root_motion_track] не является путем к треку типа [constant "
"Animation.TYPE_SCALE_3D], возвращает [code]Vector3(0, 0, 0)[/code].\n"
"См. также [member root_motion_track] и [RootMotionView].\n"
"Самый простой пример — применение масштаба к [CharacterBody3D]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var current_scale = Vector3(1, 1, 1)\n"
"var scale_accum = Vector3(1, 1, 1)\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tcurrent_scale = get_scale()\n"
"\t\tscale_accum = Vector3(1, 1, 1)\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tscale_accum += animation_tree.get_root_motion_scale()\n"
"\tset_scale(current_scale * scale_accum)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Retrieve the blended value of the scale tracks with the [member "
"root_motion_track] as a [Vector3] that can be used elsewhere.\n"
"For example, if an animation with only one key [code]Vector3(1, 1, 1)[/code] "
"is played in the previous frame and then an animation with only one key "
"[code]Vector3(2, 2, 2)[/code] is played in the next frame, the difference can "
"be calculated as follows:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var prev_root_motion_scale_accumulator\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar current_root_motion_scale_accumulator = "
"animation_tree.get_root_motion_scale_accumulator()\n"
"\tvar difference = current_root_motion_scale_accumulator - "
"prev_root_motion_scale_accumulator\n"
"\tprev_root_motion_scale_accumulator = current_root_motion_scale_accumulator\n"
"\ttransform.basis = transform.basis.scaled(difference)\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"However, if the animation loops, an unintended discrete change may occur, so "
"this is only useful for some simple use cases."
msgstr ""
"Получите смешанное значение треков масштабирования с [member "
"root_motion_track] как [Vector3], которое можно использовать в другом месте.\n"
"Например, если анимация только с одним ключом [code]Vector3(1, 1, 1)[/code] "
"воспроизводится в предыдущем кадре, а затем анимация только с одним ключом "
"[code]Vector3(2, 2, 2)[/code] воспроизводится в следующем кадре, разницу "
"можно рассчитать следующим образом:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var prev_root_motion_scale_accumulator\n"
"\n"
"func _process(delta):\n"
"\tif Input.is_action_just_pressed(\"animate\"):\n"
"\t\tstate_machine.travel(\"Animate\")\n"
"\tvar current_root_motion_scale_accumulator = "
"animation_tree.get_root_motion_scale_accumulator()\n"
"\tvar difference = current_root_motion_scale_accumulator - "
"prev_root_motion_scale_accumulator\n"
"\tprev_root_motion_scale_accumulator = current_root_motion_scale_accumulator\n"
"\ttransform.basis = transform.basis.scaled(difference)\n"
"[/gdscript]\n"
"[/codeblocks]\n"
"Однако если анимация зацикливается, может произойти непреднамеренное "
"дискретное изменение, поэтому это полезно только для некоторых простых "
"случаев использования."
msgid ""
"Returns [code]true[/code] if the [AnimationMixer] stores an [Animation] with "
"key [param name]."
msgstr ""
"Возвращает [code]true[/code], если [AnimationMixer] хранит [Animation] с "
"ключом [param name]."
msgid ""
"Returns [code]true[/code] if the [AnimationMixer] stores an "
"[AnimationLibrary] with key [param name]."
msgstr ""
"Возвращает [code]true[/code], если [AnimationMixer] хранит [AnimationLibrary] "
"с ключом [param name]."
msgid "Removes the [AnimationLibrary] associated with the key [param name]."
msgstr "Удаляет [AnimationLibrary], связанный с ключом [param name]."
msgid ""
"Moves the [AnimationLibrary] associated with the key [param name] to the key "
"[param newname]."
msgstr ""
"Перемещает [AnimationLibrary], связанный с ключом [param name], в ключ [param "
"newname]."
msgid "If [code]true[/code], the [AnimationMixer] will be processing."
msgstr "Если [code]true[/code], [AnimationMixer] будет выполнять обработку."
msgid ""
"The number of possible simultaneous sounds for each of the assigned "
"AudioStreamPlayers.\n"
"For example, if this value is [code]32[/code] and the animation has two audio "
"tracks, the two [AudioStreamPlayer]s assigned can play simultaneously up to "
"[code]32[/code] voices each."
msgstr ""
"Количество возможных одновременных звуков для каждого из назначенных "
"AudioStreamPlayers.\n"
"Например, если это значение равно [code]32[/code] и анимация имеет две "
"аудиодорожки, два назначенных [AudioStreamPlayer] могут одновременно "
"воспроизводить до [code]32[/code] голосов каждый."
msgid ""
"Ordinarily, tracks can be set to [constant Animation.UPDATE_DISCRETE] to "
"update infrequently, usually when using nearest interpolation.\n"
"However, when blending with [constant Animation.UPDATE_CONTINUOUS] several "
"results are considered. The [member callback_mode_discrete] specify it "
"explicitly. See also [enum AnimationCallbackModeDiscrete].\n"
"To make the blended results look good, it is recommended to set this to "
"[constant ANIMATION_CALLBACK_MODE_DISCRETE_FORCE_CONTINUOUS] to update every "
"frame during blending. Other values exist for compatibility and they are fine "
"if there is no blending, but not so, may produce artifacts."
msgstr ""
"Обычно дорожки можно установить на [constant Animation.UPDATE_DISCRETE] для "
"редкого обновления, обычно при использовании ближайшей интерполяции.\n"
"Однако при смешивании с [constant Animation.UPDATE_CONTINUOUS] "
"рассматриваются несколько результатов. [member callback_mode_discrete] "
"указывает это явно. См. также [enum AnimationCallbackModeDiscrete].\n"
"Чтобы смешанные результаты выглядели хорошо, рекомендуется установить это на "
"[constant ANIMATION_CALLBACK_MODE_DISCRETE_FORCE_CONTINUOUS] для обновления "
"каждого кадра во время смешивания. Существуют другие значения для "
"совместимости, и они хороши, если смешивания нет, но не так, могут создавать "
"артефакты."
msgid "The call mode used for \"Call Method\" tracks."
msgstr "Режим вызова, используемый для треков «Вызов Метода»."
msgid "The process notification in which to update animations."
msgstr "Уведомление о процессе, в котором необходимо обновить анимацию."
msgid ""
"If [code]true[/code], the blending uses the deterministic algorithm. The "
"total weight is not normalized and the result is accumulated with an initial "
"value ([code]0[/code] or a [code]\"RESET\"[/code] animation if present).\n"
"This means that if the total amount of blending is [code]0.0[/code], the "
"result is equal to the [code]\"RESET\"[/code] animation.\n"
"If the number of tracks between the blended animations is different, the "
"animation with the missing track is treated as if it had the initial value.\n"
"If [code]false[/code], The blend does not use the deterministic algorithm. "
"The total weight is normalized and always [code]1.0[/code]. If the number of "
"tracks between the blended animations is different, nothing is done about the "
"animation that is missing a track.\n"
"[b]Note:[/b] In [AnimationTree], the blending with [AnimationNodeAdd2], "
"[AnimationNodeAdd3], [AnimationNodeSub2] or the weight greater than "
"[code]1.0[/code] may produce unexpected results.\n"
"For example, if [AnimationNodeAdd2] blends two nodes with the amount "
"[code]1.0[/code], then total weight is [code]2.0[/code] but it will be "
"normalized to make the total amount [code]1.0[/code] and the result will be "
"equal to [AnimationNodeBlend2] with the amount [code]0.5[/code]."
msgstr ""
"Если [code]true[/code], смешивание использует детерминированный алгоритм. "
"Общий вес не нормализуется, а результат накапливается с начальным значением "
"([code]0[/code] или анимацией [code]\"RESET\"[/code], если она "
"присутствует).\n"
"Это означает, что если общий объем смешивания равен [code]0.0[/code], "
"результат равен анимации [code]\"RESET\"[/code]. \n"
"Если количество дорожек между смешанными анимациями отличается, анимация с "
"отсутствующей дорожкой обрабатывается так, как если бы она имела начальное "
"значение.\n"
"Если [code]false[/code], смешивание не использует детерминированный алгоритм. "
"Общий вес нормализуется и всегда [code]1.0[/code]. Если количество дорожек "
"между смешанными анимациями отличается, ничего не делается для анимации, в "
"которой отсутствует дорожка.\n"
"[b]Примечание:[/b] В [AnimationTree] смешивание с [AnimationNodeAdd2], "
"[AnimationNodeAdd3], [AnimationNodeSub2] или весом больше [code]1.0[/code] "
"может привести к неожиданным результатам.\n"
"Например, если [AnimationNodeAdd2] смешивает два узла с количеством "
"[code]1.0[/code], то общий вес составит [code]2.0[/code], но он будет "
"нормализован, чтобы сделать общее количество [code]1.0[/code], а результат "
"будет равен [AnimationNodeBlend2] с количеством [code]0.5[/code]."
msgid ""
"This is used by the editor. If set to [code]true[/code], the scene will be "
"saved with the effects of the reset animation (the animation with the key "
"[code]\"RESET\"[/code]) applied as if it had been seeked to time 0, with the "
"editor keeping the values that the scene had before saving.\n"
"This makes it more convenient to preview and edit animations in the editor, "
"as changes to the scene will not be saved as long as they are set in the "
"reset animation."
msgstr ""
"Это используется редактором. Если установлено значение [code]true[/code], "
"сцена будет сохранена с эффектами анимации сброса (анимация с ключом [code]"
"\"RESET\"[/code]), примененными так, как если бы она была перенесена на время "
"0, при этом редактор сохраняет значения, которые сцена имела до сохранения. \n"
"Это делает более удобным предварительный просмотр и редактирование анимаций в "
"редакторе, поскольку изменения в сцене не будут сохранены, пока они "
"установлены в анимации сброса."
msgid ""
"If [code]true[/code], [method get_root_motion_position] value is extracted as "
"a local translation value before blending. In other words, it is treated like "
"the translation is done after the rotation."
msgstr ""
"Если [code]true[/code], значение [method get_root_motion_position] "
"извлекается как локальное значение перевода перед смешиванием. Другими "
"словами, оно обрабатывается так, как будто перевод выполняется после поворота."
msgid ""
"The path to the Animation track used for root motion. Paths must be valid "
"scene-tree paths to a node, and must be specified starting from the parent "
"node of the node that will reproduce the animation. The [member "
"root_motion_track] uses the same format as [method Animation.track_set_path], "
"but note that a bone must be specified.\n"
"If the track has type [constant Animation.TYPE_POSITION_3D], [constant "
"Animation.TYPE_ROTATION_3D], or [constant Animation.TYPE_SCALE_3D] the "
"transformation will be canceled visually, and the animation will appear to "
"stay in place. See also [method get_root_motion_position], [method "
"get_root_motion_rotation], [method get_root_motion_scale], and "
"[RootMotionView]."
msgstr ""
"Путь к дорожке анимации, используемой для корневого движения. Пути должны "
"быть допустимыми путями дерева сцены к узлу и должны быть указаны, начиная с "
"родительского узла узла, который будет воспроизводить анимацию. [Member "
"root_motion_track] использует тот же формат, что и [method "
"Animation.track_set_path], но обратите внимание, что должна быть указана "
"кость.\n"
"Если дорожка имеет тип [constant Animation.TYPE_POSITION_3D], [constant "
"Animation.TYPE_ROTATION_3D] или [constant Animation.TYPE_SCALE_3D], "
"преобразование будет визуально отменено, и анимация будет казаться оставшейся "
"на месте. См. также [method get_root_motion_position], [method "
"get_root_motion_rotation], [method get_root_motion_scale] и [RootMotionView]."
msgid "The node which node path references will travel from."
msgstr "Узел, на который ссылается путь узла, будет отправлен."
msgid ""
"Notifies when an animation finished playing.\n"
"[b]Note:[/b] This signal is not emitted if an animation is looping."
msgstr ""
"Уведомляет об окончании воспроизведения анимации.\n"
"[b]Примечание:[/b] Этот сигнал не выдается, если анимация зацикливается."
msgid "Notifies when the animation libraries have changed."
msgstr "Уведомляет об изменении библиотек анимации."
msgid "Notifies when an animation list is changed."
msgstr "Уведомляет об изменении списка анимаций."
msgid ""
"Notifies when an animation starts playing.\n"
"[b]Note:[/b] This signal is not emitted if an animation is looping."
msgstr ""
"Уведомляет о начале воспроизведения анимации.\n"
"[b]Примечание:[/b] Этот сигнал не выдаётся, если анимация повторяется."
msgid ""
"Notifies when the caches have been cleared, either automatically, or manually "
"via [method clear_caches]."
msgstr ""
"Уведомляет об очистке кэшей автоматически или вручную с помощью [method "
"clear_caches]."
msgid ""
"Notifies when the blending result related have been applied to the target "
"objects."
msgstr ""
"Уведомляет, когда соответствующий результат смешивания был применен к целевым "
"объектам."
msgid "Notifies when the property related process have been updated."
msgstr "Уведомляет об обновлении процесса, связанного с свойством."
msgid ""
"Process animation during physics frames (see [constant "
"Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS]). This is especially useful when "
"animating physics bodies."
msgstr ""
"Анимация процесса во время физических кадров (см. [constant "
"Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS]). Это особенно полезно при "
"анимации физических тел."
msgid ""
"Process animation during process frames (see [constant "
"Node.NOTIFICATION_INTERNAL_PROCESS])."
msgstr ""
"Анимация процесса во время кадров процесса (см. [constant "
"Node.NOTIFICATION_INTERNAL_PROCESS])."
msgid ""
"Do not process animation. Use [method advance] to process the animation "
"manually."
msgstr ""
"Не обрабатывать анимацию. Используйте [method advance] для ручной обработки "
"анимации."
msgid ""
"Batch method calls during the animation process, then do the calls after "
"events are processed. This avoids bugs involving deleting nodes or modifying "
"the AnimationPlayer while playing."
msgstr ""
"Пакетные вызовы методов во время процесса анимации, затем вызовы после "
"обработки событий. Это позволяет избежать ошибок, связанных с удалением узлов "
"или изменением AnimationPlayer во время воспроизведения."
msgid "Make method calls immediately when reached in the animation."
msgstr "Вызывайте методы немедленно при достижении их в анимации."
msgid ""
"An [constant Animation.UPDATE_DISCRETE] track value takes precedence when "
"blending [constant Animation.UPDATE_CONTINUOUS] or [constant "
"Animation.UPDATE_CAPTURE] track values and [constant "
"Animation.UPDATE_DISCRETE] track values."
msgstr ""
"Значение дорожки [constant Animation.UPDATE_DISCRETE] имеет приоритет при "
"смешивании значений дорожки [constant Animation.UPDATE_CONTINUOUS] или "
"[constant Animation.UPDATE_CAPTURE] и значений дорожки [constant "
"Animation.UPDATE_DISCRETE]."
msgid ""
"An [constant Animation.UPDATE_CONTINUOUS] or [constant "
"Animation.UPDATE_CAPTURE] track value takes precedence when blending the "
"[constant Animation.UPDATE_CONTINUOUS] or [constant Animation.UPDATE_CAPTURE] "
"track values and the [constant Animation.UPDATE_DISCRETE] track values. This "
"is the default behavior for [AnimationPlayer]."
msgstr ""
"Значение дорожки [constant Animation.UPDATE_CONTINUOUS] или [constant "
"Animation.UPDATE_CAPTURE] имеет приоритет при смешивании значений дорожки "
"[constant Animation.UPDATE_CONTINUOUS] или [constant "
"Animation.UPDATE_CAPTURE] и значений дорожки [constant "
"Animation.UPDATE_DISCRETE]. Это поведение по умолчанию для [AnimationPlayer]."
msgid ""
"Always treat the [constant Animation.UPDATE_DISCRETE] track value as "
"[constant Animation.UPDATE_CONTINUOUS] with [constant "
"Animation.INTERPOLATION_NEAREST]. This is the default behavior for "
"[AnimationTree].\n"
"If a value track has un-interpolatable type key values, it is internally "
"converted to use [constant ANIMATION_CALLBACK_MODE_DISCRETE_RECESSIVE] with "
"[constant Animation.UPDATE_DISCRETE].\n"
"Un-interpolatable type list:\n"
"- [constant @GlobalScope.TYPE_NIL]\n"
"- [constant @GlobalScope.TYPE_NODE_PATH]\n"
"- [constant @GlobalScope.TYPE_RID]\n"
"- [constant @GlobalScope.TYPE_OBJECT]\n"
"- [constant @GlobalScope.TYPE_CALLABLE]\n"
"- [constant @GlobalScope.TYPE_SIGNAL]\n"
"- [constant @GlobalScope.TYPE_DICTIONARY]\n"
"- [constant @GlobalScope.TYPE_PACKED_BYTE_ARRAY]\n"
"[constant @GlobalScope.TYPE_BOOL] and [constant @GlobalScope.TYPE_INT] are "
"treated as [constant @GlobalScope.TYPE_FLOAT] during blending and rounded "
"when the result is retrieved.\n"
"It is same for arrays and vectors with them such as [constant "
"@GlobalScope.TYPE_PACKED_INT32_ARRAY] or [constant "
"@GlobalScope.TYPE_VECTOR2I], they are treated as [constant "
"@GlobalScope.TYPE_PACKED_FLOAT32_ARRAY] or [constant "
"@GlobalScope.TYPE_VECTOR2]. Also note that for arrays, the size is also "
"interpolated.\n"
"[constant @GlobalScope.TYPE_STRING] and [constant "
"@GlobalScope.TYPE_STRING_NAME] are interpolated between character codes and "
"lengths, but note that there is a difference in algorithm between "
"interpolation between keys and interpolation by blending."
msgstr ""
"Всегда обрабатывайте значение дорожки [constant Animation.UPDATE_DISCRETE] "
"как [constant Animation.UPDATE_CONTINUOUS] с [constant "
"Animation.INTERPOLATION_NEAREST]. Это поведение по умолчанию для "
"[AnimationTree].\n"
"Если дорожка значений имеет неинтерполируемые значения типа ключа, она "
"внутренне преобразуется для использования [constant "
"ANIMATION_CALLBACK_MODE_DISCRETE_RECESSIVE] с [constant "
"Animation.UPDATE_DISCRETE].\n"
"Список неинтерполируемых типов:\n"
"- [constant @GlobalScope.TYPE_NIL]\n"
"- [constant @GlobalScope.TYPE_NODE_PATH]\n"
"- [constant @GlobalScope.TYPE_RID]\n"
"- [constant @GlobalScope.TYPE_OBJECT]\n"
"- [constant @GlobalScope.TYPE_CALLABLE]\n"
"- [constant @GlobalScope.TYPE_SIGNAL]\n"
"- [constant @GlobalScope.TYPE_DICTIONARY]\n"
"- [constant @GlobalScope.TYPE_PACKED_BYTE_ARRAY]\n"
"[constant @GlobalScope.TYPE_BOOL] и [constant @GlobalScope.TYPE_INT] "
"обрабатываются как [constant @GlobalScope.TYPE_FLOAT] во время смешивания и "
"округляются при получении результата.\n"
"То же самое касается массивов и векторов, например, [constant "
"@GlobalScope.TYPE_PACKED_INT32_ARRAY] или [constant "
"@GlobalScope.TYPE_VECTOR2I], они обрабатываются как [constant "
"@GlobalScope.TYPE_PACKED_FLOAT32_ARRAY] или [constant "
"@GlobalScope.TYPE_VECTOR2]. Также обратите внимание, что для массивов размер "
"также интерполируется.\n"
"[constant @GlobalScope.TYPE_STRING] и [constant "
"@GlobalScope.TYPE_STRING_NAME] интерполируются между кодами символов и "
"длинами, но обратите внимание, что есть разница в алгоритме между "
"интерполяцией между ключами и интерполяцией путем смешивания."
msgid "Base class for [AnimationTree] nodes. Not related to scene nodes."
msgstr "Базовый класс для узлов [AnimationTree]. Не относится к узлам сцены."
msgid ""
"Base resource for [AnimationTree] nodes. In general, it's not used directly, "
"but you can create custom ones with custom blending formulas.\n"
"Inherit this when creating animation nodes mainly for use in "
"[AnimationNodeBlendTree], otherwise [AnimationRootNode] should be used "
"instead.\n"
"You can access the time information as read-only parameter which is processed "
"and stored in the previous frame for all nodes except [AnimationNodeOutput].\n"
"[b]Note:[/b] If multiple inputs exist in the [AnimationNode], which time "
"information takes precedence depends on the type of [AnimationNode].\n"
"[codeblock]\n"
"var current_length = $AnimationTree[\"parameters/AnimationNodeName/"
"current_length\"]\n"
"var current_position = $AnimationTree[\"parameters/AnimationNodeName/"
"current_position\"]\n"
"var current_delta = $AnimationTree[\"parameters/AnimationNodeName/"
"current_delta\"]\n"
"[/codeblock]"
msgstr ""
"Базовый ресурс для узлов [AnimationTree]. Обычно он не используется напрямую, "
"но вы можете создавать собственные узлы с помощью собственных формул "
"смешивания.\n"
"Наследуйте его при создании узлов анимации, в основном для использования в "
"[AnimationNodeBlendTree], в противном случае вместо него следует использовать "
"[AnimationRootNode].\n"
"Вы можете получить доступ к информации о времени как к параметру только для "
"чтения, который обрабатывается и сохраняется в предыдущем кадре для всех "
"узлов, кроме [AnimationNodeOutput].\n"
"[b]Примечание:[/b] Если в [AnimationNode] существует несколько входов, то "
"приоритет информации о времени зависит от типа [AnimationNode].\n"
"[codeblock]\n"
"var current_length = $AnimationTree[\"parameters/AnimationNodeName/"
"current_length\"]\n"
"var current_position = $AnimationTree[\"parameters/AnimationNodeName/"
"current_position\"]\n"
"var current_delta = $AnimationTree[\"parameters/AnimationNodeName/"
"current_delta\"]\n"
"[/codeblock]"
msgid "Using AnimationTree"
msgstr "Использование дерева анимации"
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"override the text caption for this animation node."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод, "
"чтобы переопределить текстовую подпись для этого узла анимации."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"return a child animation node by its [param name]."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод для "
"возврата дочернего узла анимации по его [param name]."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"return all child animation nodes in order as a [code]name: node[/code] "
"dictionary."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод для "
"возврата всех дочерних узлов анимации в порядке словаря [code]name: node[/"
"code]."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"return the default value of a [param parameter]. Parameters are custom local "
"memory used for your animation nodes, given a resource can be reused in "
"multiple trees."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод для "
"возврата значения по умолчанию параметра [param parameter]. Параметры — это "
"настраиваемая локальная память, используемая для ваших узлов анимации, "
"учитывая, что ресурс может быть повторно использован в нескольких деревьях."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"return a list of the properties on this animation node. Parameters are custom "
"local memory used for your animation nodes, given a resource can be reused in "
"multiple trees. Format is similar to [method Object.get_property_list]."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод для "
"возврата списка свойств этого узла анимации. Параметры — это настраиваемая "
"локальная память, используемая для ваших узлов анимации, учитывая, что ресурс "
"может быть повторно использован в нескольких деревьях. Формат аналогичен "
"[method Object.get_property_list]."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"return whether the blend tree editor should display filter editing on this "
"animation node."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод, "
"чтобы узнать, должен ли редактор смешанного дерева отображать редактирование "
"фильтра на этом узле анимации."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"return whether the [param parameter] is read-only. Parameters are custom "
"local memory used for your animation nodes, given a resource can be reused in "
"multiple trees."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод, "
"чтобы вернуть, является ли параметр [param parameter] доступным только для "
"чтения. Параметры — это настраиваемая локальная память, используемая для "
"ваших узлов анимации, учитывая, что ресурс может быть повторно использован в "
"нескольких деревьях."
msgid ""
"Currently this is mostly useless as there is a lack of many APIs to extend "
"AnimationNode by GDScript. It is planned that a more flexible API using "
"structures will be provided in the future."
msgstr ""
"В настоящее время это в основном бесполезно, поскольку не хватает многих API "
"для расширения AnimationNode с помощью GDScript. Планируется, что в будущем "
"будет предоставлен более гибкий API с использованием структур."
msgid ""
"When inheriting from [AnimationRootNode], implement this virtual method to "
"run some code when this animation node is processed. The [param time] "
"parameter is a relative delta, unless [param seek] is [code]true[/code], in "
"which case it is absolute.\n"
"Here, call the [method blend_input], [method blend_node] or [method "
"blend_animation] functions. You can also use [method get_parameter] and "
"[method set_parameter] to modify local memory.\n"
"This function should return the delta."
msgstr ""
"При наследовании от [AnimationRootNode] реализуйте этот виртуальный метод для "
"запуска некоторого кода при обработке этого узла анимации. Параметр [param "
"time] является относительной дельтой, если только [param seek] не является "
"[code]true[/code], в этом случае он является абсолютным.\n"
"Здесь вызовите функции [method blend_input], [method blend_node] или [method "
"blend_animation]. Вы также можете использовать [method get_parameter] и "
"[method set_parameter] для изменения локальной памяти.\n"
"Эта функция должна возвращать дельту."
msgid ""
"Adds an input to the animation node. This is only useful for animation nodes "
"created for use in an [AnimationNodeBlendTree]. If the addition fails, "
"returns [code]false[/code]."
msgstr ""
"Добавляет вход в узел анимации. Это полезно только для узлов анимации, "
"созданных для использования в [AnimationNodeBlendTree]. Если добавление не "
"удается, возвращает [code]false[/code]."
msgid ""
"Blends an animation by [param blend] amount (name must be valid in the linked "
"[AnimationPlayer]). A [param time] and [param delta] may be passed, as well "
"as whether [param seeked] happened.\n"
"A [param looped_flag] is used by internal processing immediately after the "
"loop."
msgstr ""
"Смешивает анимацию по величине [param blend] (имя должно быть допустимым в "
"связанном [AnimationPlayer]). Могут быть переданы [param time] и [param "
"delta], а также произошло ли [param seeked].\n"
"[param looped_flag] используется внутренней обработкой сразу после цикла."
msgid ""
"Blends an input. This is only useful for animation nodes created for an "
"[AnimationNodeBlendTree]. The [param time] parameter is a relative delta, "
"unless [param seek] is [code]true[/code], in which case it is absolute. A "
"filter mode may be optionally passed."
msgstr ""
"Смешивает входные данные. Это полезно только для узлов анимации, созданных "
"для [AnimationNodeBlendTree]. Параметр [param time] является относительной "
"дельтой, если только [param seek] не является [code]true[/code], в этом "
"случае он является абсолютным. Режим фильтра может быть передан опционально."
msgid ""
"Blend another animation node (in case this animation node contains child "
"animation nodes). This function is only useful if you inherit from "
"[AnimationRootNode] instead, otherwise editors will not display your "
"animation node for addition."
msgstr ""
"Смешайте другой узел анимации (в случае, если этот узел анимации содержит "
"дочерние узлы анимации). Эта функция полезна только если вы наследуете от "
"[AnimationRootNode], в противном случае редакторы не будут отображать ваш "
"узел анимации для добавления."
msgid ""
"Returns the input index which corresponds to [param name]. If not found, "
"returns [code]-1[/code]."
msgstr ""
"Возвращает входной индекс, который соответствует [param name]. Если не "
"найден, возвращает [code]-1[/code]."
msgid ""
"Amount of inputs in this animation node, only useful for animation nodes that "
"go into [AnimationNodeBlendTree]."
msgstr ""
"Количество входов в этом узле анимации, полезно только для узлов анимации, "
"которые входят в [AnimationNodeBlendTree]."
msgid "Gets the name of an input by index."
msgstr "Получает имя ввода по индексу."
msgid ""
"Gets the value of a parameter. Parameters are custom local memory used for "
"your animation nodes, given a resource can be reused in multiple trees."
msgstr ""
"Получает значение параметра. Параметры — это настраиваемая локальная память, "
"используемая для ваших узлов анимации, учитывая, что ресурс может быть "
"повторно использован в нескольких деревьях."
msgid ""
"Returns the object id of the [AnimationTree] that owns this node.\n"
"[b]Note:[/b] This method should only be called from within the [method "
"AnimationNodeExtension._process_animation_node] method, and will return an "
"invalid id otherwise."
msgstr ""
"Возвращает идентификатор объекта [AnimationTree], которому принадлежит этот "
"узел.\n"
"[b]Примечание:[/b] Этот метод следует вызывать только из метода [method "
"AnimationNodeExtension._process_animation_node], в противном случае он вернет "
"недействительный идентификатор."
msgid "Returns [code]true[/code] if the given path is filtered."
msgstr "Возвращает [code]true[/code], если указанный путь отфильтрован."
msgid ""
"Returns [code]true[/code] if this animation node is being processed in test-"
"only mode."
msgstr ""
"Возвращает [code]true[/code], если этот узел анимации обрабатывается в "
"тестовом режиме."
msgid "Removes an input, call this only when inactive."
msgstr "Удаляет вход, вызывать только когда неактивен."
msgid "Adds or removes a path for the filter."
msgstr "Добавляет или удаляет путь для фильтра."
msgid ""
"Sets the name of the input at the given [param input] index. If the setting "
"fails, returns [code]false[/code]."
msgstr ""
"Устанавливает имя входа по указанному индексу [param input]. Если настройка "
"не удалась, возвращает [code]false[/code]."
msgid ""
"Sets a custom parameter. These are used as local memory, because resources "
"can be reused across the tree or scenes."
msgstr ""
"Устанавливает пользовательский параметр. Они используются как локальная "
"память, поскольку ресурсы могут повторно использоваться по всему дереву или "
"сценам."
msgid "If [code]true[/code], filtering is enabled."
msgstr "Если [code]true[/code], фильтрация включена."
msgid ""
"Emitted by nodes that inherit from this class and that have an internal tree "
"when one of their animation nodes removes. The animation nodes that emit this "
"signal are [AnimationNodeBlendSpace1D], [AnimationNodeBlendSpace2D], "
"[AnimationNodeStateMachine], and [AnimationNodeBlendTree]."
msgstr ""
"Выдается узлами, которые наследуют этот класс и имеют внутреннее дерево, "
"когда один из их узлов анимации удаляется. Узлы анимации, которые выдают этот "
"сигнал – [AnimationNodeBlendSpace1D], [AnimationNodeBlendSpace2D], "
"[AnimationNodeStateMachine] и [AnimationNodeBlendTree]."
msgid ""
"Emitted by nodes that inherit from this class and that have an internal tree "
"when one of their animation node names changes. The animation nodes that emit "
"this signal are [AnimationNodeBlendSpace1D], [AnimationNodeBlendSpace2D], "
"[AnimationNodeStateMachine], and [AnimationNodeBlendTree]."
msgstr ""
"Выпускается узлами, которые наследуют этот класс и имеют внутреннее дерево, "
"когда изменяется одно из имен их узлов анимации. Узлы анимации, которые "
"выдают этот сигнал – [AnimationNodeBlendSpace1D], "
"[AnimationNodeBlendSpace2D], [AnimationNodeStateMachine] и "
"[AnimationNodeBlendTree]."
msgid ""
"Emitted by [AnimationNodeAnimation] when its [member "
"AnimationNodeAnimation.animation] resource is changed, or by "
"[AnimationNodeBlendTree] when its connections change."
msgstr ""
"Испускается [AnimationNodeAnimation] при изменении ресурса [member "
"AnimationNodeAnimation.animation] или [AnimationNodeBlendTree] при изменении "
"его соединений."
msgid ""
"Emitted by nodes that inherit from this class and that have an internal tree "
"when one of their animation nodes changes. The animation nodes that emit this "
"signal are [AnimationNodeBlendSpace1D], [AnimationNodeBlendSpace2D], "
"[AnimationNodeStateMachine], [AnimationNodeBlendTree] and "
"[AnimationNodeTransition]."
msgstr ""
"Выпускается узлами, которые наследуют этот класс и имеют внутреннее дерево, "
"когда один из их узлов анимации изменяется. Узлы анимации, которые выдают "
"этот сигнал – [AnimationNodeBlendSpace1D], [AnimationNodeBlendSpace2D], "
"[AnimationNodeStateMachine], [AnimationNodeBlendTree] и "
"[AnimationNodeTransition]."
msgid "Do not use filtering."
msgstr "Не использовать фильтрацию."
msgid "Paths matching the filter will be allowed to pass."
msgstr "Пути, соответствующие фильтру, будут пропущены."
msgid "Paths matching the filter will be discarded."
msgstr "Пути, соответствующие фильтру, будут отброшены."
msgid "Paths matching the filter will be blended (by the blend value)."
msgstr "Пути, соответствующие фильтру, будут смешаны (по значению смешивания)."
msgid "Blends two animations additively inside of an [AnimationNodeBlendTree]."
msgstr "Смешивает две анимации аддитивно внутри [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. Blends two animations "
"additively based on the amount value.\n"
"If the amount is greater than [code]1.0[/code], the animation connected to "
"\"in\" port is blended with the amplified animation connected to \"add\" "
"port.\n"
"If the amount is less than [code]0.0[/code], the animation connected to "
"\"in\" port is blended with the inverted animation connected to \"add\" port."
msgstr ""
"Ресурс для добавления в [AnimationNodeBlendTree]. Смешивает две анимации "
"аддитивно на основе значения количества.\n"
"Если количество больше [code]1.0[/code], анимация, подключенная к порту "
"\"in\", смешивается с усиленной анимацией, подключенной к порту \"add\".\n"
"Если количество меньше [code]0.0[/code], анимация, подключенная к порту "
"\"in\", смешивается с инвертированной анимацией, подключенной к порту \"add\"."
msgid ""
"Blends two of three animations additively inside of an "
"[AnimationNodeBlendTree]."
msgstr ""
"Смешивает две из трех анимаций аддитивно внутри [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. Blends two animations out "
"of three additively out of three based on the amount value.\n"
"This animation node has three inputs:\n"
"- The base animation to add to\n"
"- A \"-add\" animation to blend with when the blend amount is negative\n"
"- A \"+add\" animation to blend with when the blend amount is positive\n"
"If the absolute value of the amount is greater than [code]1.0[/code], the "
"animation connected to \"in\" port is blended with the amplified animation "
"connected to \"-add\"/\"+add\" port.\n"
"[b]Note:[/b] The signs are only used to distinguish ports, and additive "
"blending occurs based on absolute values always, meaning the animation of a "
"\"-add\" port does not subtract from the animation of an \"in\" port."
msgstr ""
"Ресурс для добавления в [AnimationNodeBlendTree]. Выполняет аддитивное "
"смешивание двух из трёх анимаций в зависимости от значения параметра amount.\n"
"Данный узел анимации имеет три входа:\n"
"- Базовая анимация, к которой применяется смешивание\n"
"- Анимация \"-add\", смешиваемая при отрицательном значении amount\n"
"- Анимация \"+add\", смешиваемая при положительном значении amount\n"
"Если абсолютное значение amount превышает [code]1.0[/code], анимация, "
"подключённая к порту \"in\", смешивается с усиленной анимацией, подключённой "
"к порту \"-add\"/\"+add\".\n"
"[b]Примечание:[/b] Знаки используются только для различения портов, а "
"аддитивное смешивание всегда происходит на основе абсолютных значений, "
"поэтому анимация с порта \"-add\" не вычитается из анимации порта \"in\"."
msgid "An input animation for an [AnimationNodeBlendTree]."
msgstr "Входная анимация для [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. Only has one output port "
"using the [member animation] property. Used as an input for [AnimationNode]s "
"that blend animations together."
msgstr ""
"Ресурс для добавления в [AnimationNodeBlendTree]. Имеет только один выходной "
"порт, использующий свойство [member animation]. Используется как вход для "
"[AnimationNode], которые смешивают анимации."
msgid "3D Platformer Demo"
msgstr "Демо-версия 3D-платформера"
msgid ""
"If [code]true[/code], on receiving a request to play an animation from the "
"start, the first frame is not drawn, but only processed, and playback starts "
"from the next frame.\n"
"See also the notes of [method AnimationPlayer.play]."
msgstr ""
"Если [code]true[/code], при получении запроса на воспроизведение анимации с "
"начала первый кадр не отрисовывается, а только обрабатывается, и "
"воспроизведение начинается со следующего кадра.\n"
"См. также примечания к [method AnimationPlayer.play]."
msgid ""
"Animation to use as an output. It is one of the animations provided by "
"[member AnimationTree.anim_player]."
msgstr ""
"Анимация для использования в качестве вывода. Это одна из анимаций, "
"предоставленных [member AnimationTree.anim_player]."
msgid ""
"If [member use_custom_timeline] is [code]true[/code], override the loop "
"settings of the original [Animation] resource with the value.\n"
"[b]Note:[/b] If the [member Animation.loop_mode] isn't set to looping, the "
"[method Animation.track_set_interpolation_loop_wrap] option will not be "
"respected. If you cannot get the expected behavior, consider duplicating the "
"[Animation] resource and changing the loop settings."
msgstr ""
"Если [member use_custom_timeline] равен [code]true[/code], переопределите "
"настройки цикла исходного ресурса [Animation] на значение.\n"
"[b]Примечание:[/b] Если [member Animation.loop_mode] не установлен на цикл, "
"параметр [method Animation.track_set_interpolation_loop_wrap] не будет "
"учитываться. Если вы не можете получить ожидаемое поведение, рассмотрите "
"возможность дублирования ресурса [Animation] и изменения настроек цикла."
msgid "Determines the playback direction of the animation."
msgstr "Определяет направление воспроизведения анимации."
msgid ""
"If [member use_custom_timeline] is [code]true[/code], offset the start "
"position of the animation.\n"
"This is useful for adjusting which foot steps first in 3D walking animations."
msgstr ""
"Если [member use_custom_timeline] равно [code]true[/code], сместите начальную "
"позицию анимации. \n"
"Это полезно для настройки того, какая нога ступает первой в 3D-анимации "
"ходьбы."
msgid ""
"If [code]true[/code], scales the time so that the length specified in [member "
"timeline_length] is one cycle.\n"
"This is useful for matching the periods of walking and running animations.\n"
"If [code]false[/code], the original animation length is respected. If you set "
"the loop to [member loop_mode], the animation will loop in [member "
"timeline_length]."
msgstr ""
"Если [code]true[/code], масштабирует время так, чтобы длина, указанная в "
"[member timeline_length], была одним циклом.\n"
"Это полезно для сопоставления периодов анимации ходьбы и бега.\n"
"Если [code]false[/code], исходная длина анимации соблюдается. Если установить "
"цикл на [member loop_mode], анимация будет циклично повторяться в [member "
"timeline_length]."
msgid ""
"The length of the custom timeline.\n"
"If [member stretch_time_scale] is [code]true[/code], scales the animation to "
"this length."
msgstr ""
"Длительность пользовательской временной шкалы.\n"
"Если [member stretch_time_scale] имеет значение [code]true[/code], анимация "
"масштабируется до этой длительности."
msgid ""
"If [code]true[/code], [AnimationNode] provides an animation based on the "
"[Animation] resource with some parameters adjusted."
msgstr ""
"Если [code]true[/code], [AnimationNode] предоставляет анимацию на основе "
"ресурса [Animation] с некоторыми скорректированными параметрами."
msgid "Plays animation in forward direction."
msgstr "Воспроизводит анимацию в прямом направлении."
msgid "Plays animation in backward direction."
msgstr "Воспроизводит анимацию в обратном направлении."
msgid "Blends two animations linearly inside of an [AnimationNodeBlendTree]."
msgstr "Смешивает две анимации линейно внутри [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. Blends two animations "
"linearly based on the amount value.\n"
"In general, the blend value should be in the [code][0.0, 1.0][/code] range. "
"Values outside of this range can blend amplified or inverted animations, "
"however, [AnimationNodeAdd2] works better for this purpose."
msgstr ""
"Ресурс для добавления в [AnimationNodeBlendTree]. Смешивает две анимации "
"линейно на основе значения количества.\n"
"В общем случае значение смешивания должно быть в диапазоне [code][0.0, 1.0][/"
"code]. Значения за пределами этого диапазона могут смешивать усиленные или "
"инвертированные анимации, однако [AnimationNodeAdd2] подходит для этой цели "
"лучше."
msgid ""
"Blends two of three animations linearly inside of an [AnimationNodeBlendTree]."
msgstr "Смешивает две из трех анимаций линейно внутри [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. Blends two animations out "
"of three linearly out of three based on the amount value.\n"
"This animation node has three inputs:\n"
"- The base animation to blend with\n"
"- A \"-blend\" animation to blend with when the blend amount is negative "
"value\n"
"- A \"+blend\" animation to blend with when the blend amount is positive "
"value\n"
"In general, the blend value should be in the [code][-1.0, 1.0][/code] range. "
"Values outside of this range can blend amplified animations, however, "
"[AnimationNodeAdd3] works better for this purpose."
msgstr ""
"Ресурс для добавления в [AnimationNodeBlendTree]. Смешивает две анимации из "
"трех линейно из трех на основе значения количества.\n"
"Этот узел анимации имеет три входа:\n"
"- Базовая анимация для смешивания\n"
"- Анимация \"-blend\" для смешивания, когда количество смешивания "
"отрицательное\n"
"- Анимация \"+blend\" для смешивания, когда количество смешивания "
"положительное\n"
"В общем, значение смешивания должно быть в диапазоне [code][-1.0, 1.0][/"
"code]. Значения за пределами этого диапазона могут смешивать усиленные "
"анимации, однако [AnimationNodeAdd3] подходит для этой цели лучше."
msgid ""
"A set of [AnimationRootNode]s placed on a virtual axis, crossfading between "
"the two adjacent ones. Used by [AnimationTree]."
msgstr ""
"Набор [AnimationRootNode], размещенных на виртуальной оси, плавно переходящих "
"между двумя соседними. Используется [AnimationTree]."
msgid ""
"A resource used by [AnimationNodeBlendTree].\n"
"[AnimationNodeBlendSpace1D] represents a virtual axis on which any type of "
"[AnimationRootNode]s can be added using [method add_blend_point]. Outputs the "
"linear blend of the two [AnimationRootNode]s adjacent to the current value.\n"
"You can set the extents of the axis with [member min_space] and [member "
"max_space].\n"
"\n"
"Optionally, signals can be used by setting an "
"[AnimationNodeObserverBlendSpace] through [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = tree.get(\"parameters/BlendSpace/observer\")\n"
"observer.closest_point_changed.connect(on_closest_point_changed)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/BlendSpace/"
"observer\").As<AnimationNodeObserverBlendSpace>();\n"
"observer.ClosestPointChanged += OnClosestPointChanged;\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Ресурс, используемый в [AnimationNodeBlendTree].\n"
"[AnimationNodeBlendSpace1D] представляет собой виртуальную ось, на которую "
"можно добавить любые типы [AnimationRootNode] с помощью метода [method "
"add_blend_point]. Узел выводит результат линейного смешивания двух "
"[AnimationRootNode], расположенных ближе всего к текущему значению на оси.\n"
"Границы этой оси можно задать с помощью свойств [member min_space] и [member "
"max_space].\n"
"\n"
"Также можно использовать сигналы, настроив [AnimationNodeObserverBlendSpace] "
"через [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = tree.get(\"parameters/BlendSpace/observer\")\n"
"observer.closest_point_changed.connect(on_closest_point_changed)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/BlendSpace/"
"observer\").As<AnimationNodeObserverBlendSpace>();\n"
"observer.ClosestPointChanged += OnClosestPointChanged;\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Adds a new point with [param name] that represents a [param node] on the "
"virtual axis at a given position set by [param pos]. You can insert it at a "
"specific index using the [param at_index] argument. If you use the default "
"value for [param at_index], the point is inserted at the end of the blend "
"points array.\n"
"[b]Note:[/b] If no name is provided, safe index is used as reference. In the "
"future, empty names will be deprecated, so explicitly passing a name is "
"recommended."
msgstr ""
"Добавляет новую точку с именем [param name], соответствующую узлу [param "
"node] на виртуальной оси в позиции, заданной параметром [param pos]. Вы "
"можете вставить её в указанный индекс, используя аргумент [param at_index]. "
"Если оставить значение по умолчанию для [param at_index], точка будет "
"добавлена в конец массива точек смешивания.\n"
"[b]Примечание:[/b] Если имя не указано, в качестве идентификатора "
"используется индекс. В будущем пустые имена будут объявлены устаревшими, "
"поэтому рекомендуется явно передавать имя."
msgid ""
"Returns the index of the blend point with the given [param name]. Returns "
"[code]-1[/code] if no blend point with that name is found."
msgstr ""
"Возвращает индекс точки смешения с заданным [param name]. Возвращает "
"[code]-1[/code], если точка смешения с таким именем не найдена."
msgid "Returns the number of points on the blend axis."
msgstr "Возвращает количество точек на оси смешивания."
msgid "Returns the name of the blend point at index [param point]."
msgstr "Возвращает имя точки смешения по индексу [param point]."
msgid ""
"Returns the [AnimationNode] referenced by the point at index [param point]."
msgstr ""
"Возвращает [AnimationNode], на который ссылается точка с индексом [param "
"point]."
msgid "Returns the position of the point at index [param point]."
msgstr "Возвращает положение точки с индексом [param point]."
msgid "Removes the point at index [param point] from the blend axis."
msgstr "Удаляет точку с индексом [param point] из оси смешивания."
msgid ""
"Swaps the blend points at indices [param from_index] and [param to_index], "
"exchanging their positions and properties."
msgstr ""
"Меняет местами точки смешивания в индексах [param from_index] и [param "
"to_index], заменив их позиции и свойства."
msgid ""
"Sets the name of the blend point at index [param point]. If the name "
"conflicts with an existing point, a unique name will be generated "
"automatically."
msgstr ""
"Задает имя точки смешивания по индексу [param point]. Если имя конфликтует с "
"существующей точкой, будет автоматически сгенерировано уникальное имя."
msgid ""
"Changes the [AnimationNode] referenced by the point at index [param point]."
msgstr ""
"Изменяет [AnimationNode], на который ссылается точка с индексом [param point]."
msgid ""
"Updates the position of the point at index [param point] on the blend axis."
msgstr "Обновляет положение точки с индексом [param point] на оси смешивания."
msgid "Controls the interpolation between animations."
msgstr "Управляет интерполяцией между анимациями."
msgid ""
"The cycle length in seconds used by [constant SYNC_MODE_CYCLIC_CONSTANT]. All "
"animations are time-scaled so they complete one full cycle in this duration. "
"Must be greater than [code]0[/code] for cyclic sync to take effect."
msgstr ""
"Длительность цикла в секундах, используемая [constant "
"SYNC_MODE_CYCLIC_CONSTANT]. Все анимации масштабируются по времени таким "
"образом, чтобы за этот период они завершили один полный цикл. Для применения "
"циклической синхронизации значение должно быть больше [code]0[/code]."
msgid ""
"The blend space's axis's upper limit for the points' position. See [method "
"add_blend_point]."
msgstr ""
"Верхний предел оси пространства смешивания для положения точек. См. [method "
"add_blend_point]."
msgid ""
"The blend space's axis's lower limit for the points' position. See [method "
"add_blend_point]."
msgstr ""
"Нижний предел оси пространства смешивания для положения точек. См. [method "
"add_blend_point]."
msgid "Position increment to snap to when moving a point on the axis."
msgstr "Приращение позиции для привязки при перемещении точки по оси."
msgid "Use [member sync_mode] instead."
msgstr "Вместо этого используйте [member sync_mode]."
msgid ""
"If [code]true[/code], sync mode is enabled (equivalent to [constant "
"SYNC_MODE_INDEPENDENT]). This property is kept for backward compatibility."
msgstr ""
"Если [code]true[/code], режим синхронизации включен (эквивалентно [constant "
"SYNC_MODE_INDEPENDENT]). Это свойство сохранено для обратной совместимости."
msgid ""
"Controls how animations are synced when blended. See [enum SyncMode] for "
"available options."
msgstr ""
"Управляет синхронизацией анимаций при смешивании. См. [enum SyncMode] для "
"получения информации о доступных параметрах."
msgid "Label of the virtual axis of the blend space."
msgstr "Метка виртуальной оси пространства смешивания."
msgid "The interpolation between animations is linear."
msgstr "Интерполяция между анимациями линейная."
msgid ""
"The blend space plays the animation of the animation node which blending "
"position is closest to. Useful for frame-by-frame 2D animations."
msgstr ""
"Пространство смешивания воспроизводит анимацию узла анимации, к которому "
"ближе всего позиция смешивания. Полезно для покадровой 2D-анимации."
msgid ""
"Similar to [constant BLEND_MODE_DISCRETE], but starts the new animation at "
"the last animation's playback position."
msgstr ""
"Аналогично [constant BLEND_MODE_DISCRETE], но запускает новую анимацию с "
"позиции воспроизведения последней анимации."
msgid "Inactive animations are frozen and do not advance."
msgstr "Неактивные анимации замораживаются и не переходят к следующему этапу."
msgid ""
"Inactive animations advance with a weight of [code]0[/code]. This is "
"equivalent to the previous [code]sync = true[/code] behavior."
msgstr ""
"Неактивные анимации продвигаются с весом [code]0[/code]. Это эквивалентно "
"предыдущему поведению [code]sync = true[/code]."
msgid ""
"All animations are time-scaled so they stay in sync, with the cycle length "
"dynamically computed from active blend weights. This is self-normalizing: a "
"solo animation plays at normal speed.\n"
"[b]Note:[/b] If you apply [AnimationNodeTimeSeek] to the result when handling "
"animations of different lengths, synchronization will be broken. In such "
"cases, it is recommended to use [member "
"AnimationNodeAnimation.use_custom_timeline] to align the animation lengths."
msgstr ""
"Все анимации масштабируются по времени, чтобы оставаться синхронизированными, "
"при этом длительность цикла динамически вычисляется на основе активных весов "
"смешивания. Это самонормализация: отдельная анимация воспроизводится с "
"нормальной скоростью.\n"
"[b]Примечание:[/b] Если вы примените [AnimationNodeTimeSeek] к результату при "
"обработке анимаций разной длины, синхронизация будет нарушена. В таких "
"случаях рекомендуется использовать [member "
"AnimationNodeAnimation.use_custom_timeline] для выравнивания длительности "
"анимаций."
msgid ""
"All animations are time-scaled so they complete one cycle in [member "
"cyclic_length] seconds, keeping them in sync regardless of their individual "
"lengths.\n"
"[b]Note:[/b] If you apply [AnimationNodeTimeSeek] to the result when handling "
"animations of different lengths, synchronization will be broken. In such "
"cases, it is recommended to use [member "
"AnimationNodeAnimation.use_custom_timeline] to align the animation lengths."
msgstr ""
"Все анимации масштабируются по времени таким образом, что каждый цикл "
"завершается за [member cyclic_length] секунд, что обеспечивает их "
"синхронизацию независимо от их индивидуальной длины.\n"
"[b]Примечание:[/b] Если вы примените [AnimationNodeTimeSeek] к результату при "
"обработке анимаций разной длины, синхронизация будет нарушена. В таких "
"случаях рекомендуется использовать [member "
"AnimationNodeAnimation.use_custom_timeline] для выравнивания длительности "
"анимаций."
msgid ""
"A set of [AnimationRootNode]s placed on 2D coordinates, crossfading between "
"the three adjacent ones. Used by [AnimationTree]."
msgstr ""
"Набор [AnimationRootNode], размещенных в 2D-координатах, плавно переходящих "
"между тремя соседними. Используется [AnimationTree]."
msgid ""
"A resource used by [AnimationNodeBlendTree].\n"
"[AnimationNodeBlendSpace2D] represents a virtual 2D space on which "
"[AnimationRootNode]s are placed. Outputs the linear blend of the three "
"adjacent animations using a [Vector2] weight. Adjacent in this context means "
"the three [AnimationRootNode]s making up the triangle that contains the "
"current value.\n"
"You can add vertices to the blend space with [method add_blend_point] and "
"automatically triangulate it by setting [member auto_triangles] to "
"[code]true[/code]. Otherwise, use [method add_triangle] and [method "
"remove_triangle] to triangulate the blend space by hand.\n"
"\n"
"Optionally, signals can be used by setting an "
"[AnimationNodeObserverBlendSpace] through [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = tree.get(\"parameters/BlendSpace/observer\")\n"
"observer.closest_point_changed.connect(on_closest_point_changed)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/BlendSpace/"
"observer\").As<AnimationNodeObserverBlendSpace>();\n"
"observer.ClosestPointChanged += OnClosestPointChanged;\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Ресурс, используемый [AnimationNodeBlendTree].\n"
"[AnimationNodeBlendSpace2D] представляет собой виртуальное 2D-пространство, "
"на котором размещаются [AnimationRootNode]. Выводит линейное смешение трех "
"смежных анимаций, используя вес [Vector2]. В данном контексте «смежные» "
"означают три [AnimationRootNode], образующие треугольник, содержащий текущее "
"значение.\n"
"Вы можете добавить вершины в пространство смешения с помощью [method "
"add_blend_point] и автоматически триангулировать его, установив [member "
"auto_triangles] в [code]true[/code]. В противном случае используйте [method "
"add_triangle] и [method remove_triangle] для триангуляции пространства "
"смешения вручную.\n"
"\n"
"При желании можно использовать сигналы, установив "
"[AnimationNodeObserverBlendSpace] через [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = tree.get(\"parameters/BlendSpace/observer\")\n"
"observer.closest_point_changed.connect(on_closest_point_changed)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/BlendSpace/"
"observer\").As<AnimationNodeObserverBlendSpace>();\n"
"observer.ClosestPointChanged += OnClosestPointChanged;\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Adds a new point with [param name] that represents a [param node] at the "
"position set by [param pos]. You can insert it at a specific index using the "
"[param at_index] argument. If you use the default value for [param at_index], "
"the point is inserted at the end of the blend points array.\n"
"[b]Note:[/b] If no name is provided, safe index is used as reference. In the "
"future, empty names will be deprecated, so explicitly passing a name is "
"recommended."
msgstr ""
"Добавляет новую точку [param name], представляющую [param node] в позиции, "
"заданной [param pos]. Вы можете вставить ее по определенному индексу, "
"используя аргумент [param at_index]. Если вы используете значение по "
"умолчанию для [param at_index], точка будет вставлена в конец массива точек "
"смешивания.\n"
"[b]Примечание:[/b] Если имя не указано, в качестве ссылки используется "
"безопасный индекс. В будущем пустые имена будут считаться устаревшими, "
"поэтому рекомендуется явно указывать имя."
msgid ""
"Creates a new triangle using three points [param x], [param y], and [param "
"z]. Triangles can overlap. You can insert the triangle at a specific index "
"using the [param at_index] argument. If you use the default value for [param "
"at_index], the point is inserted at the end of the blend points array."
msgstr ""
"Создает новый треугольник, используя три точки [param x], [param y] и [param "
"z]. Треугольники могут перекрываться. Вы можете вставить треугольник в "
"определенный индекс, используя аргумент [param at_index]. Если вы используете "
"значение по умолчанию для [param at_index], точка вставляется в конец массива "
"точек смешивания."
msgid "Returns the number of points in the blend space."
msgstr "Возвращает количество точек в пространстве смешивания."
msgid ""
"Returns the [AnimationRootNode] referenced by the point at index [param "
"point]."
msgstr ""
"Возвращает [AnimationRootNode], на который ссылается точка с индексом [param "
"point]."
msgid "Returns the number of triangles in the blend space."
msgstr "Возвращает количество треугольников в пространстве смешивания."
msgid ""
"Returns the position of the point at index [param point] in the triangle of "
"index [param triangle]."
msgstr ""
"Возвращает положение точки с индексом [param point] в треугольнике с индексом "
"[param triangle]."
msgid "Removes the point at index [param point] from the blend space."
msgstr "Удаляет точку с индексом [param point] из пространства смешивания."
msgid "Removes the triangle at index [param triangle] from the blend space."
msgstr ""
"Удаляет треугольник с индексом [param triangle] из пространства смешивания."
msgid ""
"Updates the position of the point at index [param point] in the blend space."
msgstr ""
"Обновляет положение точки с индексом [param point] в пространстве смешивания."
msgid ""
"If [code]true[/code], the blend space is triangulated automatically. The mesh "
"updates every time you add or remove points with [method add_blend_point] and "
"[method remove_blend_point]."
msgstr ""
"Если [code]true[/code], пространство смешивания триангулируется "
"автоматически. Сетка обновляется каждый раз, когда вы добавляете или удаляете "
"точки с помощью [method add_blend_point] и [method remove_blend_point]."
msgid ""
"The blend space's X and Y axes' upper limit for the points' position. See "
"[method add_blend_point]."
msgstr ""
"Верхний предел осей X и Y пространства смешивания для положения точек. См. "
"[method add_blend_point]."
msgid ""
"The blend space's X and Y axes' lower limit for the points' position. See "
"[method add_blend_point]."
msgstr ""
"Нижний предел осей X и Y пространства смешивания для положения точек. См. "
"[method add_blend_point]."
msgid "Position increment to snap to when moving a point."
msgstr "Приращение позиции для привязки при перемещении точки."
msgid "Name of the blend space's X axis."
msgstr "Имя оси X пространства смешивания."
msgid "Name of the blend space's Y axis."
msgstr "Имя оси Y пространства смешивания."
msgid ""
"Emitted every time the blend space's triangles are created, removed, or when "
"one of their vertices changes position."
msgstr ""
"Вызывается каждый раз, когда создаются, удаляются треугольники пространства "
"смешивания или когда одна из их вершин меняет положение."
msgid ""
"A sub-tree of many type [AnimationNode]s used for complex animations. Used by "
"[AnimationTree]."
msgstr ""
"Поддерево многих типов [AnimationNode], используемых для сложных анимаций. "
"Используется [AnimationTree]."
msgid ""
"This animation node may contain a sub-tree of any other type animation nodes, "
"such as [AnimationNodeTransition], [AnimationNodeBlend2], "
"[AnimationNodeBlend3], [AnimationNodeOneShot], etc. This is one of the most "
"commonly used animation node roots.\n"
"An [AnimationNodeOutput] node named [code]output[/code] is created by default."
msgstr ""
"Этот узел анимации может содержать поддерево любых других узлов анимации, "
"таких как [AnimationNodeTransition], [AnimationNodeBlend2], "
"[AnimationNodeBlend3], [AnimationNodeOneShot] и т. д. Это один из наиболее "
"часто используемых корней узлов анимации.\n"
"Узел [AnimationNodeOutput] с именем [code]output[/code] создается по "
"умолчанию."
msgid ""
"Adds an [AnimationNode] at the given [param position]. The [param name] is "
"used to identify the created sub animation node later."
msgstr ""
"Добавляет [AnimationNode] в указанную [param position]. [param name] "
"используется для идентификации созданного подузла анимации в дальнейшем."
msgid ""
"Connects the output of an [AnimationNode] as input for another "
"[AnimationNode], at the input port specified by [param input_index]."
msgstr ""
"Подключает выход [AnimationNode] в качестве входа для другого [AnimationNode] "
"к порту входа, указанному [param input_index]."
msgid "Disconnects the animation node connected to the specified input."
msgstr "Отключает узел анимации, подключенный к указанному входу."
msgid "Returns the sub animation node with the specified [param name]."
msgstr "Возвращает узел поданимации с указанным [param name]."
msgid ""
"Returns a list containing the names of all sub animation nodes in this blend "
"tree."
msgstr ""
"Возвращает список, содержащий имена всех узлов поданимации в этом дереве "
"смешивания."
msgid ""
"Returns the position of the sub animation node with the specified [param "
"name]."
msgstr "Возвращает позицию узла поданимации с указанным [param name]."
msgid ""
"Returns [code]true[/code] if a sub animation node with specified [param name] "
"exists."
msgstr ""
"Возвращает [code]true[/code], если существует узел поданимации с указанным "
"[param name]."
msgid "Removes a sub animation node."
msgstr "Удаляет подузел анимации."
msgid "Changes the name of a sub animation node."
msgstr "Изменяет имя подузла анимации."
msgid "Modifies the position of a sub animation node."
msgstr "Изменяет положение узла поданимации."
msgid "The global offset of all sub animation nodes."
msgstr "Глобальное смещение всех узлов поданимации."
msgid "Emitted when the input port information is changed."
msgstr "Выдается при изменении информации входного порта."
msgid "The connection was successful."
msgstr "Соединение было успешно установлено."
msgid "The input node is [code]null[/code]."
msgstr "Входной узел — [code]null[/code]."
msgid "The specified input port is out of range."
msgstr "Указанный входной порт находится вне диапазона."
msgid "The output node is [code]null[/code]."
msgstr "Выходной узел — [code]null[/code]."
msgid "Input and output nodes are the same."
msgstr "Входные и выходные узлы одинаковы."
msgid "The specified connection already exists."
msgstr "Указанное соединение уже существует."
msgid "Base class for extending [AnimationRootNode]s from GDScript, C#, or C++."
msgstr ""
"Базовый класс для расширения [AnimationRootNode] из GDScript, C# или C++."
msgid ""
"[AnimationNodeExtension] exposes the APIs of [AnimationRootNode] to allow "
"users to extend it from GDScript, C#, or C++. This class is not meant to be "
"used directly, but to be extended by other classes. It is used to create "
"custom nodes for the [AnimationTree] system."
msgstr ""
"[AnimationNodeExtension] раскрывает API [AnimationRootNode], позволяя "
"пользователям расширять его из GDScript, C# или C++. Этот класс не "
"предназначен для прямого использования, а для расширения другими классами. Он "
"используется для создания пользовательских узлов для системы [AnimationTree]."
msgid ""
"A version of the [method AnimationNode._process] method that is meant to be "
"overridden by custom nodes. It returns a [PackedFloat32Array] with the "
"processed animation data.\n"
"The [PackedFloat64Array] parameter contains the playback information, "
"containing the following values encoded as floating point numbers (in order): "
"playback time and delta, start and end times, whether a seek was requested "
"(encoded as a float greater than [code]0[/code]), whether the seek request "
"was externally requested (encoded as a float greater than [code]0[/code]), "
"the current [enum Animation.LoopedFlag] (encoded as a float), and the current "
"blend weight.\n"
"The function must return a [PackedFloat32Array] of the node's time info, "
"containing the following values (in order): animation length, time position, "
"delta, [enum Animation.LoopMode] (encoded as a float), whether the animation "
"is about to end (encoded as a float greater than [code]0[/code]) and whether "
"the animation is infinite (encoded as a float greater than [code]0[/code]). "
"All values must be included in the returned array."
msgstr ""
"Версия метода [method AnimationNode._process], которая должна быть "
"переопределена пользовательскими узлами. Возвращает [PackedFloat32Array] с "
"обработанными данными анимации.\n"
"Параметр [PackedFloat64Array] содержит информацию о воспроизведении, "
"включающую следующие значения, закодированные как числа с плавающей точкой "
"(по порядку): время воспроизведения и дельта, время начала и окончания, был "
"ли запрошен поиск (закодирован как число с плавающей точкой больше [code]0[/"
"code]), был ли запрос поиска запрошен извне (закодирован как число с "
"плавающей точкой больше [code]0[/code]), текущий [enum Animation.LoopedFlag] "
"(закодирован как число с плавающей точкой) и текущий вес смешивания.\n"
"Функция должна возвращать [PackedFloat32Array] временной информации узла, "
"содержащей следующие значения (по порядку): длина анимации, временная "
"позиция, дельта, [enum Animation.LoopMode] (закодировано как float), "
"заканчивается ли анимация (закодировано как float больше [code]0[/code]) и "
"бесконечна ли анимация (закодировано как float больше [code]0[/code]). Все "
"значения должны быть включены в возвращаемый массив."
msgid ""
"Returns the animation's remaining time for the given node info. For looping "
"animations, it will only return the remaining time if [param break_loop] is "
"[code]true[/code], a large integer value will be returned otherwise."
msgstr ""
"Возвращает оставшееся время анимации для заданной информации узла. Для "
"циклических анимаций оставшееся время будет возвращено только если [param "
"break_loop] равен [code]true[/code], в противном случае будет возвращено "
"большое целочисленное значение."
msgid ""
"Returns [code]true[/code] if the animation for the given [param node_info] is "
"looping."
msgstr ""
"Возвращает [code]true[/code], если анимация для заданного [param node_info] "
"является циклической."
msgid ""
"Base class for observer types which relay [AnimationNode] events for a "
"particular [AnimationTree] node."
msgstr ""
"Базовый класс для типов-наблюдателей, которые транслируют события "
"[AnimationNode] для конкретного узла [AnimationTree]."
msgid ""
"Observer for events from [AnimationNodeBlendSpace1D] and "
"[AnimationNodeBlendSpace2D] instances."
msgstr ""
"Наблюдатель за событиями от экземпляров [AnimationNodeBlendSpace1D] и "
"[AnimationNodeBlendSpace2D]."
msgid "Emitted when the closest point to the current blend position changes."
msgstr ""
"Излучается при изменении ближайшей точки относительно текущей позиции "
"смешивания."
msgid "Observer for events from [AnimationNodeOneShot] instances."
msgstr "Наблюдатель за событиями от экземпляров [AnimationNodeOneShot]."
msgid ""
"Emitted when the one-shot has finished fading in. Only emitted if fade-in "
"time is greater than zero."
msgstr ""
"Излучается по завершении плавного появления (fade-in) однократного звукового "
"сигнала. Генерируется только в том случае, если длительность плавного "
"появления больше нуля."
msgid ""
"Emitted when the one-shot has started fading out. Only emitted if fade-out "
"time is greater than zero."
msgstr ""
"Излучается в момент начала затухания однократного звукового сигнала. "
"Генерируется только в том случае, если время затухания больше нуля."
msgid "Emitted when the one-shot has finished."
msgstr "Излучается по завершении однократного действия."
msgid "Emitted when the one-shot has started."
msgstr "Излучается при запуске однократного действия."
msgid "Observer for events from [AnimationNodeTransition] instances."
msgstr "Наблюдатель за событиями от экземпляров [AnimationNodeTransition]."
msgid ""
"Emitted when transitioning out of a state. If crossfade time is greater than "
"zero, emits when the crossfade finishes. Otherwise, emits immediately before "
"[signal state_started] emits for the new state."
msgstr ""
"Генерируется при выходе из состояния. Если время перекрестного перехода "
"(crossfade) больше нуля, сигнал отправляется по завершении этого перехода. В "
"противном случае он отправляется непосредственно перед тем, как для нового "
"состояния будет сгенерирован сигнал [signal state_started]."
msgid "Emitted when a transition to a new state starts."
msgstr "Генерируется при начале перехода в новое состояние."
msgid "Plays an animation once in an [AnimationNodeBlendTree]."
msgstr "Воспроизводит анимацию один раз в [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. This animation node will "
"execute a sub-animation and return once it finishes. Blend times for fading "
"in and out can be customized, as well as filters.\n"
"After setting the request and changing the animation playback, the one-shot "
"node automatically clears the request on the next process frame by setting "
"its [code]request[/code] value to [constant ONE_SHOT_REQUEST_NONE].\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Play child animation connected to \"shot\" port.\n"
"animation_tree.set(\"parameters/OneShot/request\", "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE)\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/OneShot/request\"] = "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE\n"
"\n"
"# Abort child animation connected to \"shot\" port.\n"
"animation_tree.set(\"parameters/OneShot/request\", "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_ABORT)\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/OneShot/request\"] = "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_ABORT\n"
"\n"
"# Abort child animation with fading out connected to \"shot\" port.\n"
"animation_tree.set(\"parameters/OneShot/request\", "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FADE_OUT)\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/OneShot/request\"] = "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FADE_OUT\n"
"\n"
"# Get current state (read-only).\n"
"animation_tree.get(\"parameters/OneShot/active\")\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/OneShot/active\"]\n"
"\n"
"# Get current internal state (read-only).\n"
"animation_tree.get(\"parameters/OneShot/internal_active\")\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/OneShot/internal_active\"]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Play child animation connected to \"shot\" port.\n"
"animationTree.Set(\"parameters/OneShot/request\", "
"(int)AnimationNodeOneShot.OneShotRequest.Fire);\n"
"\n"
"// Abort child animation connected to \"shot\" port.\n"
"animationTree.Set(\"parameters/OneShot/request\", "
"(int)AnimationNodeOneShot.OneShotRequest.Abort);\n"
"\n"
"// Abort child animation with fading out connected to \"shot\" port.\n"
"animationTree.Set(\"parameters/OneShot/request\", "
"(int)AnimationNodeOneShot.OneShotRequest.FadeOut);\n"
"\n"
"// Get current state (read-only).\n"
"animationTree.Get(\"parameters/OneShot/active\");\n"
"\n"
"// Get current internal state (read-only).\n"
"animationTree.Get(\"parameters/OneShot/internal_active\");\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Optionally, signals can be used by setting an [AnimationNodeObserverOneShot] "
"through [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = tree.get(\"parameters/OneShot/observer\")\n"
"observer.started.connect(on_one_shot_started)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/OneShot/"
"observer\").As<AnimationNodeObserverOneShot>();\n"
"observer.Started += OnOneShotStarted;\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Ресурс, который можно добавить в [AnimationNodeBlendTree]. Этот узел анимации "
"выполняет вложенную анимацию и завершает работу по её окончании. Можно "
"настроить время плавного появления и исчезновения (fading in/out), а также "
"применить фильтры.\n"
"После подачи запроса и запуска воспроизведения анимации узел «однократного "
"выполнения» (one-shot node) автоматически сбрасывает запрос на следующем "
"кадре обработки, устанавливая значение [code]request[/code] в [constant "
"ONE_SHOT_REQUEST_NONE].\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Запустите дочернюю анимацию, подключенную к порту «shot».\n"
"animation_tree.set(\"parameters/OneShot/request\", "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE)\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/OneShot/request\"] = "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FIRE\n"
"\n"
"# Прервать дочернюю анимацию, связанную с портом «shot».\n"
"animation_tree.set(\"parameters/OneShot/request\", "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_ABORT)\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/OneShot/request\"] = "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_ABORT\n"
"\n"
"# Прервать дочернюю анимацию с эффектом постепенного исчезновения, связанную "
"с портом «shot».\n"
"animation_tree.set(\"parameters/OneShot/request\", "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FADE_OUT)\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/OneShot/request\"] = "
"AnimationNodeOneShot.ONE_SHOT_REQUEST_FADE_OUT\n"
"\n"
"# Получить текущее состояние (только для чтения).\n"
"animation_tree.get(\"parameters/OneShot/active\")\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/OneShot/active\"]\n"
"\n"
"# Получить текущее внутреннее состояние (только для чтения).\n"
"animation_tree.get(\"parameters/OneShot/internal_active\")\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/OneShot/internal_active\"]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Запустите дочернюю анимацию, подключенную к порту «shot».\n"
"animationTree.Set(\"parameters/OneShot/request\", "
"(int)AnimationNodeOneShot.OneShotRequest.Fire);\n"
"\n"
"// Прервать дочернюю анимацию, связанную с портом «shot».\n"
"animationTree.Set(\"parameters/OneShot/request\", "
"(int)AnimationNodeOneShot.OneShotRequest.Abort);\n"
"\n"
"// Прервать дочернюю анимацию с эффектом постепенного исчезновения, связанную "
"с портом «shot».\n"
"animationTree.Set(\"parameters/OneShot/request\", "
"(int)AnimationNodeOneShot.OneShotRequest.FadeOut);\n"
"\n"
"// Получить текущее состояние (только для чтения).\n"
"animationTree.Get(\"parameters/OneShot/active\");\n"
"\n"
"// Получить текущее внутреннее состояние (только для чтения).\n"
"animationTree.Get(\"parameters/OneShot/internal_active\");\n"
"[/csharp]\n"
"[/codeblocks]\n"
"При необходимости можно использовать сигналы, задав "
"[AnimationNodeObserverOneShot] через [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = tree.get(\"parameters/OneShot/observer\")\n"
"observer.started.connect(on_one_shot_started)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/OneShot/"
"observer\").As<AnimationNodeObserverOneShot>();\n"
"observer.Started += OnOneShotStarted;\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"If [code]true[/code], the sub-animation will abort if resumed with a reset "
"after a prior interruption."
msgstr ""
"Если [code]true[/code], то при возобновлении анимации с перезагрузкой после "
"предыдущего прерывания, она будет прервана."
msgid ""
"If [code]true[/code], the sub-animation will restart automatically after "
"finishing.\n"
"In other words, to start auto restarting, the animation must be played once "
"with the [constant ONE_SHOT_REQUEST_FIRE] request. The [constant "
"ONE_SHOT_REQUEST_ABORT] request stops the auto restarting, but it does not "
"disable the [member autorestart] itself. So, the [constant "
"ONE_SHOT_REQUEST_FIRE] request will start auto restarting again."
msgstr ""
"Если [code]true[/code], суб-анимация автоматически перезапустится после "
"завершения.\n"
"Другими словами, чтобы начать автоматический перезапуск, анимация должна быть "
"воспроизведена один раз с запросом [constant ONE_SHOT_REQUEST_FIRE]. Запрос "
"[constant ONE_SHOT_REQUEST_ABORT] останавливает автоматический перезапуск, но "
"он не отключает сам [member autorestart]. Таким образом, запрос [constant "
"ONE_SHOT_REQUEST_FIRE] снова запустит автоматический перезапуск."
msgid "The delay after which the automatic restart is triggered, in seconds."
msgstr ""
"Задержка, после которой срабатывает автоматический перезапуск, в секундах."
msgid ""
"If [member autorestart] is [code]true[/code], a random additional delay (in "
"seconds) between 0 and this value will be added to [member autorestart_delay]."
msgstr ""
"Если [member autorestart] имеет значение [code]true[/code], к [member "
"autorestart_delay] будет добавлена случайная дополнительная задержка (в "
"секундах) между 0 и этим значением."
msgid ""
"If [code]true[/code], breaks the loop at the end of the loop cycle for "
"transition, even if the animation is looping."
msgstr ""
"Если [code]true[/code], прерывает цикл в конце цикла перехода, даже если "
"анимация зациклена."
msgid ""
"Determines how cross-fading between animations is eased. If empty, the "
"transition will be linear. Should be a unit [Curve]."
msgstr ""
"Определяет, как плавно смягчается перекрестное затухание между анимациями. "
"Если пусто, переход будет линейным. Должен быть единицей [Curve]."
msgid ""
"The fade-in duration. For example, setting this to [code]1.0[/code] for a 5 "
"second length animation will produce a cross-fade that starts at 0 second and "
"ends at 1 second during the animation.\n"
"[b]Note:[/b] [AnimationNodeOneShot] transitions the current state after the "
"fading has finished."
msgstr ""
"Длительность начального затухания. Например, если задать значение [code]1.0[/"
"code] для анимации длиной 5 секунд, то будет создано перекрестное затухание, "
"которое начинается с 0 секунды и заканчивается на 1 секунде во время "
"анимации.\n"
"[b]Примечание:[/b] [AnimationNodeOneShot] переводит текущее состояние после "
"завершения затухания."
msgid ""
"The fade-out duration. For example, setting this to [code]1.0[/code] for a 5 "
"second length animation will produce a cross-fade that starts at 4 second and "
"ends at 5 second during the animation.\n"
"[b]Note:[/b] [AnimationNodeOneShot] transitions the current state after the "
"fading has finished."
msgstr ""
"Длительность конечного затухания. Например, если задать значение [code]1.0[/"
"code] для анимации длиной 5 секунд, то будет создано перекрестное затухание, "
"которое начинается на 4 секунде и заканчивается на 5 секунде во время "
"анимации.\n"
"[b]Примечание:[/b] [AnimationNodeOneShot] переводит текущее состояние после "
"завершения затухания."
msgid "The blend type."
msgstr "Тип смешивания."
msgid "The default state of the request. Nothing is done."
msgstr "Состояние запроса по умолчанию. Ничего не сделано."
msgid "The request to play the animation connected to \"shot\" port."
msgstr "Запрос на воспроизведение анимации подключен к порту \"shot\"."
msgid "The request to stop the animation connected to \"shot\" port."
msgstr "Запрос на остановку анимации подключен к порту \"shot\"."
msgid "The request to fade out the animation connected to \"shot\" port."
msgstr "Запрос на затухание анимации, подключенной к порту \"shot\"."
msgid "Blends two animations. See also [AnimationNodeBlend2]."
msgstr "Смешивает две анимации. См. также [AnimationNodeBlend2]."
msgid "Blends two animations additively. See also [AnimationNodeAdd2]."
msgstr "Смешивает две анимации аддитивно. См. также [AnimationNodeAdd2]."
msgid "The animation output node of an [AnimationNodeBlendTree]."
msgstr "Узел вывода анимации [AnimationNodeBlendTree]."
msgid ""
"A node created automatically in an [AnimationNodeBlendTree] that outputs the "
"final animation."
msgstr ""
"Узел, автоматически созданный в [AnimationNodeBlendTree], который выводит "
"окончательную анимацию."
msgid ""
"A state machine with multiple [AnimationRootNode]s, used by [AnimationTree]."
msgstr ""
"Конечный автомат с несколькими [AnimationRootNode], используемый "
"[AnimationTree]."
msgid ""
"Contains multiple [AnimationRootNode]s representing animation states, "
"connected in a graph. State transitions can be configured to happen "
"automatically or via code, using a shortest-path algorithm. Retrieve the "
"[AnimationNodeStateMachinePlayback] object from the [AnimationTree] node to "
"control it programmatically.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var state_machine = $AnimationTree.get(\"parameters/playback\")\n"
"state_machine.travel(\"some_state\")\n"
"[/gdscript]\n"
"[csharp]\n"
"var stateMachine = GetNode<AnimationTree>(\"AnimationTree\").Get(\"parameters/"
"playback\") as AnimationNodeStateMachinePlayback;\n"
"stateMachine.Travel(\"some_state\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Содержит несколько [AnimationRootNode], представляющих состояния анимации, "
"соединенные в граф. Переходы состояний можно настроить так, чтобы они "
"происходили автоматически или через код, используя алгоритм кратчайшего пути. "
"Извлеките объект [AnimationNodeStateMachinePlayback] из узла [AnimationTree], "
"чтобы управлять им программно.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var state_machine = $AnimationTree.get(\"parameters/playback\")\n"
"state_machine.travel(\"some_state\")\n"
"[/gdscript]\n"
"[csharp]\n"
"var stateMachine = GetNode<AnimationTree>(\"AnimationTree\").Get(\"parameters/"
"playback\") as AnimationNodeStateMachinePlayback;\n"
"stateMachine.Travel(\"some_state\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Adds a new animation node to the graph. The [param position] is used for "
"display in the editor."
msgstr ""
"Добавляет новый узел анимации в график. [Позиция параметра] используется для "
"отображения в редакторе."
msgid "Adds a transition between the given animation nodes."
msgstr "Добавляет переход между заданными узлами анимации."
msgid "Returns the draw offset of the graph. Used for display in the editor."
msgstr ""
"Возвращает смещение отрисовки графика. Используется для отображения в "
"редакторе."
msgid "Returns the animation node with the given name."
msgstr "Возвращает узел анимации с заданным именем."
msgid ""
"Returns a list containing the names of all animation nodes in this state "
"machine."
msgstr ""
"Возвращает список, содержащий имена всех узлов анимации в этом конечном "
"автомате."
msgid "Returns the given animation node's name."
msgstr "Возвращает имя указанного узла анимации."
msgid ""
"Returns the given animation node's coordinates. Used for display in the "
"editor."
msgstr ""
"Возвращает координаты указанного узла анимации. Используется для отображения "
"в редакторе."
msgid "Returns the given transition."
msgstr "Возвращает указанный переход."
msgid "Returns the number of connections in the graph."
msgstr "Возвращает количество соединений в графике."
msgid "Returns the given transition's start node."
msgstr "Возвращает начальный узел указанного перехода."
msgid "Returns the given transition's end node."
msgstr "Возвращает конечный узел указанного перехода."
msgid ""
"Returns [code]true[/code] if the graph contains the given animation node."
msgstr ""
"Возвращает [code]true[/code], если граф содержит заданный узел анимации."
msgid ""
"Returns [code]true[/code] if there is a transition between the given "
"animation nodes."
msgstr ""
"Возвращает [code]true[/code], если между заданными узлами анимации существует "
"переход."
msgid "Deletes the given animation node from the graph."
msgstr "Удаляет указанный узел анимации из графика."
msgid "Deletes the transition between the two specified animation nodes."
msgstr "Удаляет переход между двумя указанными узлами анимации."
msgid "Deletes the given transition by index."
msgstr "Удаляет указанный переход по индексу."
msgid "Renames the given animation node."
msgstr "Переименовывает указанный узел анимации."
msgid "Replaces the given animation node with a new animation node."
msgstr "Заменяет заданный узел анимации новым узлом анимации."
msgid "Sets the draw offset of the graph. Used for display in the editor."
msgstr ""
"Устанавливает смещение отрисовки графика. Используется для отображения в "
"редакторе."
msgid "Sets the animation node's coordinates. Used for display in the editor."
msgstr ""
"Задает координаты узла анимации. Используется для отображения в редакторе."
msgid ""
"If [code]true[/code], allows teleport to the self state with [method "
"AnimationNodeStateMachinePlayback.travel]. When the reset option is enabled "
"in [method AnimationNodeStateMachinePlayback.travel], the animation is "
"restarted. If [code]false[/code], nothing happens on the teleportation to the "
"self state."
msgstr ""
"Если [code]true[/code], разрешает телепортацию в собственное состояние с "
"помощью [method AnimationNodeStateMachinePlayback.travel]. Когда опция сброса "
"включена в [method AnimationNodeStateMachinePlayback.travel], анимация "
"перезапускается. Если [code]false[/code], при телепортации в собственное "
"состояние ничего не происходит."
msgid ""
"If [code]true[/code], treat the cross-fade to the start and end nodes as a "
"blend with the RESET animation.\n"
"In most cases, when additional cross-fades are performed in the parent "
"[AnimationNode] of the state machine, setting this property to [code]false[/"
"code] and matching the cross-fade time of the parent [AnimationNode] and the "
"state machine's start node and end node gives good results."
msgstr ""
"Если [code]true[/code], обрабатывайте кроссфейд (cross-fade) к начальному и "
"конечному узлам как смешение с анимацией RESET.\n"
"В большинстве случаев, когда дополнительные кроссфейды выполняются в "
"родительском [AnimationNode] конечного автомата, установка этого свойства в "
"[code]false[/code] и сопоставление времени кроссфейда родительского "
"[AnimationNode] и начального и конечного узлов конечного автомата дает "
"хорошие результаты."
msgid ""
"This property can define the process of transitions for different use cases. "
"See also [enum AnimationNodeStateMachine.StateMachineType]."
msgstr ""
"Это свойство может определять процесс переходов для различных вариантов "
"использования. См. также [enum AnimationNodeStateMachine.StateMachineType]."
msgid ""
"Seeking to the beginning is treated as playing from the start state. "
"Transition to the end state is treated as exiting the state machine."
msgstr ""
"Переход к началу рассматривается как воспроизведение с начального состояния. "
"Переход к конечному состоянию рассматривается как выход из конечного автомата."
msgid ""
"Seeking to the beginning is treated as seeking to the beginning of the "
"animation in the current state. Transition to the end state, or the absence "
"of transitions in each state, is treated as exiting the state machine."
msgstr ""
"Поиск начала рассматривается как поиск начала анимации в текущем состоянии. "
"Переход в конечное состояние или отсутствие переходов в каждом состоянии "
"рассматривается как выход из конечного автомата."
msgid ""
"This is a grouped state machine that can be controlled from a parent state "
"machine. It does not work independently. There must be a state machine with "
"[member state_machine_type] of [constant STATE_MACHINE_TYPE_ROOT] or "
"[constant STATE_MACHINE_TYPE_NESTED] in the parent or ancestor."
msgstr ""
"Это сгруппированный конечный автомат, которым можно управлять из "
"родительского конечного автомата. Он не работает независимо. Должен быть "
"конечный автомат с [member state_machine_type] [constant "
"STATE_MACHINE_TYPE_ROOT] или [constant STATE_MACHINE_TYPE_NESTED] в "
"родительском или предковом объекте."
msgid "Provides playback control for an [AnimationNodeStateMachine]."
msgstr ""
"Обеспечивает управление воспроизведением для [AnimationNodeStateMachine]."
msgid ""
"Allows control of [AnimationTree] state machines created with "
"[AnimationNodeStateMachine]. Retrieve with [code]"
"$AnimationTree.get(\"parameters/playback\")[/code].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var state_machine = $AnimationTree.get(\"parameters/playback\")\n"
"state_machine.travel(\"some_state\")\n"
"[/gdscript]\n"
"[csharp]\n"
"var stateMachine = GetNode<AnimationTree>(\"AnimationTree\").Get(\"parameters/"
"playback\").As<AnimationNodeStateMachinePlayback>();\n"
"stateMachine.Travel(\"some_state\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Позволяет управлять конечными автоматами [AnimationTree], созданными с "
"помощью [AnimationNodeStateMachine]. Извлечь с помощью [code]"
"$AnimationTree.get(\"parameters/playback\")[/code].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var state_machine = $AnimationTree.get(\"parameters/playback\")\n"
"state_machine.travel(\"some_state\")\n"
"[/gdscript]\n"
"[csharp]\n"
"var stateMachine = GetNode<AnimationTree>(\"AnimationTree\").Get(\"parameters/"
"playback\").As<AnimationNodeStateMachinePlayback>();\n"
"stateMachine.Travel(\"some_state\");\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns the current state length.\n"
"[b]Note:[/b] It is possible that any [AnimationRootNode] can be nodes as well "
"as animations. This means that there can be multiple animations within a "
"single state. Which animation length has priority depends on the nodes "
"connected inside it. Also, if a transition does not reset, the remaining "
"length at that point will be returned."
msgstr ""
"Возвращает текущую длину состояния.\n"
"[b]Примечание:[/b] Возможно, что любой [AnimationRootNode] может быть как "
"узлами, так и анимациями. Это означает, что в одном состоянии может быть "
"несколько анимаций. Какая длина анимации имеет приоритет, зависит от узлов, "
"подключенных внутри него. Кроме того, если переход не сбрасывается, будет "
"возвращена оставшаяся длина в этой точке."
msgid ""
"Returns the currently playing animation state.\n"
"[b]Note:[/b] When using a cross-fade, the current state changes to the next "
"state immediately after the cross-fade begins."
msgstr ""
"Возвращает текущее состояние воспроизводимой анимации.\n"
"[b]Примечание:[/b] При использовании кроссфейда текущее состояние меняется на "
"следующее состояние сразу после начала кроссфейда."
msgid "Returns the playback position within the current animation state."
msgstr "Возвращает позицию воспроизведения в текущем состоянии анимации."
msgid ""
"Returns the playback state length of the node from [method "
"get_fading_from_node]. Returns [code]0[/code] if no animation fade is "
"occurring."
msgstr ""
"Возвращает длительность состояния воспроизведения узла из [method "
"get_fading_from_node]. Возвращает [code]0[/code], если затухание анимации не "
"происходит."
msgid "Returns the starting state of currently fading animation."
msgstr "Возвращает начальное состояние текущей затухающей анимации."
msgid ""
"Returns the playback position of the node from [method get_fading_from_node]. "
"Returns [code]0[/code] if no animation fade is occurring."
msgstr ""
"Возвращает позицию воспроизведения узла из [method get_fading_from_node]. "
"Возвращает [code]0[/code], если анимация затухания не происходит."
msgid ""
"Returns the length of the current fade animation. Returns [code]0[/code] if "
"no animation fade is occurring."
msgstr ""
"Возвращает длительность текущей анимации затухания. Возвращает [code]0[/"
"code], если анимация затухания не выполняется."
msgid ""
"Returns the playback position of the current fade animation. Returns [code]0[/"
"code] if no animation fade is occurring."
msgstr ""
"Возвращает позицию воспроизведения текущей анимации затухания. Возвращает "
"[code]0[/code], если анимация затухания не выполняется."
msgid ""
"Returns the current travel path as computed internally by the A* algorithm."
msgstr ""
"Возвращает текущий путь перемещения, рассчитанный внутренним алгоритмом A*."
msgid "Returns [code]true[/code] if an animation is playing."
msgstr "Возвращает [code]true[/code], если анимация воспроизводится."
msgid ""
"If there is a next path by travel or auto advance, immediately transitions "
"from the current state to the next state."
msgstr ""
"Если есть следующий путь посредством перемещения или автоматического "
"продвижения, немедленно переходит из текущего состояния в следующее состояние."
msgid ""
"Starts playing the given animation.\n"
"If [param reset] is [code]true[/code], the animation is played from the "
"beginning."
msgstr ""
"Начинает воспроизведение заданной анимации.\n"
"Если [param reset] равен [code]true[/code], анимация воспроизводится с начала."
msgid "Stops the currently playing animation."
msgstr "Останавливает текущую анимацию."
msgid ""
"Transitions from the current state to another one, following the shortest "
"path.\n"
"If the path does not connect from the current state, the animation will play "
"after the state teleports.\n"
"If [param reset_on_teleport] is [code]true[/code], the animation is played "
"from the beginning when the travel cause a teleportation."
msgstr ""
"Переход из текущего состояния в другое по кратчайшему пути.\n"
"Если путь не соединяется с текущим состоянием, анимация будет "
"воспроизводиться после телепортации состояния.\n"
"Если [param reset_on_teleport] равен [code]true[/code], анимация "
"воспроизводится с начала, когда путешествие вызывает телепортацию."
msgid ""
"Emitted when the [param state] finishes playback. If [param state] is a state "
"machine set to grouped mode, its signals are passed through with its name "
"prefixed.\n"
"If there is a crossfade, this will be fired when the influence of the [method "
"get_fading_from_node] animation is no longer present."
msgstr ""
"Генерируется, когда [param state] завершает воспроизведение. Если [param "
"state] — это конечный автомат, установленный в групповой режим, его сигналы "
"передаются с префиксом его имени.\n"
"Если используется плавный переход, он срабатывает, когда влияние анимации "
"[method get_fading_from_node] прекращается."
msgid ""
"Emitted when the [param state] starts playback. If [param state] is a state "
"machine set to grouped mode, its signals are passed through with its name "
"prefixed."
msgstr ""
"Генерируется, когда [param state] начинает воспроизведение. Если [param "
"state] — это конечный автомат, установленный в групповой режим, его сигналы "
"передаются с префиксом его имени."
msgid ""
"A transition within an [AnimationNodeStateMachine] connecting two "
"[AnimationRootNode]s."
msgstr ""
"Переход внутри [AnimationNodeStateMachine], соединяющий два "
"[AnimationRootNode]-ов."
msgid ""
"The path generated when using [method "
"AnimationNodeStateMachinePlayback.travel] is limited to the nodes connected "
"by [AnimationNodeStateMachineTransition].\n"
"You can set the timing and conditions of the transition in detail."
msgstr ""
"Путь, сгенерированный при использовании [method "
"AnimationNodeStateMachinePlayback.travel], ограничен узлами, соединенными "
"[AnimationNodeStateMachineTransition].\n"
"Вы можете подробно задать время и условия перехода."
msgid ""
"Turn on auto advance when this condition is set. The provided name will "
"become a boolean parameter on the [AnimationTree] that can be controlled from "
"code (see [url=$DOCS_URL/tutorials/animation/animation_tree.html#controlling-"
"from-code]Using AnimationTree[/url]). For example, if [member "
"AnimationTree.tree_root] is an [AnimationNodeStateMachine] and [member "
"advance_condition] is set to [code]\"idle\"[/code]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"$animation_tree.set(\"parameters/conditions/idle\", is_on_floor and "
"(linear_velocity.x == 0))\n"
"[/gdscript]\n"
"[csharp]\n"
"GetNode<AnimationTree>(\"animation_tree\").Set(\"parameters/conditions/"
"idle\", IsOnFloor && (LinearVelocity.X == 0));\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Включите автоматическое продвижение, когда задано это условие. "
"Предоставленное имя станет булевым параметром в [AnimationTree], которым "
"можно управлять из кода (см. [url=$DOCS_URL/tutorials/animation/"
"animation_tree.html#controlling-from-code]Использование AnimationTree[/url]). "
"Например, если [member AnimationTree.tree_root] является "
"[AnimationNodeStateMachine], а [member advance_condition] установлен в [code]"
"\"idle\"[/code]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"$animation_tree.set(\"parameters/conditions/idle\", is_on_floor and "
"(linear_velocity.x == 0))\n"
"[/gdscript]\n"
"[csharp]\n"
"GetNode<AnimationTree>(\"animation_tree\").Set(\"parameters/conditions/"
"idle\", IsOnFloor && (LinearVelocity.X == 0));\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Use an expression as a condition for state machine transitions. It is "
"possible to create complex animation advance conditions for switching between "
"states and gives much greater flexibility for creating complex state machines "
"by directly interfacing with the script code."
msgstr ""
"Используйте выражение как условие для переходов между состояниями машины. "
"Можно создавать сложные условия продвижения анимации для переключения между "
"состояниями и обеспечивает гораздо большую гибкость для создания сложных "
"машин состояний путем прямого взаимодействия с кодом скрипта."
msgid ""
"Determines whether the transition should be disabled, enabled when using "
"[method AnimationNodeStateMachinePlayback.travel], or traversed automatically "
"if the [member advance_condition] and [member advance_expression] checks are "
"[code]true[/code] (if assigned)."
msgstr ""
"Определяет, следует ли отключить переход, включить его при использовании "
"[method AnimationNodeStateMachinePlayback.travel] или выполнить переход "
"автоматически, если проверки [member advance_condition] и [member "
"advance_expression] равны [code]true[/code] (если назначено)."
msgid ""
"Lower priority transitions are preferred when travelling through the tree via "
"[method AnimationNodeStateMachinePlayback.travel] or [member advance_mode] is "
"set to [constant ADVANCE_MODE_AUTO]."
msgstr ""
"Переходы с более низким приоритетом предпочтительны при перемещении по дереву "
"с помощью [method AnimationNodeStateMachinePlayback.travel] или [member "
"advance_mode] установлен в [constant ADVANCE_MODE_AUTO]."
msgid ""
"If [code]true[/code], the destination animation is played back from the "
"beginning when switched."
msgstr ""
"Если [code]true[/code], то при переключении анимация назначения "
"воспроизводится с начала."
msgid "The transition type."
msgstr "Тип перехода."
msgid ""
"Ease curve for better control over cross-fade between this state and the "
"next. Should be a unit [Curve]."
msgstr ""
"Кривая плавности для лучшего контроля над кроссфейдом (cross-fade) между этим "
"состоянием и следующим. Должна быть единицей [Кривая]."
msgid ""
"The time to cross-fade between this state and the next.\n"
"[b]Note:[/b] [AnimationNodeStateMachine] transitions the current state "
"immediately after the start of the fading. The precise remaining time can "
"only be inferred from the main animation. When [AnimationNodeOutput] is "
"considered as the most upstream, so the [member xfade_time] is not scaled "
"depending on the downstream delta. See also [member "
"AnimationNodeOneShot.fadeout_time]."
msgstr ""
"Время для перехода между этим состоянием и следующим.\n"
"[b]Примечание:[/b] [AnimationNodeStateMachine] переходит в текущее состояние "
"сразу после начала перехода. Точное оставшееся время можно вывести только из "
"основной анимации. Когда [AnimationNodeOutput] считается самым верхним по "
"потоку, то [member xfade_time] не масштабируется в зависимости от дельты "
"нижнего потока. См. также [member AnimationNodeOneShot.fadeout_time]."
msgid "Emitted when [member advance_condition] is changed."
msgstr "Вызывается при изменении [member advance_condition]."
msgid ""
"Switch to the next state immediately. The current state will end and blend "
"into the beginning of the new one."
msgstr ""
"Немедленно переключиться на следующее состояние. Текущее состояние закончится "
"и сольется с началом нового."
msgid ""
"Switch to the next state immediately, but will seek the new state to the "
"playback position of the old state."
msgstr ""
"Немедленно переключиться на следующее состояние, но новое состояние будет "
"искаться в позиции воспроизведения старого состояния."
msgid ""
"Wait for the current state playback to end, then switch to the beginning of "
"the next state animation."
msgstr ""
"Дождитесь окончания воспроизведения текущего состояния, затем переключитесь "
"на начало анимации следующего состояния."
msgid "Don't use this transition."
msgstr "Не используйте этот переход."
msgid ""
"Only use this transition during [method "
"AnimationNodeStateMachinePlayback.travel]."
msgstr ""
"Используйте этот переход только во время [method "
"AnimationNodeStateMachinePlayback.travel]."
msgid ""
"Automatically use this transition if the [member advance_condition] and "
"[member advance_expression] checks are [code]true[/code] (if assigned)."
msgstr ""
"Автоматически использовать этот переход, если проверки [member "
"advance_condition] и [member advance_expression] равны [code]true[/code] "
"(если назначено)."
msgid ""
"Blends two animations subtractively inside of an [AnimationNodeBlendTree]."
msgstr ""
"Смешивает две анимации методом вычитания внутри [AnimationNodeBlendTree]."
msgid ""
"A resource to add to an [AnimationNodeBlendTree]. Blends two animations "
"subtractively based on the amount value.\n"
"This animation node is usually used for pre-calculation to cancel out any "
"extra poses from the animation for the \"add\" animation source in "
"[AnimationNodeAdd2] or [AnimationNodeAdd3].\n"
"In general, the blend value should be in the [code][0.0, 1.0][/code] range, "
"but values outside of this range can be used for amplified or inverted "
"animations.\n"
"[b]Note:[/b] This calculation is different from using a negative value in "
"[AnimationNodeAdd2], since the transformation matrices do not satisfy the "
"commutative law. [AnimationNodeSub2] multiplies the transformation matrix of "
"the inverted animation from the left side, while negative [AnimationNodeAdd2] "
"multiplies it from the right side."
msgstr ""
"Ресурс для добавления в [AnimationNodeBlendTree]. Смешивает две анимации "
"вычитающим образом на основе значения количества.\n"
"Этот узел анимации обычно используется для предварительного расчета, чтобы "
"отменить любые дополнительные позы из анимации для источника анимации «add» в "
"[AnimationNodeAdd2] или [AnimationNodeAdd3].\n"
"В общем случае значение смешивания должно находиться в диапазоне [code][0.0, "
"1.0][/code], но значения за пределами этого диапазона могут использоваться "
"для усиленных или инвертированных анимаций.\n"
"[b]Примечание:[/b] Это вычисление отличается от использования отрицательного "
"значения в [AnimationNodeAdd2], поскольку матрицы преобразования не "
"удовлетворяют коммутативному закону. [AnimationNodeSub2] умножает матрицу "
"преобразования инвертированной анимации с левой стороны, тогда как "
"отрицательное [AnimationNodeAdd2] умножает ее с правой стороны."
msgid "AnimationTree"
msgstr "Дерево анимации"
msgid ""
"Base class for [AnimationNode]s with multiple input ports that must be "
"synchronized."
msgstr ""
"Базовый класс для [AnimationNode] с несколькими входными портами, которые "
"необходимо синхронизировать."
msgid ""
"An animation node used to combine, mix, or blend two or more animations "
"together while keeping them synchronized within an [AnimationTree]."
msgstr ""
"Узел анимации, используемый для объединения, смешивания или комбинирования "
"двух или более анимаций, сохраняя их синхронизированными в [AnimationTree]."
msgid ""
"If [code]false[/code], the blended animations' frame are stopped when the "
"blend value is [code]0[/code].\n"
"If [code]true[/code], forcing the blended animations to advance frame."
msgstr ""
"Если [code]false[/code], кадр смешанной анимации останавливается, когда "
"значение смешивания равно [code]0[/code]. \n"
"Если [code]true[/code], смешанная анимация принудительно переходит на "
"следующий кадр."
msgid "A time-scaling animation node used in [AnimationTree]."
msgstr "Узел анимации масштабирования времени, используемый в [AnimationTree]."
msgid ""
"Allows to scale the speed of the animation (or reverse it) in any child "
"[AnimationNode]s. Setting it to [code]0.0[/code] will pause the animation."
msgstr ""
"Позволяет масштабировать скорость анимации (или обратить ее вспять) в любом "
"дочернем [AnimationNode]. Установка его в [code]0.0[/code] приостановит "
"анимацию."
msgid "A time-seeking animation node used in [AnimationTree]."
msgstr "Узел анимации поиска по времени, используемый в [AnimationTree]."
msgid ""
"This animation node can be used to cause a seek command to happen to any sub-"
"children of the animation graph. Use to play an [Animation] from the start or "
"a certain playback position inside the [AnimationNodeBlendTree].\n"
"After setting the time and changing the animation playback, the time seek "
"node automatically goes into sleep mode on the next process frame by setting "
"its [code]seek_request[/code] value to [code]-1.0[/code].\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Play child animation from the start.\n"
"animation_tree.set(\"parameters/TimeSeek/seek_request\", 0.0)\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/TimeSeek/seek_request\"] = 0.0\n"
"\n"
"# Play child animation from 12 second timestamp.\n"
"animation_tree.set(\"parameters/TimeSeek/seek_request\", 12.0)\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/TimeSeek/seek_request\"] = 12.0\n"
"[/gdscript]\n"
"[csharp]\n"
"// Play child animation from the start.\n"
"animationTree.Set(\"parameters/TimeSeek/seek_request\", 0.0);\n"
"\n"
"// Play child animation from 12 second timestamp.\n"
"animationTree.Set(\"parameters/TimeSeek/seek_request\", 12.0);\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Этот узел анимации может использоваться для того, чтобы команда seek "
"выполнялась для любых дочерних элементов графика анимации. Используйте для "
"воспроизведения [Animation] с начала или с определенной позиции "
"воспроизведения внутри [AnimationNodeBlendTree].\n"
"После установки времени и изменения воспроизведения анимации узел поиска "
"времени автоматически переходит в спящий режим на следующем кадре процесса, "
"устанавливая его значение [code]seek_request[/code] на [code]-1.0[/code].\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Включайте детскую анимацию с самого начала.\n"
"animation_tree.set(\"parameters/TimeSeek/seek_request\", 0.0)\n"
"# Альтернативный синтаксис (тот же результат, что и выше).\n"
"animation_tree[\"parameters/TimeSeek/seek_request\"] = 0.0\n"
"\n"
"# Воспроизвести детскую анимацию с 12-секундной отметки времени.\n"
"animation_tree.set(\"parameters/TimeSeek/seek_request\", 12.0)\n"
"# Альтернативный синтаксис (тот же результат, что и выше).\n"
"animation_tree[\"parameters/TimeSeek/seek_request\"] = 12.0\n"
"[/gdscript]\n"
"[csharp]\n"
"//Включайте детскую анимацию с самого начала.\n"
"animationTree.Set(\"parameters/TimeSeek/seek_request\", 0.0);\n"
"\n"
"// Воспроизвести детскую анимацию с 12-секундной отметки времени.\n"
"animationTree.Set(\"parameters/TimeSeek/seek_request\", 12.0);\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"If [code]true[/code], some processes are executed to handle keys between "
"seeks, such as calculating root motion and finding the nearest discrete key."
msgstr ""
"Если [code]true[/code], выполняются некоторые процессы для обработки ключей "
"между поисками, такие как вычисление корневого движения и поиск ближайшего "
"дискретного ключа."
msgid "A transition within an [AnimationTree] connecting two [AnimationNode]s."
msgstr "Переход внутри [AnimationTree], соединяющий две [AnimationNode]-ы."
msgid ""
"Simple state machine for cases which don't require a more advanced "
"[AnimationNodeStateMachine]. Animations can be connected to the inputs and "
"transition times can be specified.\n"
"After setting the request and changing the animation playback, the transition "
"node automatically clears the request on the next process frame by setting "
"its [code]transition_request[/code] value to empty.\n"
"[b]Note:[/b] When using a cross-fade, [code]current_state[/code] and "
"[code]current_index[/code] change to the next state immediately after the "
"cross-fade begins.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Play child animation connected to \"state_2\" port.\n"
"animation_tree.set(\"parameters/Transition/transition_request\", "
"\"state_2\")\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/Transition/transition_request\"] = \"state_2\"\n"
"\n"
"# Get current state name (read-only).\n"
"animation_tree.get(\"parameters/Transition/current_state\")\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/Transition/current_state\"]\n"
"\n"
"# Get current state index (read-only).\n"
"animation_tree.get(\"parameters/Transition/current_index\")\n"
"# Alternative syntax (same result as above).\n"
"animation_tree[\"parameters/Transition/current_index\"]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Play child animation connected to \"state_2\" port.\n"
"animationTree.Set(\"parameters/Transition/transition_request\", "
"\"state_2\");\n"
"\n"
"// Get current state name (read-only).\n"
"animationTree.Get(\"parameters/Transition/current_state\");\n"
"\n"
"// Get current state index (read-only).\n"
"animationTree.Get(\"parameters/Transition/current_index\");\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Optionally, signals can be used by setting an "
"[AnimationNodeObserverTransition] through [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = animation_tree.get(\"parameters/Transition/observer\")\n"
"observer.state_started.connect(on_state_started)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/Transition/"
"observer\").As<AnimationNodeObserverTransition>();\n"
"observer.StateStarted += OnStateStarted;\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Простой конечный автомат для случаев, не требующих более сложного "
"[AnimationNodeStateMachine]. К его входам можно подключать анимации, а также "
"задавать время переходов.\n"
"После подачи запроса и смены воспроизводимой анимации узел перехода "
"автоматически сбрасывает этот запрос на следующем кадре обработки, "
"устанавливая значение [code]transition_request[/code] в пустое состояние.\n"
"[b]Примечание:[/b] При использовании перекрестного затухания (cross-fade) "
"значения [code]current_state[/code] и [code]current_index[/code] "
"переключаются на следующее состояние сразу же после начала процесса "
"затухания.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Запустите дочернюю анимацию, связанную с портом «state_2».\n"
"animation_tree.set(\"parameters/Transition/transition_request\", "
"\"state_2\")\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/Transition/transition_request\"] = \"state_2\"\n"
"\n"
"# Получить название текущего состояния (только для чтения).\n"
"animation_tree.get(\"parameters/Transition/current_state\")\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/Transition/current_state\"]\n"
"\n"
"# Получить индекс текущего состояния (только для чтения).\n"
"animation_tree.get(\"parameters/Transition/current_index\")\n"
"# Альтернативный синтаксис (результат тот же, что и выше).\n"
"animation_tree[\"parameters/Transition/current_index\"]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Запустите дочернюю анимацию, связанную с портом «state_2».\n"
"animationTree.Set(\"parameters/Transition/transition_request\", "
"\"state_2\");\n"
"\n"
"// Получить название текущего состояния (только для чтения).\n"
"animationTree.Get(\"parameters/Transition/current_state\");\n"
"\n"
"// Получить индекс текущего состояния (только для чтения).\n"
"animationTree.Get(\"parameters/Transition/current_index\");\n"
"[/csharp]\n"
"[/codeblocks]\n"
"При необходимости можно использовать сигналы, задав "
"[AnimationNodeObserverTransition] через [AnimationTree].\n"
"[codeblocks]\n"
"[gdscript]\n"
"var observer = animation_tree.get(\"parameters/Transition/observer\")\n"
"observer.state_started.connect(on_state_started)\n"
"[/gdscript]\n"
"[csharp]\n"
"var observer = animationTree.Get(\"parameters/Transition/"
"observer\").As<AnimationNodeObserverTransition>();\n"
"observer.StateStarted += OnStateStarted;\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns whether the animation breaks the loop at the end of the loop cycle "
"for transition."
msgstr "Возвращает, прерывает ли анимация цикл в конце цикла для перехода."
msgid ""
"Returns whether the animation restarts when the animation transitions from "
"the other animation."
msgstr ""
"Возвращает, перезапускается ли анимация при переходе от одной анимации к "
"другой."
msgid ""
"Returns [code]true[/code] if auto-advance is enabled for the given [param "
"input] index."
msgstr ""
"Возвращает [code]true[/code], если для указанного индекса [param input] "
"включен авто-переход."
msgid ""
"Enables or disables auto-advance for the given [param input] index. If "
"enabled, state changes to the next input after playing the animation once. If "
"enabled for the last input state, it loops to the first."
msgstr ""
"Включает или отключает автоматическое продвижение для заданного индекса "
"[param input]. Если включено, состояние изменяется на следующий ввод после "
"однократного воспроизведения анимации. Если включено для последнего состояния "
"ввода, оно циклически возвращается к первому."
msgid ""
"If [code]true[/code], the destination animation is restarted when the "
"animation transitions."
msgstr ""
"Если [code]true[/code], анимация назначения перезапускается при переходе "
"анимации."
msgid ""
"If [code]true[/code], allows transition to the self state. When the reset "
"option is enabled in input, the animation is restarted. If [code]false[/"
"code], nothing happens on the transition to the self state."
msgstr ""
"Если [code]true[/code], разрешает переход в состояние self. Когда опция "
"сброса включена во входных данных, анимация перезапускается. Если "
"[code]false[/code], при переходе в состояние self ничего не происходит."
msgid "The number of enabled input ports for this animation node."
msgstr "Количество включенных входных портов для этого узла анимации."
msgid ""
"Cross-fading time (in seconds) between each animation connected to the "
"inputs.\n"
"[b]Note:[/b] [AnimationNodeTransition] transitions the current state "
"immediately after the start of the fading. The precise remaining time can "
"only be inferred from the main animation. When [AnimationNodeOutput] is "
"considered as the most upstream, so the [member xfade_time] is not scaled "
"depending on the downstream delta. See also [member "
"AnimationNodeOneShot.fadeout_time]."
msgstr ""
"Время кросс-фейдинга (в секундах) между каждой анимацией, подключенной к "
"входам.\n"
"[b]Примечание:[/b] [AnimationNodeTransition] переходит в текущее состояние "
"сразу после начала затухания. Точное оставшееся время можно вывести только из "
"основной анимации. Когда [AnimationNodeOutput] считается самым верхним по "
"потоку, то [member xfade_time] не масштабируется в зависимости от дельты "
"нижнего потока. См. также [member AnimationNodeOneShot.fadeout_time]."
msgid "A node used for animation playback."
msgstr "Узел, используемый для воспроизведения анимации."
msgid ""
"An animation player is used for general-purpose playback of animations. It "
"contains a dictionary of [AnimationLibrary] resources and custom blend times "
"between animation transitions.\n"
"Some methods and properties use a single key to reference an animation "
"directly. These keys are formatted as the key for the library, followed by a "
"forward slash, then the key for the animation within the library, for example "
"[code]\"movement/run\"[/code]. If the library's key is an empty string (known "
"as the default library), the forward slash is omitted, being the same key "
"used by the library.\n"
"[AnimationPlayer] is better-suited than [Tween] for more complex animations, "
"for example ones with non-trivial timings. It can also be used over [Tween] "
"if the animation track editor is more convenient than doing it in code.\n"
"Updating the target properties of animations occurs at the process frame."
msgstr ""
"Анимационный проигрыватель используется для воспроизведения анимаций общего "
"назначения. Он содержит словарь ресурсов [AnimationLibrary] и настраиваемые "
"времена смешивания между анимационными переходами.\n"
"Некоторые методы и свойства используют один ключ для прямой ссылки на "
"анимацию. Эти ключи форматируются как ключ для библиотеки, за которым следует "
"косая черта, затем ключ для анимации в библиотеке, например [code]\"movement/"
"run\"[/code]. Если ключ библиотеки представляет собой пустую строку "
"(известную как библиотека по умолчанию), косая черта опускается, являясь тем "
"же ключом, который используется библиотекой.\n"
"[AnimationPlayer] лучше подходит, чем [Tween], для более сложных анимаций, "
"например, с нетривиальными временными интервалами. Его также можно "
"использовать вместо [Tween], если редактор трека анимации удобнее, чем делать "
"это в коде.\n"
"Обновление целевых свойств анимаций происходит в кадре процесса (process)."
msgid ""
"Returns the key of the animation which is queued to play after the [param "
"animation_from] animation."
msgstr ""
"Возвращает ключ анимации, которая ставится в очередь на воспроизведение после "
"анимации [param animation_from]."
msgid ""
"Triggers the [param animation_to] animation when the [param animation_from] "
"animation completes."
msgstr ""
"Запускает анимацию [param animation_to] после завершения анимации [param "
"animation_from]."
msgid "Clears all queued, unplayed animations."
msgstr "Очищает все поставленные в очередь невоспроизведенные анимации."
msgid ""
"Returns the blend time (in seconds) between two animations, referenced by "
"their keys."
msgstr ""
"Возвращает время смешивания (в секундах) между двумя анимациями, на которые "
"ссылаются их ключи."
msgid "Use [member AnimationMixer.callback_mode_method] instead."
msgstr "Вместо этого используйте [member AnimationMixer.callback_mode_method]."
msgid "Returns the call mode used for \"Call Method\" tracks."
msgstr "Возвращает режим вызова, используемый для треков \"Call Method\"."
msgid "Use [member AnimationMixer.callback_mode_process] instead."
msgstr "Вместо этого используйте [member AnimationMixer.callback_mode_process]."
msgid "Returns the process notification in which to update animations."
msgstr ""
"Возвращает уведомление о процессе, в котором необходимо обновить анимацию."
msgid "Returns a list of the animation keys that are currently queued to play."
msgstr ""
"Возвращает список ключей анимации, которые в данный момент находятся в "
"очереди на воспроизведение."
msgid "Use [member AnimationMixer.root_node] instead."
msgstr "Вместо этого используйте [member AnimationMixer.root_node]."
msgid "Returns the node which node path references will travel from."
msgstr "Возвращает узел, из которого будут перемещаться ссылки на пути узлов."
msgid "Returns the end time of the section currently being played."
msgstr "Возвращает время окончания воспроизводимого в данный момент раздела."
msgid "Returns the start time of the section currently being played."
msgstr "Возвращает время начала раздела, воспроизводимого в данный момент."
msgid ""
"Returns [code]true[/code] if an animation is currently playing with a section."
msgstr ""
"Возвращает [code]true[/code], если в данный момент воспроизводится анимация с "
"секцией."
msgid ""
"Returns [code]true[/code] if the an animation is currently active. An "
"animation is active if it was played by calling [method play] and was not "
"finished yet, or was stopped by calling [method stop].\n"
"This can be used to check whether an animation is currently paused or "
"stopped.\n"
"[codeblock]\n"
"var is_paused = not is_playing() and is_animation_active()\n"
"var is_stopped = not is_playing() and not is_animation_active()\n"
"[/codeblock]"
msgstr ""
"Возвращает [code]true[/code] Если анимация сейчас активна. Анимация активна, "
"если она была проиграна с помощью метода [method play] и еще не завершилась, "
"или была остановлена с помощью метода [method stop].\n"
"Может быть использовано для проверки того что анимация на паузе или "
"остановлена.\n"
"[codeblock]\n"
"var is_paused = not is_playing() and is_animation_active()\n"
"var is_stopped = not is_playing() and not is_animation_active()\n"
"[/codeblock]"
msgid ""
"Pauses the currently playing animation. The [member "
"current_animation_position] will be kept and calling [method play] or [method "
"play_backwards] without arguments or with the same animation name as [member "
"assigned_animation] will resume the animation.\n"
"See also [method stop]."
msgstr ""
"Приостанавливает текущую воспроизводимую анимацию. [member "
"current_animation_position] будет сохранен, а вызов [method play] или [method "
"play_backwards] без аргументов или с тем же именем анимации, что и [member "
"assignment_animation], возобновит анимацию.\n"
"См. также [method stop]."
msgid ""
"Plays the animation with key [param name]. Custom blend times and speed can "
"be set.\n"
"The [param from_end] option only affects when switching to a new animation "
"track, or if the same track but at the start or end. It does not affect "
"resuming playback that was paused in the middle of an animation. If [param "
"custom_speed] is negative and [param from_end] is [code]true[/code], the "
"animation will play backwards (which is equivalent to calling [method "
"play_backwards]).\n"
"The [AnimationPlayer] keeps track of its current or last played animation "
"with [member assigned_animation]. If this method is called with that same "
"animation [param name], or with no [param name] parameter, the assigned "
"animation will resume playing if it was paused.\n"
"[b]Note:[/b] The animation will be updated the next time the "
"[AnimationPlayer] is processed. If other variables are updated at the same "
"time this is called, they may be updated too early. To perform the update "
"immediately, call [code]advance(0)[/code]."
msgstr ""
"Воспроизводит анимацию с ключом [param name]. Можно задать пользовательское "
"время смешивания и скорость.\n"
"Параметр [param from_end] влияет только при переключении на новый трек "
"анимации или на тот же трек, но в начале или конце. Он не влияет на "
"возобновление воспроизведения, которое было приостановлено в середине "
"анимации. Если [param custom_speed] отрицательный, а [param from_end] равен "
"[code]true[/code], анимация будет воспроизводиться в обратном направлении "
"(что эквивалентно вызову [method play_backwards]).\n"
"[AnimationPlayer] отслеживает свою текущую или последнюю воспроизведенную "
"анимацию с помощью [member assigned_animation]. Если этот метод вызывается с "
"той же анимацией [param name] или без параметра [param name], назначенная "
"анимация возобновит воспроизведение, если она была приостановлена.\n"
"[b]Примечание:[/b] Анимация будет обновлена при следующей обработке "
"[AnimationPlayer]. Если другие переменные обновляются одновременно с этим "
"вызовом, они могут обновиться слишком рано. Чтобы выполнить обновление "
"немедленно, вызовите [code]advance(0)[/code]."
msgid ""
"Plays the animation with key [param name] in reverse.\n"
"This method is a shorthand for [method play] with [code]custom_speed = -1.0[/"
"code] and [code]from_end = true[/code], so see its description for more "
"information.\n"
"[b]Note:[/b] Continuous tracks, including value tracks with [constant "
"Animation.UPDATE_CONTINUOUS], are simply interpolated on the reversed "
"timeline, while value tracks with [constant Animation.UPDATE_DISCRETE] apply "
"a key only in the frame it is passed, so the value held between two keys can "
"differ from forward playback."
msgstr ""
"Воспроизводит анимацию с ключом [param name] в обратном направлении.\n"
"Этот метод является сокращенной записью вызова [method play] с параметрами "
"[code]custom_speed = -1.0[/code] и [code]from_end = true[/code]; подробности "
"см. в описании этого метода.\n"
"[b]Примечание:[/b] Для непрерывных дорожек (включая дорожки значений с "
"[constant Animation.UPDATE_CONTINUOUS]) выполняется обычная интерполяция на "
"временной шкале, движущейся в обратном направлении. В то же время для дорожек "
"значений с [constant Animation.UPDATE_DISCRETE] ключ применяется только в тот "
"момент (кадр), когда он проходится при воспроизведении; поэтому значения, "
"принимаемые в интервале между двумя ключами, могут отличаться от тех, что "
"наблюдаются при прямом воспроизведении."
msgid ""
"Plays the animation with key [param name] and the section starting from "
"[param start_time] and ending on [param end_time]. See also [method play].\n"
"Setting [param start_time] to a value outside the range of the animation "
"means the start of the animation will be used instead, and setting [param "
"end_time] to a value outside the range of the animation means the end of the "
"animation will be used instead. [param start_time] cannot be equal to [param "
"end_time]."
msgstr ""
"Воспроизводит анимацию с ключом [param name] и разделом, начинающимся с "
"[param start_time] и заканчивающимся на [param end_time]. См. также [method "
"play].\n"
"Установка [param start_time] на значение вне диапазона анимации означает, что "
"вместо этого будет использоваться начало анимации, а установка [param "
"end_time] на значение вне диапазона анимации означает, что вместо этого будет "
"использоваться конец анимации. [param start_time] не может быть равен [param "
"end_time]."
msgid ""
"Plays the animation with key [param name] and the section starting from "
"[param start_time] and ending on [param end_time] in reverse.\n"
"This method is a shorthand for [method play_section] with [code]custom_speed "
"= -1.0[/code] and [code]from_end = true[/code], see its description for more "
"information."
msgstr ""
"Воспроизводит анимацию с ключом [param name] и разделом, начинающимся с "
"[param start_time] и заканчивающимся на [param end_time] в обратном порядке.\n"
"Этот метод является сокращением для [method play_section] с "
"[code]custom_speed = -1.0[/code] и [code]from_end = true[/code], см. его "
"описание для получения дополнительной информации."
msgid ""
"Plays the animation with key [param name] and the section starting from "
"[param start_marker] and ending on [param end_marker].\n"
"If the start marker is empty, the section starts from the beginning of the "
"animation. If the end marker is empty, the section ends on the end of the "
"animation. See also [method play]."
msgstr ""
"Воспроизводит анимацию с ключом [param name] и разделом, начинающимся с "
"[param start_marker] и заканчивающимся на [param end_marker].\n"
"Если начальный маркер пуст, раздел начинается с начала анимации. Если "
"конечный маркер пуст, раздел заканчивается в конце анимации. См. также "
"[method play]."
msgid ""
"Plays the animation with key [param name] and the section starting from "
"[param start_marker] and ending on [param end_marker] in reverse.\n"
"This method is a shorthand for [method play_section_with_markers] with "
"[code]custom_speed = -1.0[/code] and [code]from_end = true[/code], see its "
"description for more information."
msgstr ""
"Воспроизводит анимацию с ключом [param name] и разделом, начинающимся с "
"[param start_marker] и заканчивающимся на [param end_marker] в обратном "
"порядке.\n"
"Этот метод является сокращением для [method play_section_with_markers] с "
"[code]custom_speed = -1.0[/code] и [code]from_end = true[/code], см. его "
"описание для получения дополнительной информации."
msgid ""
"See also [method AnimationMixer.capture].\n"
"You can use this method to use more detailed options for capture than those "
"performed by [member playback_auto_capture]. When [member "
"playback_auto_capture] is [code]false[/code], this method is almost the same "
"as the following:\n"
"[codeblock]\n"
"capture(name, duration, trans_type, ease_type)\n"
"play(name, custom_blend, custom_speed, from_end)\n"
"[/codeblock]\n"
"If [param name] is blank, it specifies [member assigned_animation].\n"
"If [param duration] is a negative value, the duration is set to the interval "
"between the current position and the first key, when [param from_end] is "
"[code]true[/code], uses the interval between the current position and the "
"last key instead.\n"
"[b]Note:[/b] The [param duration] takes [member speed_scale] into account, "
"but [param custom_speed] does not, because the capture cache is interpolated "
"with the blend result and the result may contain multiple animations."
msgstr ""
"См. также [method AnimationMixer.capture].\n"
"Вы можете использовать этот метод для использования более подробных "
"параметров захвата, чем те, которые выполняются [member "
"playback_auto_capture]. Когда [member playback_auto_capture] имеет значение "
"[code]false[/code], этот метод почти такой же, как следующий:\n"
"[codeblock]\n"
"capture(name, duration, trans_type, ease_type)\n"
"play(name, custom_blend, custom_speed, from_end)\n"
"[/codeblock]\n"
"Если [param name] пусто, он указывает [member assignment_animation].\n"
"Если [param duration] отрицательное значение, длительность устанавливается на "
"интервал между текущей позицией и первым ключом, когда [param from_end] равен "
"[code]true[/code], вместо этого используется интервал между текущей позицией "
"и последним ключом.\n"
"[b]Примечание:[/b] [param duration] учитывает [member speed_scale], но [param "
"custom_speed] — нет, поскольку кэш захвата интерполируется с результатом "
"смешивания, и результат может содержать несколько анимаций."
msgid ""
"Queues an animation for playback once the current animation and all "
"previously queued animations are done.\n"
"[b]Note:[/b] If a looped animation is currently playing, the queued animation "
"will never play unless the looped animation is stopped somehow."
msgstr ""
"Ставит анимацию в очередь на воспроизведение после завершения текущей "
"анимации и всех ранее поставленных в очередь анимаций.\n"
"[b]Примечание:[/b] Если в данный момент воспроизводится зацикленная анимация, "
"поставленная в очередь анимация никогда не будет воспроизведена, если только "
"зацикленная анимация не будет каким-либо образом остановлена."
msgid "Resets the current section. Does nothing if a section has not been set."
msgstr ""
"Сбрасывает текущую секцию. Ничего не делает, если раздел не был установлен."
msgid ""
"Seeks the animation to the [param seconds] point in time (in seconds). If "
"[param update] is [code]true[/code], the animation updates too, otherwise it "
"updates at process time. Events between the current frame and [param seconds] "
"are skipped.\n"
"If [param update_only] is [code]true[/code], the method / audio / animation "
"playback tracks will not be processed.\n"
"[b]Note:[/b] Seeking to the end of the animation doesn't emit [signal "
"AnimationMixer.animation_finished]. If you want to skip animation and emit "
"the signal, use [method AnimationMixer.advance]."
msgstr ""
"Ищет анимацию до момента времени [param seconds] (в секундах). Если [param "
"update] равен [code]true[/code], анимация также обновляется, в противном "
"случае она обновляется во время процесса. События между текущим кадром и "
"[param seconds] пропускаются.\n"
"Если [param update_only] равен [code]true[/code], метод / аудио / дорожки "
"воспроизведения анимации не будут обработаны.\n"
"[b]Примечание:[/b] Поиск до конца анимации не выдает [signal "
"AnimationMixer.animation_finished]. Если вы хотите пропустить анимацию и "
"выдать сигнал, используйте [method AnimationMixer.advance]."
msgid ""
"Specifies a blend time (in seconds) between two animations, referenced by "
"their keys."
msgstr ""
"Указывает время смешивания (в секундах) между двумя анимациями, на которые "
"ссылаются их ключи."
msgid "Sets the call mode used for \"Call Method\" tracks."
msgstr "Устанавливает режим вызова, используемый для треков \"Call Method\"."
msgid "Sets the process notification in which to update animations."
msgstr ""
"Устанавливает уведомление о процессе, в котором необходимо обновить анимацию."
msgid "Sets the node which node path references will travel from."
msgstr ""
"Устанавливает узел, из которого будут перемещаться ссылки на пути узлов."
msgid ""
"Changes the start and end times of the section being played. The current "
"playback position will be clamped within the new section. See also [method "
"play_section]."
msgstr ""
"Изменяет время начала и окончания воспроизводимого раздела. Текущая позиция "
"воспроизведения будет зафиксирована в новом разделе. См. также [method "
"play_section]."
msgid ""
"Changes the start and end markers of the section being played. The current "
"playback position will be clamped within the new section. See also [method "
"play_section_with_markers].\n"
"If the argument is empty, the section uses the beginning or end of the "
"animation. If both are empty, it means that the section is not set."
msgstr ""
"Изменяет начальный и конечный маркеры воспроизводимого раздела. Текущая "
"позиция воспроизведения будет зафиксирована в новом разделе. См. также "
"[method play_section_with_markers].\n"
"Если аргумент пустой, раздел использует начало или конец анимации. Если оба "
"пусты, это означает, что раздел не установлен."
msgid ""
"Stops the currently playing animation. The animation position is reset to "
"[code]0[/code] and the [code]custom_speed[/code] is reset to [code]1.0[/"
"code]. See also [method pause].\n"
"If [param keep_state] is [code]true[/code], the animation state is not "
"updated visually.\n"
"[b]Note:[/b] The method / audio / animation playback tracks will not be "
"processed by this method."
msgstr ""
"Останавливает текущую воспроизводимую анимацию. Позиция анимации сбрасывается "
"на [code]0[/code], а [code]custom_speed[/code] сбрасывается на [code]1.0[/"
"code]. См. также [method pause].\n"
"Если [param keep_state] равен [code]true[/code], состояние анимации визуально "
"не обновляется.\n"
"[b]Примечание:[/b] Метод / аудио / дорожки воспроизведения анимации не будут "
"обрабатываться этим методом."
msgid ""
"If playing, the current animation's key, otherwise, the animation last "
"played. When set, this changes the animation, but will not play it unless "
"already playing. See also [member current_animation]."
msgstr ""
"Если воспроизводится, ключ текущей анимации, в противном случае — последняя "
"воспроизведенная анимация. Если установлено, это изменяет анимацию, но не "
"воспроизводит ее, если она уже не воспроизводится. См. также [member "
"current_animation]."
msgid ""
"If [code]true[/code], the animation track cache is cleared when the animation "
"is stopped or the playback queue becomes empty. If [code]false[/code], the "
"track cache is preserved, which can improve performance when animations are "
"frequently started and stopped."
msgstr ""
"Если задано значение [code]true[/code], кэш дорожек анимации очищается при "
"остановке анимации или когда очередь воспроизведения становится пустой. Если "
"задано значение [code]false[/code], кэш дорожек сохраняется, что может "
"повысить производительность в случаях, когда анимации часто запускаются и "
"останавливаются."
msgid ""
"The key of the currently playing animation. If no animation is playing, the "
"property's value is an empty string. Changing this value does not restart the "
"animation. See [method play] for more information on playing animations.\n"
"[b]Note:[/b] While this property appears in the Inspector, it's not meant to "
"be edited, and it's not saved in the scene. This property is mainly used to "
"get the currently playing animation, and internally for animation playback "
"tracks. For more information, see [Animation]."
msgstr ""
"Ключ текущей воспроизводимой анимации. Если анимация не воспроизводится, "
"значением свойства является пустая строка. Изменение этого значения не "
"перезапускает анимацию. См. [method play] для получения дополнительной "
"информации о воспроизведении анимаций.\n"
"[b]Примечание:[/b] Хотя это свойство отображается в Инспекторе, оно не "
"предназначено для редактирования и не сохраняется в сцене. Это свойство в "
"основном используется для получения текущей воспроизводимой анимации и "
"внутренне для дорожек воспроизведения анимации. Для получения дополнительной "
"информации см. [Animation]."
msgid "The length (in seconds) of the currently playing animation."
msgstr "Продолжительность (в секундах) текущей воспроизводимой анимации."
msgid "The position (in seconds) of the currently playing animation."
msgstr "Позиция (в секундах) текущей воспроизводимой анимации."
msgid ""
"If [code]true[/code] and the engine is running in Movie Maker mode (see "
"[MovieWriter]), exits the engine with [method SceneTree.quit] as soon as an "
"animation is done playing in this [AnimationPlayer]. A message is printed "
"when the engine quits for this reason.\n"
"[b]Note:[/b] This obeys the same logic as the [signal "
"AnimationMixer.animation_finished] signal, so it will not quit the engine if "
"the animation is set to be looping."
msgstr ""
"Если [code]true[/code] и движок работает в режиме Movie Maker (см. "
"[MovieWriter]), выходит из движка с помощью [method SceneTree.quit], как "
"только анимация завершит воспроизведение в этом [AnimationPlayer]. Сообщение "
"выводится, когда движок завершает работу по этой причине.\n"
"[b]Примечание:[/b] Это подчиняется той же логике, что и сигнал [signal "
"AnimationMixer.animation_finished], поэтому он не выйдет из движка, если "
"анимация установлена как циклическая."
msgid ""
"If [code]true[/code], performs [method AnimationMixer.capture] before "
"playback automatically. This means just [method play_with_capture] is "
"executed with default arguments instead of [method play].\n"
"[b]Note:[/b] Capture interpolation is only performed if the animation "
"contains a capture track. See also [constant Animation.UPDATE_CAPTURE]."
msgstr ""
"Если [code]true[/code], выполняет [method AnimationMixer.capture] перед "
"воспроизведением автоматически. Это означает, что выполняется только [method "
"play_with_capture] с аргументами по умолчанию вместо [method play].\n"
"[b]Примечание:[/b] Интерполяция захвата выполняется только в том случае, если "
"анимация содержит трек захвата. См. также [constant Animation.UPDATE_CAPTURE]."
msgid ""
"See also [method play_with_capture] and [method AnimationMixer.capture].\n"
"If [member playback_auto_capture_duration] is negative value, the duration is "
"set to the interval between the current position and the first key."
msgstr ""
"См. также [method play_with_capture] и [method AnimationMixer.capture].\n"
"Если [member playback_auto_capture_duration] имеет отрицательное значение, "
"длительность устанавливается на интервал между текущей позицией и первым "
"ключом."
msgid ""
"The ease type of the capture interpolation. See also [enum Tween.EaseType]."
msgstr "Тип легкости интерполяции захвата. См. также [enum Tween.EaseType]."
msgid ""
"The transition type of the capture interpolation. See also [enum "
"Tween.TransitionType]."
msgstr ""
"Тип перехода интерполяции захвата. См. также [enum Tween.TransitionType]."
msgid ""
"The default time in which to blend animations. Ranges from 0 to 4096 with "
"0.01 precision."
msgstr ""
"Время по умолчанию для смешивания анимаций. Диапазон от 0 до 4096 с точностью "
"0,01."
msgid ""
"Emitted when a queued animation plays after the previous animation finished. "
"See also [method AnimationPlayer.queue].\n"
"[b]Note:[/b] The signal is not emitted when the animation is changed via "
"[method AnimationPlayer.play] or by an [AnimationTree]."
msgstr ""
"Вызывается, когда анимация в очереди воспроизводится после завершения "
"предыдущей анимации. См. также [method AnimationPlayer.queue].\n"
"[b]Примечание:[/b] Сигнал не вызывается, когда анимация изменяется через "
"[method AnimationPlayer.play] или [AnimationTree]."
msgid "Emitted when [member current_animation] changes."
msgstr "Вызывается при изменении [member current_animation]."
msgid "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]."
msgstr "См. [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS]."
msgid "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE]."
msgstr "См. [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE]."
msgid "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL]."
msgstr "См. [constant AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL]."
msgid "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_METHOD_DEFERRED]."
msgstr "См. [constant AnimationMixer.ANIMATION_CALLBACK_MODE_METHOD_DEFERRED]."
msgid "See [constant AnimationMixer.ANIMATION_CALLBACK_MODE_METHOD_IMMEDIATE]."
msgstr "См. [constant AnimationMixer.ANIMATION_CALLBACK_MODE_METHOD_IMMEDIATE]."
msgid ""
"Base class for [AnimationNode]s that hold one or multiple composite "
"animations. Usually used for [member AnimationTree.tree_root]."
msgstr ""
"Базовый класс для [AnimationNode], которые содержат одну или несколько "
"составных анимаций. Обычно используется для [member AnimationTree.tree_root]."
msgid ""
"[AnimationRootNode] is a base class for [AnimationNode]s that hold a complete "
"animation. A complete animation refers to the output of an "
"[AnimationNodeOutput] in an [AnimationNodeBlendTree] or the output of another "
"[AnimationRootNode]. Used for [member AnimationTree.tree_root] or in other "
"[AnimationRootNode]s.\n"
"Examples of built-in root nodes include [AnimationNodeBlendTree] (allows "
"blending nodes between each other using various modes), "
"[AnimationNodeStateMachine] (allows to configure blending and transitions "
"between nodes using a state machine pattern), [AnimationNodeBlendSpace2D] "
"(allows linear blending between [b]three[/b] [AnimationNode]s), "
"[AnimationNodeBlendSpace1D] (allows linear blending only between [b]two[/b] "
"[AnimationNode]s)."
msgstr ""
"[AnimationRootNode] — это базовый класс для [AnimationNode], которые содержат "
"полную анимацию. Полная анимация относится к выходу [AnimationNodeOutput] в "
"[AnimationNodeBlendTree] или выходу другого [AnimationRootNode]. Используется "
"для [member AnimationTree.tree_root] или в других [AnimationRootNode].\n"
"Примерами встроенных корневых узлов являются [AnimationNodeBlendTree] "
"(позволяет смешивать узлы между собой с использованием различных режимов), "
"[AnimationNodeStateMachine] (позволяет настраивать смешивание и переходы "
"между узлами с использованием шаблона конечного автомата), "
"[AnimationNodeBlendSpace2D] (позволяет линейное смешивание между [b]тремя[/b] "
"[AnimationNode]-ми), [AnimationNodeBlendSpace1D] (позволяет линейное "
"смешивание только между [b]двумя[/b] [AnimationNode]-ми)."
msgid "A node used for advanced animation transitions in an [AnimationPlayer]."
msgstr ""
"Узел, используемый для расширенных анимационных переходов в [AnimationPlayer]."
msgid ""
"A node used for advanced animation transitions in an [AnimationPlayer].\n"
"[b]Note:[/b] When linked with an [AnimationPlayer], several properties and "
"methods of the corresponding [AnimationPlayer] will not function as expected. "
"Playback and transitions should be handled using only the [AnimationTree] and "
"its constituent [AnimationNode](s). The [AnimationPlayer] node should be used "
"solely for adding, deleting, and editing animations."
msgstr ""
"Узел, используемый для расширенных анимационных переходов в "
"[AnimationPlayer].\n"
"[b]Примечание:[/b] При связывании с [AnimationPlayer] несколько свойств и "
"методов соответствующего [AnimationPlayer] не будут работать так, как "
"ожидается. Воспроизведение и переходы должны обрабатываться только с "
"использованием [AnimationTree] и его составляющих [AnimationNode]. Узел "
"[AnimationPlayer] должен использоваться исключительно для добавления, "
"удаления и редактирования анимаций."
msgid ""
"The path to the [Node] used to evaluate the [AnimationNode] [Expression] if "
"one is not explicitly specified internally."
msgstr ""
"Путь к [Node], используемый для оценки [AnimationNode] [Expression], если он "
"явно не указан внутри."
msgid "The path to the [AnimationPlayer] used for animating."
msgstr "Путь к [AnimationPlayer], используемому для анимации."
msgid ""
"The root animation node of this [AnimationTree]. See [AnimationRootNode]."
msgstr "Корневой узел анимации этого [AnimationTree]. См. [AnimationRootNode]."
msgid "Emitted when the [member anim_player] is changed."
msgstr "Вызывается при изменении [member anim_player]."
msgid ""
"A region of 2D space that detects other [CollisionObject2D]s entering or "
"exiting it."
msgstr ""
"Область 2D пространства, которая обнаруживает другие [CollisionObject2D], "
"входящие в нее или выходящие из нее."
msgid ""
"[Area2D] is a region of 2D space defined by one or multiple "
"[CollisionShape2D] or [CollisionPolygon2D] child nodes. It detects when other "
"[CollisionObject2D]s enter or exit it, and it also keeps track of which "
"collision objects haven't exited it yet (i.e. which one are overlapping it).\n"
"This node can also locally alter or override physics parameters (gravity, "
"damping) and route audio to custom audio buses.\n"
"[b]Note:[/b] Areas and bodies created with [PhysicsServer2D] might not "
"interact as expected with [Area2D]s, and might not emit signals or track "
"objects correctly."
msgstr ""
"[Area2D] — это область двумерного пространства, определяемая одним или "
"несколькими дочерними узлами [CollisionShape2D] или [CollisionPolygon2D]. Он "
"определяет, когда другие [CollisionObject2D] входят в него или выходят из "
"него, а также отслеживает, какие объекты столкновения еще не вышли из него "
"(т. е. какие из них перекрывают его).\n"
"Этот узел также может локально изменять или переопределять физические "
"параметры (гравитация, затухание) и направлять звук на пользовательские "
"аудиошины.\n"
"[b]Примечание:[/b] Области и тела, созданные с помощью [PhysicsServer2D], "
"могут не взаимодействовать с [Area2D]-ми так, как ожидается, и могут не "
"испускать сигналы или не отслеживать объекты правильно."
msgid "Using Area2D"
msgstr "Использование Area2D"
msgid "2D Pong Demo"
msgstr "Демоверсия 2D-понга"
msgid "2D Platformer Demo"
msgstr "Демоверсия 2D-платформера"
msgid ""
"Returns a list of intersecting [Area2D]s. The overlapping area's [member "
"CollisionObject2D.collision_layer] must be part of this area's [member "
"CollisionObject2D.collision_mask] in order to be detected.\n"
"For performance reasons (collisions are all processed at the same time) this "
"list is modified once during the physics step, not immediately after objects "
"are moved. Consider using signals instead."
msgstr ""
"Возвращает список пересекающихся [Area2D]. [Member "
"CollisionObject2D.collision_layer] перекрывающейся области должен быть частью "
"[member CollisionObject2D.collision_mask] этой области, чтобы быть "
"обнаруженным.\n"
"Из соображений производительности (все столкновения обрабатываются "
"одновременно) этот список изменяется один раз во время шага физики, а не "
"сразу после перемещения объектов. Рассмотрите возможность использования "
"сигналов вместо этого."
msgid ""
"Returns a list of intersecting [PhysicsBody2D]s and [TileMap]s. The "
"overlapping body's [member CollisionObject2D.collision_layer] must be part of "
"this area's [member CollisionObject2D.collision_mask] in order to be "
"detected.\n"
"For performance reasons (collisions are all processed at the same time) this "
"list is modified once during the physics step, not immediately after objects "
"are moved. Consider using signals instead."
msgstr ""
"Возвращает список пересекающихся [PhysicsBody2D] и [TileMap]. [Member "
"CollisionObject2D.collision_layer] перекрывающегося тела должен быть частью "
"[member CollisionObject2D.collision_mask] этой области, чтобы быть "
"обнаруженным.\n"
"Из соображений производительности (все столкновения обрабатываются "
"одновременно) этот список изменяется один раз во время шага физики, а не "
"сразу после перемещения объектов. Рассмотрите возможность использования "
"сигналов вместо этого."
msgid ""
"Returns [code]true[/code] if intersecting any [Area2D]s, otherwise returns "
"[code]false[/code]. The overlapping area's [member "
"CollisionObject2D.collision_layer] must be part of this area's [member "
"CollisionObject2D.collision_mask] in order to be detected.\n"
"For performance reasons (collisions are all processed at the same time) the "
"list of overlapping areas is modified once during the physics step, not "
"immediately after objects are moved. Consider using signals instead."
msgstr ""
"Возвращает [code]true[/code], если пересекает какие-либо [Area2D]-ы, в "
"противном случае возвращает [code]false[/code]. [Member "
"CollisionObject2D.collision_layer] перекрывающейся области должен быть частью "
"[member CollisionObject2D.collision_mask] этой области, чтобы быть "
"обнаруженным.\n"
"Из соображений производительности (все столкновения обрабатываются "
"одновременно) список перекрывающихся областей изменяется один раз во время "
"шага физики, а не сразу после перемещения объектов. Рассмотрите возможность "
"использования сигналов вместо этого."
msgid ""
"Returns [code]true[/code] if intersecting any [PhysicsBody2D]s or [TileMap]s, "
"otherwise returns [code]false[/code]. The overlapping body's [member "
"CollisionObject2D.collision_layer] must be part of this area's [member "
"CollisionObject2D.collision_mask] in order to be detected.\n"
"For performance reasons (collisions are all processed at the same time) the "
"list of overlapping bodies is modified once during the physics step, not "
"immediately after objects are moved. Consider using signals instead."
msgstr ""
"Возвращает [code]true[/code], если пересекает любые [PhysicsBody2D]-ы или "
"[TileMap]-ми, в противном случае возвращает [code]false[/code]. [Member "
"CollisionObject2D.collision_layer] перекрывающего тела должен быть частью "
"[member CollisionObject2D.collision_mask] этой области, чтобы быть "
"обнаруженным.\n"
"Из соображений производительности (все столкновения обрабатываются "
"одновременно) список перекрывающихся тел изменяется один раз во время шага "
"физики, а не сразу после перемещения объектов. Рассмотрите возможность "
"использования сигналов вместо этого."
msgid ""
"Returns [code]true[/code] if the given [Area2D] intersects or overlaps this "
"[Area2D], [code]false[/code] otherwise.\n"
"[b]Note:[/b] The result of this test is not immediate after moving objects. "
"For performance, the list of overlaps is updated once per frame and before "
"the physics step. Consider using signals instead."
msgstr ""
"Возвращает [code]true[/code], если заданная [Area2D] пересекает или "
"перекрывает эту [Area2D], [code]false[/code] в противном случае.\n"
"[b]Примечание:[/b] Результат этого теста не появляется сразу после "
"перемещения объектов. Для производительности список перекрытий обновляется "
"один раз за кадр и перед шагом физики. Рассмотрите возможность использования "
"сигналов вместо этого."
msgid ""
"Returns [code]true[/code] if the given physics body intersects or overlaps "
"this [Area2D], [code]false[/code] otherwise.\n"
"[b]Note:[/b] The result of this test is not immediate after moving objects. "
"For performance, list of overlaps is updated once per frame and before the "
"physics step. Consider using signals instead.\n"
"The [param body] argument can either be a [PhysicsBody2D] or a [TileMap] "
"instance. While TileMaps are not physics bodies themselves, they register "
"their tiles with collision shapes as a virtual physics body."
msgstr ""
"Возвращает [code]true[/code], если указанное физическое тело пересекается или "
"перекрывается с этой областью ([Area2D]), иначе [code]false[/code]. \n"
"[b]Примечание:[/b] Результат этого теста не обновляется мгновенно после "
"перемещения объектов. Для производительности список перекрытий обновляется "
"один раз за кадр и перед шагом физики. Рекомендуется использовать сигналы. \n"
"Аргумент [param body] может быть либо [PhysicsBody2D], либо экземпляром "
"[TileMap]. Хотя TileMap сам по себе не является физическим телом, он "
"регистрирует свои тайлы с коллизиями как виртуальное физическое тело."
msgid ""
"The rate at which objects stop spinning in this area. Represents the angular "
"velocity lost per second.\n"
"See [member ProjectSettings.physics/2d/default_angular_damp] for more details "
"about damping."
msgstr ""
"Скорость, с которой объекты прекращают вращаться в этой области. Представляет "
"угловую скорость, потерянную в секунду.\n"
"Подробнее о затухании см. [member ProjectSettings.physics/2d/"
"default_angular_damp]."
msgid "Override mode for angular damping calculations within this area."
msgstr ""
"Режим переопределения для расчетов углового демпфирования в этой области."
msgid "The name of the area's audio bus."
msgstr "Название аудио-шины этой области."
msgid ""
"If [code]true[/code], the area's audio bus overrides the default audio bus."
msgstr ""
"Если [code]true[/code], аудиошина области переопределяет аудиошину по "
"умолчанию."
msgid ""
"The area's gravity intensity (in pixels per second squared). This value "
"multiplies the gravity direction. This is useful to alter the force of "
"gravity without altering its direction."
msgstr ""
"Интенсивность гравитации области (в пикселях в секунду в квадрате). Это "
"значение умножает направление гравитации. Это полезно для изменения силы "
"гравитации без изменения ее направления."
msgid "The area's gravity vector (not normalized)."
msgstr "Вектор силы тяжести области (не нормализован)."
msgid ""
"If [code]true[/code], gravity is calculated from a point (set via [member "
"gravity_point_center]). See also [member gravity_space_override]."
msgstr ""
"Если [code]true[/code], гравитация рассчитывается из точки (задается через "
"[member gravity_point_center]). См. также [member gravity_space_override]."
msgid ""
"If gravity is a point (see [member gravity_point]), this will be the point of "
"attraction."
msgstr ""
"Если гравитация — это точка (см. [membergravity_point]), то это будет точка "
"притяжения."
msgid ""
"The distance at which the gravity strength is equal to [member gravity]. For "
"example, on a planet 100 pixels in radius with a surface gravity of 4.0 px/"
"s², set the [member gravity] to 4.0 and the unit distance to 100.0. The "
"gravity will have falloff according to the inverse square law, so in the "
"example, at 200 pixels from the center the gravity will be 1.0 px/s² (twice "
"the distance, 1/4th the gravity), at 50 pixels it will be 16.0 px/s² (half "
"the distance, 4× the gravity), and so on.\n"
"The above is true only when the unit distance is a positive number. When this "
"is set to 0.0, the gravity will be constant regardless of distance."
msgstr ""
"Расстояние, на котором сила гравитации равна значению [member gravity]. "
"Например, если планета имеет радиус 100 пикселей, а гравитация на её "
"поверхности составляет 4,0 пикс/с², установите параметр [member gravity] на "
"4,0, а расстояние (unit distance) — на 100,0. Сила гравитации будет убывать "
"согласно закону обратных квадратов: в данном примере на расстоянии 200 "
"пикселей от центра она составит 1,0 пикс/с² (расстояние увеличилось вдвое — "
"гравитация уменьшилась в 4 раза), а на расстоянии 50 пикселей — 16,0 пикс/с² "
"(расстояние уменьшилось вдвое — гравитация увеличилась в 4 раза) и так "
"далее.\n"
"Всё вышесказанное верно только в том случае, если значение расстояния (unit "
"distance) — положительное число. Если же установить его равным 0,0, сила "
"гравитации станет постоянной, независимо от расстояния."
msgid "Override mode for gravity calculations within this area."
msgstr "Режим переопределения для расчетов гравитации в этой области."
msgid ""
"The rate at which objects stop moving in this area. Represents the linear "
"velocity lost per second.\n"
"See [member ProjectSettings.physics/2d/default_linear_damp] for more details "
"about damping."
msgstr ""
"Скорость, с которой объекты прекращают движение в этой области. Представляет "
"собой потерю линейной скорости в секунду.\n"
"Подробнее о затухании см. [member ProjectSettings.physics/2d/"
"default_linear_damp]."
msgid "Override mode for linear damping calculations within this area."
msgstr "Режим переопределения для расчетов линейного затухания в этой области."
msgid "If [code]true[/code], other monitoring areas can detect this area."
msgstr ""
"Если [code]true[/code], другие области мониторинга могут обнаружить эту "
"область."
msgid ""
"If [code]true[/code], the area detects bodies or areas entering and exiting "
"it."
msgstr ""
"Если [code]true[/code], область обнаруживает входящие и выходящие из нее тела "
"или области."
msgid ""
"The area's priority. Higher priority areas are processed first. The "
"[World2D]'s physics is always processed last, after all areas."
msgstr ""
"Приоритет области. Области с более высоким приоритетом обрабатываются в "
"первую очередь. Физика [World2D] всегда обрабатывается в последнюю очередь, "
"после всех областей."
msgid ""
"Emitted when the received [param area] enters this area. Requires [member "
"monitoring] to be set to [code]true[/code]."
msgstr ""
"Выдается, когда полученный [param area] входит в эту область. Требуется, "
"чтобы [member monitoring] был установлен в [code]true[/code]."
msgid ""
"Emitted when the received [param area] exits this area. Requires [member "
"monitoring] to be set to [code]true[/code]."
msgstr ""
"Выдается, когда полученная [param area] выходит из этой области. Требует, "
"чтобы [member monitoring] был установлен на [code]true[/code]."
msgid ""
"Emitted when a [Shape2D] of the received [param area] enters a shape of this "
"area. Requires [member monitoring] to be set to [code]true[/code].\n"
"[param local_shape_index] and [param area_shape_index] contain indices of the "
"interacting shapes from this area and the other area, respectively. [param "
"area_rid] contains the [RID] of the other area. These values can be used with "
"the [PhysicsServer2D].\n"
"[b]Example:[/b] Get the [CollisionShape2D] node from the shape index:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var other_shape_owner = area.shape_find_owner(area_shape_index)\n"
"var other_shape_node = area.shape_owner_get_owner(other_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Выдается, когда [Shape2D] полученного [param area] входит в форму этой "
"области. Требует, чтобы [member monitoring] был установлен в [code]true[/"
"code].\n"
"[param local_shape_index] и [param area_shape_index] содержат индексы "
"взаимодействующих фигур из этой области и другой области соответственно. "
"[param area_rid] содержит [RID] другой области. Эти значения можно "
"использовать с [PhysicsServer2D].\n"
"[b]Пример:[/b] Получить узел [CollisionShape2D] из индекса формы:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var other_shape_owner = area.shape_find_owner(area_shape_index)\n"
"var other_shape_node = area.shape_owner_get_owner(other_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Emitted when a [Shape2D] of the received [param area] exits a shape of this "
"area. Requires [member monitoring] to be set to [code]true[/code].\n"
"See also [signal area_shape_entered]."
msgstr ""
"Выдается, когда [Shape2D] полученной [param area] выходит из формы этой "
"области. Требует, чтобы [member monitoring] был установлен на [code]true[/"
"code].\n"
"См. также [signal area_shape_entered]."
msgid ""
"Emitted when the received [param body] enters this area. [param body] can be "
"a [PhysicsBody2D] or a [TileMap]. [TileMap]s are detected if their [TileSet] "
"has collision shapes configured. Requires [member monitoring] to be set to "
"[code]true[/code]."
msgstr ""
"Вызывается, когда полученное [param body] попадает в эту область. [param "
"body] может быть [PhysicsBody2D] или [TileMap]. [TileMap] обнаруживаются, "
"если их [TileSet] имеет настроенные формы столкновений. Требует, чтобы "
"[member monitoring] был установлен на [code]true[/code]."
msgid ""
"Emitted when the received [param body] exits this area. [param body] can be a "
"[PhysicsBody2D] or a [TileMap]. [TileMap]s are detected if their [TileSet] "
"has collision shapes configured. Requires [member monitoring] to be set to "
"[code]true[/code]."
msgstr ""
"Вызывается, когда полученное [param body] покидает эту область. [param body] "
"может быть [PhysicsBody2D] или [TileMap]. [TileMap] обнаруживаются, если их "
"[TileSet] имеет настроенные формы столкновений. Требует, чтобы [member "
"monitoring] был установлен на [code]true[/code]."
msgid ""
"Emitted when a [Shape2D] of the received [param body] enters a shape of this "
"area. [param body] can be a [PhysicsBody2D] or a [TileMap]. [TileMap]s are "
"detected if their [TileSet] has collision shapes configured. Requires [member "
"monitoring] to be set to [code]true[/code].\n"
"[param local_shape_index] and [param body_shape_index] contain indices of the "
"interacting shapes from this area and the interacting body, respectively. "
"[param body_rid] contains the [RID] of the body. These values can be used "
"with the [PhysicsServer2D].\n"
"[b]Example:[/b] Get the [CollisionShape2D] node from the shape index:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var body_shape_owner = body.shape_find_owner(body_shape_index)\n"
"var body_shape_node = body.shape_owner_get_owner(body_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Вызывается, когда [Shape2D] полученного [param body] входит в форму этой "
"области. [param body] может быть [PhysicsBody2D] или [TileMap]. [TileMap] "
"обнаруживаются, если их [TileSet] имеет настроенные формы столкновений. "
"Требует, чтобы [member monitoring] был установлен на [code]true[/code].\n"
"[param local_shape_index] и [param body_shape_index] содержат индексы "
"взаимодействующих фигур из этой области и взаимодействующего тела "
"соответственно. [param body_rid] содержит [RID] тела. Эти значения можно "
"использовать с [PhysicsServer2D].\n"
"[b]Пример:[/b] Получить узел [CollisionShape2D] из индекса формы:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var body_shape_owner = body.shape_find_owner(body_shape_index)\n"
"var body_shape_node = body.shape_owner_get_owner(body_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Emitted when a [Shape2D] of the received [param body] exits a shape of this "
"area. [param body] can be a [PhysicsBody2D] or a [TileMap]. [TileMap]s are "
"detected if their [TileSet] has collision shapes configured. Requires [member "
"monitoring] to be set to [code]true[/code].\n"
"See also [signal body_shape_entered]."
msgstr ""
"Выдается, когда [Shape2D] полученного [param body] выходит из формы этой "
"области. [param body] может быть [PhysicsBody2D] или [TileMap]. [TileMap] "
"обнаруживаются, если их [TileSet] имеет настроенные формы столкновений. "
"Требует, чтобы [member monitoring] был установлен на [code]true[/code].\n"
"См. также [signal body_shape_entered]."
msgid "This area does not affect gravity/damping."
msgstr "Эта область не влияет на гравитацию/демпфирование."
msgid ""
"This area adds its gravity/damping values to whatever has been calculated so "
"far (in [member priority] order)."
msgstr ""
"Эта область добавляет свои значения гравитации/затухания ко всему, что было "
"рассчитано до сих пор (в порядке [member priority])."
msgid ""
"This area adds its gravity/damping values to whatever has been calculated so "
"far (in [member priority] order), ignoring any lower priority areas."
msgstr ""
"Эта область добавляет свои значения гравитации/демпфирования ко всему, что "
"было рассчитано до сих пор (в порядке [member priority]), игнорируя любые "
"области с более низким приоритетом."
msgid ""
"This area replaces any gravity/damping, even the defaults, ignoring any lower "
"priority areas."
msgstr ""
"Эта область заменяет любую гравитацию/демпфирование, даже значения по "
"умолчанию, игнорируя любые области с более низким приоритетом."
msgid ""
"This area replaces any gravity/damping calculated so far (in [member "
"priority] order), but keeps calculating the rest of the areas."
msgstr ""
"Эта область заменяет все рассчитанные до сих пор значения гравитации/"
"демпфирования (в порядке [member priority]), но продолжает рассчитывать "
"остальные области."
msgid ""
"A region of 3D space that detects other [CollisionObject3D]s entering or "
"exiting it."
msgstr ""
"Область трехмерного пространства, которая обнаруживает другие "
"[CollisionObject3D], входящие в нее или выходящие из нее."
msgid ""
"[Area3D] is a region of 3D space defined by one or multiple "
"[CollisionShape3D] or [CollisionPolygon3D] child nodes. It detects when other "
"[CollisionObject3D]s enter or exit it, and it also keeps track of which "
"collision objects haven't exited it yet (i.e. which one are overlapping it).\n"
"This node can also locally alter or override physics parameters (gravity, "
"damping) and route audio to custom audio buses.\n"
"[b]Note:[/b] Areas and bodies created with [PhysicsServer3D] might not "
"interact as expected with [Area3D]s, and might not emit signals or track "
"objects correctly.\n"
"[b]Warning:[/b] Using a [ConcavePolygonShape3D] inside a [CollisionShape3D] "
"child of this node (created e.g. by using the [b]Create Trimesh Collision "
"Sibling[/b] option in the [b]Mesh[/b] menu that appears when selecting a "
"[MeshInstance3D] node) may give unexpected results, since this collision "
"shape is hollow. If this is not desired, it has to be split into multiple "
"[ConvexPolygonShape3D]s or primitive shapes like [BoxShape3D], or in some "
"cases it may be replaceable by a [CollisionPolygon3D]."
msgstr ""
"[Area3D] — это область трехмерного пространства, определяемая одним или "
"несколькими дочерними узлами [CollisionShape3D] или [CollisionPolygon3D]. Он "
"определяет, когда другие [CollisionObject3D] входят в него или выходят из "
"него, а также отслеживает, какие объекты столкновения еще не вышли из него "
"(т. е. какие из них перекрывают его).\n"
"Этот узел также может локально изменять или переопределять физические "
"параметры (гравитация, затухание) и направлять звук на пользовательские "
"аудиошины.\n"
"[b]Примечание:[/b] Области и тела, созданные с помощью [PhysicsServer3D], "
"могут не взаимодействовать с [Area3D] так, как ожидается, и могут не "
"испускать сигналы или не отслеживать объекты правильно.\n"
"[b]Предупреждение:[/b] Использование [ConcavePolygonShape3D] внутри дочернего "
"узла [CollisionShape3D] этого узла (созданного, например, с помощью параметра "
"[b]Create Trimesh Collision Sibling[/b] в меню [b]Mesh[/b], которое "
"появляется при выборе узла [MeshInstance3D]) может дать неожиданные "
"результаты, поскольку эта форма столкновения полая. Если это нежелательно, ее "
"следует разделить на несколько [ConvexPolygonShape3D] или примитивных форм, "
"таких как [BoxShape3D], или в некоторых случаях ее можно заменить на "
"[CollisionPolygon3D]."
msgid "GUI in 3D Viewport Demo"
msgstr "Демонстрация графического интерфейса пользователя в 3D-окне просмотра"
msgid ""
"Returns a list of intersecting [Area3D]s. The overlapping area's [member "
"CollisionObject3D.collision_layer] must be part of this area's [member "
"CollisionObject3D.collision_mask] in order to be detected.\n"
"For performance reasons (collisions are all processed at the same time) this "
"list is modified once during the physics step, not immediately after objects "
"are moved. Consider using signals instead."
msgstr ""
"Возвращает список пересекающихся [Area3D]-ов. [Member "
"CollisionObject3D.collision_layer] перекрывающейся области должен быть частью "
"[member CollisionObject3D.collision_mask] этой области, чтобы быть "
"обнаруженным.\n"
"Из соображений производительности (все столкновения обрабатываются "
"одновременно) этот список изменяется один раз во время шага физики, а не "
"сразу после перемещения объектов. Рассмотрите возможность использования "
"сигналов вместо этого."
msgid ""
"Returns a list of intersecting [PhysicsBody3D]s, [SoftBody3D]s, and "
"[GridMap]s. The overlapping body's [member CollisionObject3D.collision_layer] "
"must be part of this area's [member CollisionObject3D.collision_mask] in "
"order to be detected.\n"
"For performance reasons (collisions are all processed at the same time) this "
"list is modified once during the physics step, not immediately after objects "
"are moved. Consider using signals instead.\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will not return any such bodies."
msgstr ""
"Возвращает список пересекающихся объектов [PhysicsBody3D], [SoftBody3D] и "
"[GridMap]. [Member CollisionObject3D.collision_layer] перекрывающегося "
"объекта должен быть частью [member CollisionObject3D.collision_mask] этой "
"области, чтобы быть обнаруженным.\n"
"По соображениям производительности (все столкновения обрабатываются "
"одновременно) этот список изменяется один раз на этапе физики, а не сразу "
"после перемещения объектов. Рекомендуется использовать сигналы.\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"[SoftBody3D], поэтому не будет возвращать такие объекты."
msgid ""
"Returns [code]true[/code] if intersecting any [Area3D]s, otherwise returns "
"[code]false[/code]. The overlapping area's [member "
"CollisionObject3D.collision_layer] must be part of this area's [member "
"CollisionObject3D.collision_mask] in order to be detected.\n"
"For performance reasons (collisions are all processed at the same time) the "
"list of overlapping areas is modified once during the physics step, not "
"immediately after objects are moved. Consider using signals instead."
msgstr ""
"Возвращает [code]true[/code], если пересекает какие-либо [Area3D], в "
"противном случае возвращает [code]false[/code]. [Member "
"CollisionObject3D.collision_layer] перекрывающейся области должен быть частью "
"[member CollisionObject3D.collision_mask] этой области, чтобы быть "
"обнаруженным.\n"
"Из соображений производительности (все столкновения обрабатываются "
"одновременно) список перекрывающихся областей изменяется один раз во время "
"шага физики, а не сразу после перемещения объектов. Рассмотрите возможность "
"использования сигналов вместо этого."
msgid ""
"Returns [code]true[/code] if intersecting any [PhysicsBody3D]s, "
"[SoftBody3D]s, or [GridMap]s, otherwise returns [code]false[/code]. The "
"overlapping body's [member CollisionObject3D.collision_layer] must be part of "
"this area's [member CollisionObject3D.collision_mask] in order to be "
"detected.\n"
"For performance reasons (collisions are all processed at the same time) the "
"list of overlapping bodies is modified once during the physics step, not "
"immediately after objects are moved. Consider using signals instead.\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will not consider such bodies."
msgstr ""
"Возвращает [code]true[/code], если происходит пересечение с любыми объектами "
"[PhysicsBody3D], [SoftBody3D] или [GridMap], в противном случае возвращает "
"[code]false[/code]. [member CollisionObject3D.collision_layer] "
"перекрывающегося объекта должен быть частью [member "
"CollisionObject3D.collision_mask] этой области, чтобы быть обнаруженным.\n"
"По соображениям производительности (все столкновения обрабатываются "
"одновременно) список перекрывающихся объектов изменяется один раз на этапе "
"физики, а не сразу после перемещения объектов. Рекомендуется использовать "
"сигналы.\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"[SoftBody3D], поэтому не будет учитывать такие объекты."
msgid ""
"Returns [code]true[/code] if the given [Area3D] intersects or overlaps this "
"[Area3D], [code]false[/code] otherwise.\n"
"[b]Note:[/b] The result of this test is not immediate after moving objects. "
"For performance, list of overlaps is updated once per frame and before the "
"physics step. Consider using signals instead."
msgstr ""
"Возвращает [code]true[/code], если заданная [Area3D] пересекает или "
"перекрывает эту [Area3D], [code]false[/code] в противном случае.\n"
"[b]Примечание:[/b] Результат этого теста не появляется сразу после "
"перемещения объектов. Для производительности список перекрытий обновляется "
"один раз за кадр и перед шагом физики. Рассмотрите возможность использования "
"сигналов вместо этого."
msgid ""
"Returns [code]true[/code] if the given physics body intersects or overlaps "
"this [Area3D], [code]false[/code] otherwise.\n"
"[param body] argument can either be a [PhysicsBody3D], [SoftBody3D], or a "
"[GridMap] instance. While GridMaps are not physics body themselves, they "
"register their tiles with collision shapes as a virtual physics body.\n"
"[b]Note:[/b] The result of this test is not immediate after moving objects. "
"For performance, list of overlaps is updated once per frame and before the "
"physics step. Consider using signals instead.\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will return [code]false[/code] in such cases."
msgstr ""
"Возвращает [code]true[/code], если заданное физическое тело пересекает или "
"перекрывает этот [Area3D], [code]false[/code] в противном случае.\n"
"Аргумент [param body] может быть экземпляром [PhysicsBody3D], [SoftBody3D] "
"или [GridMap]. Хотя GridMap сами по себе не являются физическими телами, они "
"регистрируют свои тайлы с формами столкновений как виртуальное физическое "
"тело.\n"
"[b]Примечание:[/b] Результат этого теста не отображается сразу после "
"перемещения объектов. Для повышения производительности список перекрытий "
"обновляется один раз за кадр и перед шагом физики. Рекомендуется использовать "
"сигналы.\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"помощью [SoftBody3D], поэтому в таких случаях будет возвращать [code]false[/"
"code]."
msgid ""
"The rate at which objects stop spinning in this area. Represents the angular "
"velocity lost per second.\n"
"See [member ProjectSettings.physics/3d/default_angular_damp] for more details "
"about damping."
msgstr ""
"Скорость, с которой объекты прекращают вращаться в этой области. Представляет "
"угловую скорость, потерянную в секунду.\n"
"Подробнее о затухании см. [member ProjectSettings.physics/3d/"
"default_angular_damp]."
msgid ""
"The area's gravity intensity (in meters per second squared). This value "
"multiplies the gravity direction. This is useful to alter the force of "
"gravity without altering its direction."
msgstr ""
"Интенсивность гравитации области (в метрах в секунду в квадрате). Это "
"значение умножает направление гравитации. Это полезно для изменения силы "
"гравитации без изменения ее направления."
msgid ""
"The distance at which the gravity strength is equal to [member gravity]. For "
"example, on a planet 100 meters in radius with a surface gravity of 4.0 m/s², "
"set the [member gravity] to 4.0 and the unit distance to 100.0. The gravity "
"will have falloff according to the inverse square law, so in the example, at "
"200 meters from the center the gravity will be 1.0 m/s² (twice the distance, "
"1/4th the gravity), at 50 meters it will be 16.0 m/s² (half the distance, 4× "
"the gravity), and so on.\n"
"The above is true only when the unit distance is a positive number. When this "
"is set to 0.0, the gravity will be constant regardless of distance."
msgstr ""
"Расстояние, на котором сила гравитации равна значению [member gravity]. "
"Например, для планеты радиусом 100 метров с ускорением свободного падения на "
"поверхности 4,0 м/с² следует задать параметр [member gravity] равным 4,0, а "
"единичное расстояние (unit distance) — 100,0. Сила гравитации будет "
"изменяться согласно закону обратных квадратов: в данном примере на расстоянии "
"200 метров от центра она составит 1,0 м/с² (расстояние увеличилось вдвое — "
"гравитация уменьшилась в 4 раза), а на расстоянии 50 метров — 16,0 м/с² "
"(расстояние уменьшилось вдвое — гравитация увеличилась в 4 раза) и так "
"далее.\n"
"Это правило действует только в том случае, если единичное расстояние задано "
"положительным числом. Если же установить его равным 0,0, сила гравитации "
"будет оставаться постоянной независимо от расстояния."
msgid ""
"The rate at which objects stop moving in this area. Represents the linear "
"velocity lost per second.\n"
"See [member ProjectSettings.physics/3d/default_linear_damp] for more details "
"about damping."
msgstr ""
"Скорость, с которой объекты прекращают движение в этой области. Представляет "
"собой потерю линейной скорости в секунду.\n"
"Подробнее о затухании см. [member ProjectSettings.physics/3d/"
"default_linear_damp]."
msgid ""
"The area's priority. Higher priority areas are processed first. The "
"[World3D]'s physics is always processed last, after all areas."
msgstr ""
"Приоритет области. Области с более высоким приоритетом обрабатываются в "
"первую очередь. Физика [World3D] всегда обрабатывается в последнюю очередь, "
"после всех областей."
msgid ""
"The degree to which this area applies reverb to its associated audio. Ranges "
"from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision."
msgstr ""
"Степень, в которой эта область применяет реверберацию к связанному с ней "
"аудио. Диапазон от [code]0[/code] до [code]1[/code] с точностью [code]0.1[/"
"code]."
msgid "If [code]true[/code], the area applies reverb to its associated audio."
msgstr ""
"Если [code]true[/code], область применяет реверберацию (reverb) к связанному "
"с ней звуку."
msgid "The name of the reverb bus to use for this area's associated audio."
msgstr ""
"Имя шины реверберации, используемой для звука, связанного с этой областью."
msgid ""
"The degree to which this area's reverb is a uniform effect. Ranges from "
"[code]0[/code] to [code]1[/code] with [code]0.1[/code] precision."
msgstr ""
"Степень, в которой реверберация этой области является равномерным эффектом. "
"Диапазон от [code]0[/code] до [code]1[/code] с точностью [code]0.1[/code]."
msgid ""
"The exponential rate at which wind force decreases with distance from its "
"origin.\n"
"[b]Note:[/b] This wind force only applies to [SoftBody3D] nodes. Other "
"physics bodies are currently not affected by wind."
msgstr ""
"Экспоненциальная скорость, с которой сила ветра уменьшается с расстоянием от "
"ее источника.\n"
"[b]Примечание:[/b] Эта сила ветра применяется только к узлам [SoftBody3D]. "
"Другие физические тела в настоящее время не подвержены влиянию ветра."
msgid ""
"The magnitude of area-specific wind force.\n"
"[b]Note:[/b] This wind force only applies to [SoftBody3D] nodes. Other "
"physics bodies are currently not affected by wind."
msgstr ""
"Величина силы ветра, специфичной для данной области.\n"
"[b]Примечание:[/b] Эта сила ветра применяется только к узлам [SoftBody3D]. "
"Другие физические тела в настоящее время не подвержены влиянию ветра."
msgid ""
"The [Node3D] which is used to specify the direction and origin of an area-"
"specific wind force. The direction is opposite to the z-axis of the "
"[Node3D]'s local transform, and its origin is the origin of the [Node3D]'s "
"local transform.\n"
"[b]Note:[/b] This wind force only applies to [SoftBody3D] nodes. Other "
"physics bodies are currently not affected by wind."
msgstr ""
"[Node3D], который используется для указания направления и источника силы "
"ветра, специфичной для области. Направление противоположно оси z локального "
"преобразования [Node3D], а его источник является источником локального "
"преобразования [Node3D].\n"
"[b]Примечание:[/b] Эта сила ветра применяется только к узлам [SoftBody3D]. "
"Другие физические тела в настоящее время не подвержены влиянию ветра."
msgid ""
"Emitted when a [Shape3D] of the received [param area] enters a shape of this "
"area. Requires [member monitoring] to be set to [code]true[/code].\n"
"[param local_shape_index] and [param area_shape_index] contain indices of the "
"interacting shapes from this area and the other area, respectively. [param "
"area_rid] contains the [RID] of the other area. These values can be used with "
"the [PhysicsServer3D].\n"
"[b]Example:[/b] Get the [CollisionShape3D] node from the shape index:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var other_shape_owner = area.shape_find_owner(area_shape_index)\n"
"var other_shape_node = area.shape_owner_get_owner(other_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Выдается, когда [Shape3D] полученного [param area] входит в форму этой "
"области. Требует, чтобы [member monitoring] был установлен в [code]true[/"
"code].\n"
"[param local_shape_index] и [param area_shape_index] содержат индексы "
"взаимодействующих фигур из этой области и другой области соответственно. "
"[param area_rid] содержит [RID] другой области. Эти значения можно "
"использовать с [PhysicsServer3D].\n"
"[b]Пример:[/b] Получить узел [CollisionShape3D] из индекса формы:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var other_shape_owner = area.shape_find_owner(area_shape_index)\n"
"var other_shape_node = area.shape_owner_get_owner(other_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Emitted when a [Shape3D] of the received [param area] exits a shape of this "
"area. Requires [member monitoring] to be set to [code]true[/code].\n"
"See also [signal area_shape_entered]."
msgstr ""
"Выдается, когда [Shape3D] полученной [param area] выходит из формы этой "
"области. Требует, чтобы [member monitoring] был установлен на [code]true[/"
"code].\n"
"См. также [signal area_shape_entered]."
msgid ""
"Emitted when the received [param body] enters this area. [param body] can be "
"a [PhysicsBody3D], [SoftBody3D] or [GridMap]. [GridMap]s are detected if "
"their [MeshLibrary] has collision shapes configured. Requires [member "
"monitoring] to be set to [code]true[/code].\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will not emit this signal in such cases."
msgstr ""
"Сигнал генерируется, когда полученный [param body] попадает в эту область. "
"[param body] может быть [PhysicsBody3D], [SoftBody3D] или [GridMap]. "
"[GridMap] обнаруживаются, если в их [MeshLibrary] настроены формы "
"столкновений. Требуется установить [member monitoring] в значение [code]true[/"
"code].\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"[SoftBody3D], поэтому в таких случаях этот сигнал не будет генерироваться."
msgid ""
"Emitted when the received [param body] exits this area. [param body] can be a "
"[PhysicsBody3D], [SoftBody3D] or [GridMap]. [GridMap]s are detected if their "
"[MeshLibrary] has collision shapes configured. Requires [member monitoring] "
"to be set to [code]true[/code].\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will not emit this signal in such cases."
msgstr ""
"Сигнал генерируется, когда полученный [param body] выходит за пределы этой "
"области. [param body] может быть [PhysicsBody3D], [SoftBody3D] или [GridMap]. "
"[GridMap] обнаруживаются, если в их [MeshLibrary] настроены формы "
"столкновений. Требуется установить [member monitoring] в значение [code]true[/"
"code].\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"[SoftBody3D], поэтому в таких случаях этот сигнал не будет генерироваться."
msgid ""
"Emitted when a [Shape3D] of the received [param body] enters a shape of this "
"area. [param body] can be a [PhysicsBody3D], [SoftBody3D] or [GridMap]. "
"[GridMap]s are detected if their [MeshLibrary] has collision shapes "
"configured. Requires [member monitoring] to be set to [code]true[/code].\n"
"[param local_shape_index] and [param body_shape_index] contain indices of the "
"interacting shapes from this area and the interacting body, respectively. "
"[param body_rid] contains the [RID] of the body. These values can be used "
"with the [PhysicsServer3D].\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will not emit this signal in such cases.\n"
"[b]Example:[/b] Get the [CollisionShape3D] node from the shape index:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var body_shape_owner = body.shape_find_owner(body_shape_index)\n"
"var body_shape_node = body.shape_owner_get_owner(body_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Сигнал генерируется, когда объект [Shape3D] из полученного объекта [param "
"body] входит в фигуру этой области. [param body] может быть объектом "
"[PhysicsBody3D], [SoftBody3D] или [GridMap]. Объекты [GridMap] "
"обнаруживаются, если в их [MeshLibrary] настроены формы столкновений. "
"Требуется установить [member monitoring] в значение [code]true[/code].\n"
"[param local_shape_index] и [param body_shape_index] содержат индексы "
"взаимодействующих фигур из этой области и взаимодействующего тела "
"соответственно. [param body_rid] содержит [RID] тела. Эти значения можно "
"использовать с [PhysicsServer3D].\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"[SoftBody3D], поэтому в таких случаях этот сигнал не будет генерироваться.\n"
"[b]Пример:[/b] Получить узел [CollisionShape3D] по индексу формы:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var body_shape_owner = body.shape_find_owner(body_shape_index)\n"
"var body_shape_node = body.shape_owner_get_owner(body_shape_owner)\n"
"\n"
"var local_shape_owner = shape_find_owner(local_shape_index)\n"
"var local_shape_node = shape_owner_get_owner(local_shape_owner)\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Emitted when a [Shape3D] of the received [param body] exits a shape of this "
"area. [param body] can be a [PhysicsBody3D], [SoftBody3D] or [GridMap]. "
"[GridMap]s are detected if their [MeshLibrary] has collision shapes "
"configured. Requires [member monitoring] to be set to [code]true[/code].\n"
"See also [signal body_shape_entered].\n"
"[b]Note:[/b] Godot Physics does not support reporting overlaps with "
"[SoftBody3D], so will not emit this signal in such cases."
msgstr ""
"Сигнал генерируется, когда [Shape3D] полученного [param body] выходит за "
"пределы области. [param body] может быть [PhysicsBody3D], [SoftBody3D] или "
"[GridMap]. [GridMap] обнаруживаются, если в их [MeshLibrary] настроены формы "
"столкновений. Требуется установить [member monitoring] в значение [code]true[/"
"code].\n"
"См. также [signal body_shape_entered].\n"
"[b]Примечание:[/b] Godot Physics не поддерживает сообщение о перекрытиях с "
"[SoftBody3D], поэтому в таких случаях этот сигнал не будет генерироваться."
msgid "An area light, such as a neon light tube or a screen."
msgstr ""
"Светильник, освещающий большую площадь, например, неоновая лампа или экран."
msgid ""
"An area light is a type of [Light3D] node that emits light over a two-"
"dimensional area, in the shape of a rectangle. The light is attenuated "
"throughout the distance. This attenuation can be configured by changing the "
"energy, [member area_attenuation], and [member area_range].\n"
"Light is emitted in the -Z direction of the node's global basis. For an "
"unrotated light, this means that the light is emitted forwards, illuminating "
"the front side of a 3D model (see [constant Vector3.FORWARD] and [constant "
"Vector3.MODEL_FRONT]).\n"
"Area lights can cast soft shadows using PCSS, which you can control by "
"tweaking the size parameter. The shadow map is drawn from the center of the "
"light.\n"
"[b]Note:[/b] Area lights have limited support in the Mobile and Compatibility "
"renderers. In the Mobile renderer, the size of the penumbra doesn't vary as "
"it should with PCSS. In Compatibility, area lights cannot cast shadows.\n"
"[b]Warning:[/b] Shadows cast by an area light may look incorrect if the "
"object casting shadows doesn't have enough subdivisions and it's very close "
"to the area light. This is the same limitation as the Dual Paraboloid shadow "
"mode on an [OmniLight3D].\n"
"[b]Performance:[/b] Area lights are more demanding on the GPU compared to "
"omni and spot lights. In Forward+, there is an additional GPU cost on [i]all[/"
"i] rendered objects as soon as one area light is present in the view frustum "
"(due to the nature of clustered lighting). Consider using them only for "
"cinematics or when targeting high-end devices."
msgstr ""
"Зонный источник света — это тип узла [Light3D], который излучает свет на "
"двумерной области в форме прямоугольника. Свет ослабляется по всей длине. Это "
"ослабление можно настроить, изменив параметры энергии, [member "
"area_attenuation] и [member area_range].\n"
"Свет излучается в направлении -Z глобального базиса узла. Для невращающегося "
"источника света это означает, что свет излучается вперед, освещая переднюю "
"сторону 3D-модели (см. [constant Vector3.FORWARD] и [constant "
"Vector3.MODEL_FRONT]).\n"
"Зонные источники света могут отбрасывать мягкие тени с помощью PCSS, которые "
"можно контролировать, изменяя параметр размера. Карта теней рисуется из "
"центра источника света.\n"
"[b]Примечание:[/b] Зонные источники света имеют ограниченную поддержку в "
"рендерах Mobile и Compatibility. В рендере Mobile размер полутени не "
"изменяется должным образом при использовании PCSS. В режиме совместимости "
"источники света с площадной областью не могут отбрасывать тени.\n"
"[b]Предупреждение:[/b] Тени, отбрасываемые источником света с площадной "
"областью, могут выглядеть некорректно, если объект, отбрасывающий тени, не "
"имеет достаточного количества подразделений и находится очень близко к "
"источнику света. Это то же ограничение, что и в режиме теней «Двойной "
"параболоид» на [OmniLight3D].\n"
"[b]Производительность:[/b] Источники света с площадной областью более "
"требовательны к графическому процессору по сравнению с всенаправленными и "
"точечными источниками света. В режиме Forward+ возникает дополнительная "
"нагрузка на графический процессор для [i]всех[/i] отрисованных объектов, как "
"только один источник света с площадной областью появляется в области "
"видимости (из-за особенностей кластерного освещения). Рекомендуется "
"использовать их только для кинематографических сцен или при работе с "
"высокопроизводительными устройствами."
msgid "3D lights and shadows"
msgstr "3D свет и тени"
msgid ""
"Controls the distance attenuation function for this area light.\n"
"A value of [code]0.0[/code] will maintain a constant brightness through most "
"of the range, but will smoothly attenuate the light at the edge of the range. "
"Use a value of [code]2.0[/code] for physically accurate lights as it results "
"in the proper inverse square attenuation.\n"
"[b]Note:[/b] Setting attenuation to [code]2.0[/code] or higher may result in "
"distant objects receiving minimal light, even when within range. For example, "
"with a range of [code]4096[/code], an object at [code]100[/code] units is "
"attenuated by a factor of [code]0.0001[/code]. With a default brightness of "
"[code]1[/code], the light would not be visible at that distance.\n"
"[b]Note:[/b] Using negative values or values higher than [code]10.0[/code] "
"may lead to unexpected results."
msgstr ""
"Управляет функцией ослабления света на расстоянии для этого источника света.\n"
"Значение [code]0.0[/code] обеспечит постоянную яркость на большей части "
"диапазона, но плавно ослабит свет на краю диапазона. Используйте значение "
"[code]2.0[/code] для физически точных источников света, так как это "
"обеспечивает правильное ослабление света в обратном квадратичном выражении.\n"
"[b]Примечание:[/b] Установка ослабления на [code]2.0[/code] или выше может "
"привести к тому, что удаленные объекты будут получать минимальное количество "
"света, даже находясь в пределах диапазона. Например, при диапазоне "
"[code]4096[/code] объект на расстоянии [code]100[/code] единиц будет ослаблен "
"в [code]0.0001[/code]. При яркости по умолчанию [code]1[/code] свет не будет "
"виден на этом расстоянии.\n"
"[b] [b]Примечание:[/b] Использование отрицательных значений или значений выше "
"[code]10.0[/code] может привести к неожиданным результатам."
msgid ""
"Defines whether the energy is normalized (divided) by the surface area of the "
"light. If set to [code]true[/code], changing the size does not affect the "
"total energy output, and does not dramatically alter the brightness of the "
"scene."
msgstr ""
"Определяет, нормируется ли энергия (делится) на площадь поверхности источника "
"света. Если установлено значение [code]true[/code], изменение размера не "
"влияет на общую выходную энергию и не приводит к существенному изменению "
"яркости сцены."
msgid ""
"The range of the area in meters. This determines the maximum distance from "
"any point on the area at which the area can still emit light."
msgstr ""
"Диапазон зоны в метрах. Он определяет максимальное расстояние от любой точки "
"на области, на котором область все еще может излучать свет."
msgid "The extents (width and height) of the area in meters."
msgstr "Размеры (ширина и высота) площади в метрах."
msgid ""
"An optional texture to use as a light source. Changing the texture at runtime "
"might impact performance, as it needs to be drawn to the area light atlas "
"with filtered mipmaps.\n"
"If no texture is assigned, the area light emits uniform light across its "
"surface.\n"
"[b]Note:[/b] Area light textures are only supported in the Forward+ and "
"Mobile rendering methods, not Compatibility. To reduce the performance impact "
"of switching textures at runtime, make sure each dimension of an area texture "
"is either a multiple of 128 pixels, or a power of two. This removes the need "
"for a scaling pass, which slows down texture changes. The textures don't "
"necessarily have to be square to be optimal. Examples of optimal texture "
"sizes include 32×64, 128×128, and 256×384."
msgstr ""
"Дополнительная текстура, используемая в качестве источника света. Смена "
"текстуры во время выполнения (runtime) может негативно повлиять на "
"производительность, поскольку её необходимо отрисовать в атлас источников "
"света (area light atlas) с применением фильтрованных мип-карт (mipmaps).\n"
"Если текстура не назначена, источник света излучает равномерный свет по всей "
"своей поверхности.\n"
"[b]Примечание:[/b] Текстуры для источников света этого типа поддерживаются "
"только в методах рендеринга Forward+ и Mobile; в режиме Compatibility они не "
"работают. Чтобы снизить влияние смены текстур на производительность, "
"убедитесь, что каждый из размеров текстуры кратен 128 пикселям или является "
"степенью двойки. Это позволяет избежать этапа масштабирования, который "
"замедляет процесс смены текстур. Для достижения оптимальной "
"производительности текстуры не обязательно должны быть квадратными. Примеры "
"оптимальных размеров: 32×64, 128×128, 256×384."
msgid "A built-in data structure that holds a sequence of elements."
msgstr "Встроенная структура данных, содержащая последовательность элементов."
msgid ""
"An array data structure that can contain a sequence of elements of any "
"[Variant] type by default. Values can optionally be constrained to a specific "
"type by creating a [i]typed array[/i]. Elements are accessed by a numerical "
"index starting at [code]0[/code]. Negative indices are used to count from the "
"back ([code]-1[/code] is the last element, [code]-2[/code] is the second to "
"last, etc.).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var array = [\"First\", 2, 3, \"Last\"]\n"
"print(array[0]) # Prints \"First\"\n"
"print(array[2]) # Prints 3\n"
"print(array[-1]) # Prints \"Last\"\n"
"\n"
"array[1] = \"Second\"\n"
"print(array[1]) # Prints \"Second\"\n"
"print(array[-3]) # Prints \"Second\"\n"
"\n"
"# This typed array can only contain integers.\n"
"# Attempting to add any other type will result in an error.\n"
"var typed_array: Array[int] = [1, 2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array array = [\"First\", 2, 3, \"Last\"];\n"
"GD.Print(array[0]); // Prints \"First\"\n"
"GD.Print(array[2]); // Prints 3\n"
"GD.Print(array[^1]); // Prints \"Last\"\n"
"\n"
"array[1] = \"Second\";\n"
"GD.Print(array[1]); // Prints \"Second\"\n"
"GD.Print(array[^3]); // Prints \"Second\"\n"
"\n"
"// This typed array can only contain integers.\n"
"// Attempting to add any other type will result in an error.\n"
"Godot.Collections.Array<int> typedArray = [1, 2, 3];\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] Arrays are always passed by [b]reference[/b]. To get a copy of "
"an array that can be modified independently of the original array, use "
"[method duplicate].\n"
"[b]Note:[/b] Erasing elements while iterating over arrays is [b]not[/b] "
"supported and will result in unpredictable behavior.\n"
"[b]Note:[/b] In a boolean context, an array will evaluate to [code]false[/"
"code] if it's empty ([code][][/code]). Otherwise, an array will always "
"evaluate to [code]true[/code].\n"
"[b]Differences between packed arrays, typed arrays, and untyped arrays:[/b] "
"Packed arrays are generally faster to iterate on and modify compared to a "
"typed array of the same type (e.g. [PackedInt64Array] versus [code]Array[int]"
"[/code]). Also, packed arrays consume less memory. As a downside, packed "
"arrays are less flexible as they don't offer as many convenience methods such "
"as [method Array.map]. Typed arrays are in turn faster to iterate on and "
"modify than untyped arrays."
msgstr ""
"Структура данных типа массив, которая по умолчанию может содержать "
"последовательность элементов любого типа [Variant]. Значения могут быть "
"ограничены определенным типом путем создания массива с заданным типом. Доступ "
"к элементам осуществляется по числовому индексу, начиная с [code]0[/code]. "
"Отрицательные индексы используются для отсчета с конца ([code]-1[/code] — "
"последний элемент, [code]-2[/code] — предпоследний и т. д.).\n"
"[codeblocks]\n"
"[gdscript]\n"
"var array = [\"Первый\", 2, 3, \"Последний\"]\n"
"print(array[0]) # Выводит \"Первый\"\n"
"print(array[2]) # Выводит 3\n"
"print(array[-1]) # Выводит \"Последний\"\n"
"\n"
"array[1] = \"Второй\"\n"
"print(array[1]) # Выводит \"Второй\"\n"
"print(array[-3]) # Выводит \"Второй\"\n"
"\n"
"# Этот типизированный массив может содержать только целые числа.\n"
"# Попытка добавить любой другой тип приведет к ошибке.\n"
"var typed_array: Array[int] = [1, 2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array array = [\"Первый\", 2, 3, \"Последний\"];\n"
"GD.Print(array[0]); // Выводит \"Первый\"\n"
"GD.Print(array[2]); // Выводит 3\n"
"GD.Print(array[^1]); // Выводит \"Последний\"\n"
"\n"
"array[1] = \"Второй\";\n"
"GD.Print(array[1]); // Выводит \"Второй\"\n"
"GD.Print(array[^3]); // Выводит \"Второй\"\n"
"\n"
"// Этот типизированный массив может содержать только целые числа.\n"
"// Попытка добавить любой другой тип приведет к ошибке.\n"
"Godot.Collections.Array<int> typedArray = [1, 2, 3];\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Массивы всегда передаются по [b]ссылке[/b]. Чтобы получить "
"копию массива, которую можно изменять независимо от исходного массива, "
"используйте [method duplicate].\n"
"[b]Примечание:[/b] Удаление элементов во время итерации по массивам [b]не[/b] "
"поддерживается и приведет к непредсказуемому поведению.\n"
"[b]Примечание:[/b] В логическом контексте массив будет оцениваться как "
"[code]false[/code], если он пуст ([code][][/code]). В противном случае массив "
"всегда будет оцениваться как [code]true[/code].\n"
"[b]Различия между упакованными массивами, типизированными массивами и "
"нетипизированными массивами:[/b] Упакованные массивы, как правило, быстрее "
"итерируются и изменяются по сравнению с типизированным массивом того же типа "
"(например, [PackedInt64Array] против [code]Array[int][/code]). Кроме того, "
"упакованные массивы потребляют меньше памяти. Недостатком же является меньшая "
"гибкость упакованных массивов, поскольку они не предлагают столько удобных "
"методов, таких как [method Array.map]. Типизированные массивы, в свою "
"очередь, быстрее в плане итерации и модификации, чем нетипизированные массивы."
msgid "Constructs an empty [Array]."
msgstr "Создает пустой [Array]."
msgid ""
"Creates a typed array from the [param base] array. A typed array can only "
"contain elements of the given type, or that inherit from the given class, as "
"described by this constructor's parameters:\n"
"- [param type] is the built-in [Variant] type, as one the [enum Variant.Type] "
"constants.\n"
"- [param class_name] is the built-in class name (see [method "
"Object.get_class]).\n"
"- [param script] is the associated script. It must be a [Script] instance or "
"[code]null[/code].\n"
"If [param type] is not [constant TYPE_OBJECT], [param class_name] must be an "
"empty [StringName] and [param script] must be [code]null[/code].\n"
"[codeblock]\n"
"class_name Sword\n"
"extends Node\n"
"\n"
"class Stats:\n"
"\tpass\n"
"\n"
"func _ready():\n"
"\tvar a = Array([], TYPE_INT, \"\", null) # Array[int]\n"
"\tvar b = Array([], TYPE_OBJECT, \"Node\", null) # Array[Node]\n"
"\tvar c = Array([], TYPE_OBJECT, \"Node\", Sword) # Array[Sword]\n"
"\tvar d = Array([], TYPE_OBJECT, \"RefCounted\", Stats) # Array[Stats]\n"
"[/codeblock]\n"
"The [param base] array's elements are converted when necessary. If this is "
"not possible or [param base] is already typed, this constructor fails and "
"returns an empty [Array].\n"
"In GDScript, this constructor is usually not necessary, as it is possible to "
"create a typed array through static typing:\n"
"[codeblock]\n"
"var numbers: Array[float] = []\n"
"var children: Array[Node] = [$Node, $Sprite2D, $RigidBody3D]\n"
"\n"
"var integers: Array[int] = [0.2, 4.5, -2.0]\n"
"print(integers) # Prints [0, 4, -2]\n"
"[/codeblock]"
msgstr ""
"Создает типизированный массив из массива [param base]. Типизированный массив "
"может содержать только элементы заданного типа или те, которые наследуются от "
"заданного класса, как описано в параметрах этого конструктора:\n"
"- [param type] — встроенный тип [Variant], как одна из констант [enum "
"Variant.Type].\n"
"- [param class_name] — имя встроенного класса (см. [method "
"Object.get_class]).\n"
"- [param script] — связанный скрипт. Он должен быть экземпляром [Script] или "
"[code]null[/code].\n"
"Если [param type] не является [constant TYPE_OBJECT], [param class_name] "
"должен быть пустым [StringName], а [param script] должен быть [code]null[/"
"code].\n"
"[codeblock]\n"
"class_name Sword\n"
"extends Node\n"
"\n"
"class Stats:\n"
"\tpass\n"
"\n"
"func _ready():\n"
"\tvar a = Array([], TYPE_INT, \"\", null) # Array[int]\n"
"\tvar b = Array([], TYPE_OBJECT, \"Node\", null) # Array[Node]\n"
"\tvar c = Array([], TYPE_OBJECT, \"Node\", Sword) # Array[Sword]\n"
"\tvar d = Array([], TYPE_OBJECT, \"RefCounted\", Stats) # Array[Stats]\n"
"[/codeblock]\n"
"Элементы массива [param base] преобразуются при необходимости. Если это "
"невозможно или [param base] уже типизирован, этот конструктор завершается "
"ошибкой и возвращает пустой [Array].\n"
"В GDScript этот конструктор обычно не нужен, так как можно создать "
"типизированный массив посредством статической типизации:\n"
"[codeblock]\n"
"var numbers: Array[float] = []\n"
"var children: Array[Node] = [$Node, $Sprite2D, $RigidBody3D]\n"
"\n"
"var integers: Array[int] = [0.2, 4.5, -2.0]\n"
"print(integers) # Выводит [0, 4, -2]\n"
"[/codeblock]"
msgid ""
"Returns the same array as [param from]. If you need a copy of the array, use "
"[method duplicate]."
msgstr ""
"Возвращает тот же массив, что и [param from]. Если вам нужна копия массива, "
"используйте [method duplicate]."
msgid "Constructs an array from a [PackedByteArray]."
msgstr "Создает массив из [PackedByteArray]."
msgid "Constructs an array from a [PackedColorArray]."
msgstr "Создает массив из [PackedColorArray]."
msgid "Constructs an array from a [PackedFloat32Array]."
msgstr "Создает массив из [Packed Float32Array]."
msgid "Constructs an array from a [PackedFloat64Array]."
msgstr "Создает массив из [PackedFloat64Array]."
msgid "Constructs an array from a [PackedInt32Array]."
msgstr "Создает массив из [PackedInt32Array]."
msgid "Constructs an array from a [PackedInt64Array]."
msgstr "Создает массив из [PackedInt64Array]."
msgid "Constructs an array from a [PackedStringArray]."
msgstr "Создает массив из [PackedStringArray]."
msgid "Constructs an array from a [PackedVector2Array]."
msgstr "Создает массив из [PackedVector2Array]."
msgid "Constructs an array from a [PackedVector3Array]."
msgstr "Создает массив из [PackedVector3Array]."
msgid "Constructs an array from a [PackedVector4Array]."
msgstr "Создает массив из [PackedVector4Array]."
msgid ""
"Calls the given [Callable] on each element in the array and returns "
"[code]true[/code] if the [Callable] returns [code]true[/code] for [i]all[/i] "
"elements in the array. If the [Callable] returns [code]false[/code] for one "
"array element or more, this method returns [code]false[/code].\n"
"The [param callable] should take one [Variant] parameter (the current array "
"element) and return a [bool].\n"
"[codeblocks]\n"
"[gdscript]\n"
"func greater_than_5(number):\n"
"\treturn number > 5\n"
"\n"
"func _ready():\n"
"\tprint([6, 10, 6].all(greater_than_5)) # Prints true (3/3 elements evaluate "
"to true).\n"
"\tprint([4, 10, 4].all(greater_than_5)) # Prints false (1/3 elements evaluate "
"to true).\n"
"\tprint([4, 4, 4].all(greater_than_5)) # Prints false (0/3 elements evaluate "
"to true).\n"
"\tprint([].all(greater_than_5)) # Prints true (0/0 elements evaluate "
"to true).\n"
"\n"
"\t# Same as the first line above, but using a lambda function.\n"
"\tprint([6, 10, 6].all(func(element): return element > 5)) # Prints true\n"
"[/gdscript]\n"
"[csharp]\n"
"private static bool GreaterThan5(int number)\n"
"{\n"
"\treturn number > 5;\n"
"}\n"
"\n"
"public override void _Ready()\n"
"{\n"
"\t// Prints True (3/3 elements evaluate to true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { 6, 10, 6 }.All(GreaterThan5));\n"
"\t// Prints False (1/3 elements evaluate to true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { 4, 10, 4 }.All(GreaterThan5));\n"
"\t// Prints False (0/3 elements evaluate to true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { 4, 4, 4 }.All(GreaterThan5));\n"
"\t// Prints True (0/0 elements evaluate to true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { }.All(GreaterThan5));\n"
"\n"
"\t// Same as the first line above, but using a lambda function.\n"
"\tGD.Print(new Godot.Collections.Array<int> { 6, 10, 6 }.All(element => "
"element > 5)); // Prints True\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]\n"
"See also [method any], [method filter], [method map] and [method reduce].\n"
"[b]Note:[/b] Unlike relying on the size of an array returned by [method "
"filter], this method will return as early as possible to improve performance "
"(especially with large arrays).\n"
"[b]Note:[/b] For an empty array, this method [url=https://en.wikipedia.org/"
"wiki/Vacuous_truth]always[/url] returns [code]true[/code]."
msgstr ""
"Вызывает указанный [Callable] для каждого элемента массива и возвращает "
"[code]true[/code], если [Callable] возвращает [code]true[/code] для [i]всех[/"
"i] элементов массива. Если [Callable] возвращает [code]false[/code] хотя бы "
"для одного элемента массива, метод возвращает [code]false[/code].\n"
"Параметр [param callable] должен принимать один аргумент типа [Variant] "
"(текущий элемент массива) и возвращать значение типа [bool].\n"
"[codeblocks]\n"
"[gdscript]\n"
"func greater_than_5(number):\n"
"\treturn number > 5\n"
"\n"
"func _ready():\n"
"\tprint([6, 10, 6].all(greater_than_5)) # Выводит true (все 3 элемента дают "
"значение true).\n"
"\tprint([4, 10, 4].all(greater_than_5)) # Выводит false (1/3 элементов дают "
"значение true).\n"
"\tprint([4, 4, 4].all(greater_than_5)) # Выводит false (0 из 3 элементов "
"оцениваются как true).\n"
"\tprint([].all(greater_than_5)) # Выводит true (0/0 элементов "
"оцениваются как true).\n"
"\n"
"\t# То же самое, что и в первой строке выше, но с использованием лямбда-"
"функции.\n"
"\tprint([6, 10, 6].all(func(element): return element > 5)) # Выводит true\n"
"[/gdscript]\n"
"[csharp]\n"
"private static bool GreaterThan5(int number)\n"
"{\n"
"\treturn number > 5;\n"
"}\n"
"\n"
"public override void _Ready()\n"
"{\n"
"\t// Выводит True (все 3 элемента дают значение true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { 6, 10, 6 }.All(GreaterThan5));\n"
"\t// Выводит False (1/3 элементов дают значение true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { 4, 10, 4 }.All(GreaterThan5));\n"
"\t// Выводит False (0 из 3 элементов оцениваются как true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { 4, 4, 4 }.All(GreaterThan5));\n"
"\t// Выводит True (0/0 элементов оцениваются как true).\n"
"\tGD.Print(new Godot.Collections.Array<int> { }.All(GreaterThan5));\n"
"\n"
"\t// То же самое, что и в первой строке выше, но с использованием лямбда-"
"функции.\n"
"\tGD.Print(new Godot.Collections.Array<int> { 6, 10, 6 }.All(element => "
"element > 5)); // Выводит True\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]\n"
"См. также [method any], [method filter], [method map] и [method reduce].\n"
"[b]Примечание:[/b] В отличие от проверки размера массива, возвращаемого "
"методом [method filter], данный метод завершает выполнение как можно раньше, "
"что повышает производительность (особенно при работе с большими массивами).\n"
"[b]Примечание:[/b] Для пустого массива этот метод [url=https://"
"en.wikipedia.org/wiki/Vacuous_truth]всегда[/url] возвращает [code]true[/code]."
msgid ""
"Calls the given [Callable] on each element in the array and returns "
"[code]true[/code] if the [Callable] returns [code]true[/code] for [i]one or "
"more[/i] elements in the array. If the [Callable] returns [code]false[/code] "
"for all elements in the array, this method returns [code]false[/code].\n"
"The [param callable] should take one [Variant] parameter (the current array "
"element) and return a [bool].\n"
"[codeblock]\n"
"func greater_than_5(number):\n"
"\treturn number > 5\n"
"\n"
"func _ready():\n"
"\tprint([6, 10, 6].any(greater_than_5)) # Prints true (3 elements evaluate to "
"true).\n"
"\tprint([4, 10, 4].any(greater_than_5)) # Prints true (1 elements evaluate to "
"true).\n"
"\tprint([4, 4, 4].any(greater_than_5)) # Prints false (0 elements evaluate "
"to true).\n"
"\tprint([].any(greater_than_5)) # Prints false (0 elements evaluate "
"to true).\n"
"\n"
"\t# Same as the first line above, but using a lambda function.\n"
"\tprint([6, 10, 6].any(func(number): return number > 5)) # Prints true\n"
"[/codeblock]\n"
"See also [method all], [method filter], [method map] and [method reduce].\n"
"[b]Note:[/b] Unlike relying on the size of an array returned by [method "
"filter], this method will return as early as possible to improve performance "
"(especially with large arrays).\n"
"[b]Note:[/b] For an empty array, this method always returns [code]false[/"
"code]."
msgstr ""
"Вызывает указанный [Callable] для каждого элемента массива и возвращает "
"[code]true[/code], если [Callable] возвращает [code]true[/code] хотя бы для "
"одного элемента массива. Если [Callable] возвращает [code]false[/code] для "
"всех элементов массива, метод возвращает [code]false[/code].\n"
"Параметр [param callable] должен принимать один аргумент типа [Variant] "
"(текущий элемент массива) и возвращать значение типа [bool].\n"
"[codeblock]\n"
"func greater_than_5(number):\n"
"\treturn number > 5\n"
"\n"
"func _ready():\n"
"\tprint([6, 10, 6].any(greater_than_5)) # Выводит true (3 элемента "
"оцениваются как true).\n"
"\tprint([4, 10, 4].any(greater_than_5)) # Выводит true (1 элемент оценивается "
"как true).\n"
"\tprint([4, 4, 4].any(greater_than_5)) # Выводит false (0 элементов "
"оцениваются как true).\n"
"\tprint([].any(greater_than_5)) # Выводит false (0 элементов "
"оцениваются как true).\n"
"\n"
"\t# То же самое, что и в первой строке выше, но с использованием лямбда-"
"функции.\n"
"\tprint([6, 10, 6].any(func(number): return number > 5)) # Выводит true\n"
"[/codeblock]\n"
"См. также [method all], [method filter], [method map] и [method reduce].\n"
"[b]Примечание:[/b] В отличие от проверки размера массива, возвращаемого "
"методом [method filter], данный метод завершает выполнение как можно раньше, "
"что повышает производительность (особенно при работе с большими массивами).\n"
"[b]Примечание:[/b] Для пустого массива этот метод всегда возвращает "
"[code]false[/code]."
msgid ""
"Appends [param value] at the end of the array (alias of [method push_back])."
msgstr "Добавляет [param value] в конец массива (аналог [method push_back])."
msgid ""
"Appends another [param array] at the end of this array.\n"
"[codeblock]\n"
"var numbers = [1, 2, 3]\n"
"var extra = [4, 5, 6]\n"
"numbers.append_array(extra)\n"
"print(numbers) # Prints [1, 2, 3, 4, 5, 6]\n"
"[/codeblock]"
msgstr ""
"Добавляет еще один [param array] в конец этого массива.\n"
"[codeblock]\n"
"var numbers = [1, 2, 3]\n"
"var extra = [4, 5, 6]\n"
"numbers.append_array(extra)\n"
"print(numbers) # Prints [1, 2, 3, 4, 5, 6]\n"
"[/codeblock]"
msgid ""
"Assigns elements of another [param array] into the array. Resizes the array "
"to match [param array]. Performs type conversions if the array is typed."
msgstr ""
"Назначает элементы другого [param array] в массив. Изменяет размер массива "
"для соответствия [param array]. Выполняет преобразования типов, если массив "
"типизирован."
msgid ""
"Returns the last element of the array. If the array is empty, fails and "
"returns [code]null[/code]. See also [method front].\n"
"[b]Note:[/b] Unlike with the [code][][/code] operator ([code]array[-1][/"
"code]), an error is generated without stopping project execution."
msgstr ""
"Возвращает последний элемент массива. Если массив пуст, происходит сбой и "
"возвращается [code]null[/code]. См. также [method front].\n"
"[b]Примечание:[/b] В отличие от оператора [code][][/code] ([code]array[-1][/"
"code]), ошибка генерируется без остановки выполнения проекта."
msgid ""
"Returns the index of [param value] in the sorted array. If it cannot be "
"found, returns where [param value] should be inserted to keep the array "
"sorted. The algorithm used is [url=https://en.wikipedia.org/wiki/"
"Binary_search_algorithm]binary search[/url].\n"
"If [param before] is [code]true[/code] (as by default), the returned index "
"comes before all existing elements equal to [param value] in the array.\n"
"[codeblock]\n"
"var numbers = [2, 4, 8, 10]\n"
"var idx = numbers.bsearch(7)\n"
"\n"
"numbers.insert(idx, 7)\n"
"print(numbers) # Prints [2, 4, 7, 8, 10]\n"
"\n"
"var fruits = [\"Apple\", \"Lemon\", \"Lemon\", \"Orange\"]\n"
"print(fruits.bsearch(\"Lemon\", true)) # Prints 1, points at the first "
"\"Lemon\".\n"
"print(fruits.bsearch(\"Lemon\", false)) # Prints 3, points at \"Orange\".\n"
"[/codeblock]\n"
"[b]Note:[/b] Calling [method bsearch] on an [i]unsorted[/i] array will result "
"in unexpected behavior. Use [method sort] before calling this method."
msgstr ""
"Возвращает индекс [param value] в отсортированном массиве. Если его не "
"удается найти, возвращает место, где следует вставить [param value], чтобы "
"сохранить массив отсортированным. Используемый алгоритм — [url=https://"
"en.wikipedia.org/wiki/Binary_search_algorithm]бинарный поиск[/url].\n"
"Если [param before] равен [code]true[/code] (как по умолчанию), возвращаемый "
"индекс предшествует всем существующим элементам, равным [param value] в "
"массиве.\n"
"[codeblock]\n"
"var numbers = [2, 4, 8, 10]\n"
"var idx = numbers.bsearch(7)\n"
"\n"
"numbers.insert(idx, 7)\n"
"print(numbers) # Prints [2, 4, 7, 8, 10]\n"
"\n"
"var fruits = [\"Apple\", \"Lemon\", \"Lemon\", \"Orange\"]\n"
"print(fruits.bsearch(\"Lemon\", true)) # Печатает 1, указывает на первый "
"\"Lemon\".\n"
"print(fruits.bsearch(\"Lemon\", false)) # Печатает 3, указывают на "
"\"Lemon\".\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Вызов [method bsearch] для [i]unsorted (несортированного)[/"
"i] массива приведет к неожиданному поведению. Используйте [method sort] перед "
"вызовом этого метода."
msgid ""
"Returns the index of [param value] in the sorted array. If it cannot be "
"found, returns where [param value] should be inserted to keep the array "
"sorted (using [param func] for the comparisons). The algorithm used is "
"[url=https://en.wikipedia.org/wiki/Binary_search_algorithm]binary search[/"
"url].\n"
"Similar to [method sort_custom], [param func] is called as many times as "
"necessary, receiving one array element and [param value] as arguments. The "
"function should return [code]true[/code] if the array element should be "
"[i]behind[/i] [param value], otherwise it should return [code]false[/code].\n"
"If [param before] is [code]true[/code] (as by default), the returned index "
"comes before all existing elements equal to [param value] in the array.\n"
"[codeblock]\n"
"func sort_by_amount(a, b):\n"
"\tif a[1] < b[1]:\n"
"\t\treturn true\n"
"\treturn false\n"
"\n"
"func _ready():\n"
"\tvar my_items = [[\"Tomato\", 2], [\"Kiwi\", 5], [\"Rice\", 9]]\n"
"\n"
"\tvar apple = [\"Apple\", 5]\n"
"\t# \"Apple\" is inserted before \"Kiwi\".\n"
"\tmy_items.insert(my_items.bsearch_custom(apple, sort_by_amount, true), "
"apple)\n"
"\n"
"\tvar banana = [\"Banana\", 5]\n"
"\t# \"Banana\" is inserted after \"Kiwi\".\n"
"\tmy_items.insert(my_items.bsearch_custom(banana, sort_by_amount, false), "
"banana)\n"
"\n"
"\t# Prints [[\"Tomato\", 2], [\"Apple\", 5], [\"Kiwi\", 5], [\"Banana\", 5], "
"[\"Rice\", 9]]\n"
"\tprint(my_items)\n"
"[/codeblock]\n"
"[b]Note:[/b] Calling [method bsearch_custom] on an [i]unsorted[/i] array will "
"result in unexpected behavior. Use [method sort_custom] with [param func] "
"before calling this method."
msgstr ""
"Возвращает индекс [param value] в отсортированном массиве. Если его не "
"удается найти, возвращает, куда следует вставить [param value], чтобы "
"сохранить массив отсортированным (используя [param func] для сравнений). "
"Используемый алгоритм — [url=https://en.wikipedia.org/wiki/"
"Binary_search_algorithm]бинарный поиск[/url].\n"
"Подобно [method sort_custom], [param func] вызывается столько раз, сколько "
"необходимо, получая один элемент массива и [param value] в качестве "
"аргументов. Функция должна возвращать [code]true[/code], если элемент массива "
"должен быть [i]behind (позади)[/i] [param value], в противном случае она "
"должна возвращать [code]false[/code].\n"
"Если [param before] равен [code]true[/code] (как по умолчанию), возвращаемый "
"индекс предшествует всем существующим элементам, равным [param value] в "
"массиве.\n"
"[codeblock]\n"
"func sort_by_amount(a, b):\n"
"\tif a[1] < b[1]:\n"
"\t\treturn true\n"
"\treturn false\n"
"\n"
"func _ready():\n"
"\tvar my_items = [[\"Tomato\", 2], [\"Kiwi\", 5], [\"Rice\", 9]]\n"
"\n"
"\tvar apple = [\"Apple\", 5]\n"
"\t# \"Apple\" вставляется перед \"Kiwi\".\n"
"\tmy_items.insert(my_items.bsearch_custom(apple, sort_by_amount, true), "
"apple)\n"
"\n"
"\tvar banana = [\"Banana\", 5]\n"
"\t# \"Banana\" вставляется после \"Kiwi\".\n"
"\tmy_items.insert(my_items.bsearch_custom(banana, sort_by_amount, false), "
"banana)\n"
"\n"
"\t# Выводит [[\"Tomato\", 2], [\"Apple\", 5], [\"Kiwi\", 5], [\"Banana\", 5], "
"[\"Rice\", 9]]\n"
"\tprint(my_items)\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Вызов [method bsearch_custom] для [i]несортированного[/i] "
"массива приведет к неожиданному поведению. Используйте [method sort_custom] с "
"[param func] перед вызовом этого метода."
msgid ""
"Removes all elements from the array. This is equivalent to using [method "
"resize] with a size of [code]0[/code]."
msgstr ""
"Удаляет все элементы из массива. Это эквивалентно использованию [method "
"resize] с размером [code]0[/code]."
msgid ""
"Returns the number of times an element is in the array.\n"
"To count how many elements in an array satisfy a condition, see [method "
"reduce]."
msgstr ""
"Возвращает количество раз, когда элемент встречается в массиве.\n"
"Чтобы подсчитать, сколько элементов в массиве удовлетворяют условию, см. "
"[method reduce]."
msgid ""
"Returns a new copy of the array.\n"
"By default, a [b]shallow[/b] copy is returned: all nested [Array], "
"[Dictionary], and [Resource] elements are shared with the original array. "
"Modifying any of those in one array will also affect them in the other.\n"
"If [param deep] is [code]true[/code], a [b]deep[/b] copy is returned: all "
"nested arrays and dictionaries are also duplicated (recursively). Any "
"[Resource] is still shared with the original array, though."
msgstr ""
"Возвращает новую копию массива.\n"
"По умолчанию возвращается [b]неглубокая[/b] копия: все вложенные элементы "
"[Array], [Dictionary] и [Resource] используются совместно с исходным "
"массивом. Изменение любого из них в одном массиве также повлияет на них в "
"другом.\n"
"Если [param deep] равен [code]true[/code], возвращается [b]глубокая[/b] "
"копия: все вложенные массивы и словари также дублируются (рекурсивно). Однако "
"любой [Resource] по-прежнему используется совместно с исходным массивом."
msgid ""
"Duplicates this array, deeply, like [method duplicate] when passing "
"[code]true[/code], with extra control over how subresources are handled.\n"
"[param deep_subresources_mode] must be one of the values from [enum "
"Resource.DeepDuplicateMode]. By default, only internal resources will be "
"duplicated (recursively)."
msgstr ""
"Дублирует этот массив, глубоко, как [method duplicate] при передаче "
"[code]true[/code], с дополнительным контролем над обработкой подресурсов.\n"
"[param deep_subresources_mode] должен быть одним из значений из [enum "
"Resource.DeepDuplicateMode]. По умолчанию дублируются только внутренние "
"ресурсы (рекурсивно)."
msgid ""
"Finds and removes the first occurrence of [param value] from the array. If "
"[param value] does not exist in the array, nothing happens. To remove an "
"element by index, use [method remove_at] instead.\n"
"[b]Note:[/b] This method shifts every element's index after the removed "
"[param value] back, which may have a noticeable performance cost, especially "
"on larger arrays.\n"
"[b]Note:[/b] Erasing elements while iterating over arrays is [b]not[/b] "
"supported and will result in unpredictable behavior."
msgstr ""
"Находит и удаляет первое вхождение [param value] из массива. Если [param "
"value] отсутствует в массиве, ничего не происходит. Чтобы удалить элемент по "
"индексу, используйте [method remove_at].\n"
"[b]Примечание:[/b] Этот метод сдвигает индекс каждого элемента после "
"удаленного [param value] назад, что может иметь заметные издержки "
"производительности, особенно для больших массивов.\n"
"[b]Примечание:[/b] Удаление элементов при итерации по массивам [b]не[/b] "
"поддерживается и приведет к непредсказуемому поведению."
msgid ""
"Assigns the given [param value] to all elements in the array.\n"
"This method can often be combined with [method resize] to create an array "
"with a given size and initialized elements:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var array = []\n"
"array.resize(5)\n"
"array.fill(2)\n"
"print(array) # Prints [2, 2, 2, 2, 2]\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array array = [];\n"
"array.Resize(5);\n"
"array.Fill(2);\n"
"GD.Print(array); // Prints [2, 2, 2, 2, 2]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] If [param value] is a [Variant] passed by reference ([Object]-"
"derived, [Array], [Dictionary], etc.), the array will be filled with "
"references to the same [param value], which are not duplicates."
msgstr ""
"Назначает заданное [param value] всем элементам массива. \n"
"Этот метод часто можно комбинировать с [method resize] для создания массива с "
"заданным размером и инициализированными элементами:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var array = []\n"
"array.resize(5)\n"
"array.fill(2)\n"
"print(array) # Prints [2, 2, 2, 2, 2]\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array array = [];\n"
"array.Resize(5);\n"
"array.Fill(2);\n"
"GD.Print(array); // Prints [2, 2, 2, 2, 2]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Если [param value] является [Variant], переданным по "
"ссылке (производным от [Object], [Array], [Dictionary] и т. д.), массив будет "
"заполнен ссылками на одно и то же [param value], которые не являются "
"дубликатами."
msgid ""
"Calls the given [Callable] on each element in the array and returns a new, "
"filtered [Array].\n"
"The [param callable] receives one of the array elements as an argument, and "
"should return [code]true[/code] to add the element to the filtered array, or "
"[code]false[/code] to exclude it.\n"
"[codeblock]\n"
"func is_even(number):\n"
"\treturn number % 2 == 0\n"
"\n"
"func _ready():\n"
"\tprint([1, 4, 5, 8].filter(is_even)) # Prints [4, 8]\n"
"\n"
"\t# Same as above, but using a lambda function.\n"
"\tprint([1, 4, 5, 8].filter(func(number): return number % 2 == 0))\n"
"[/codeblock]\n"
"See also [method any], [method all], [method map] and [method reduce]."
msgstr ""
"Вызывает указанный [Callable] для каждого элемента массива и возвращает новый "
"отфильтрованный [Array].\n"
"В качестве аргумента [param callable] получает один из элементов массива; "
"функция должна возвращать [code]true[/code], чтобы добавить элемент в "
"отфильтрованный массив, или [code]false[/code], чтобы исключить его.\n"
"[codeblock]\n"
"func is_even(number):\n"
"\treturn number % 2 == 0\n"
"\n"
"func _ready():\n"
"\tprint([1, 4, 5, 8].filter(is_even)) # Выводит [4, 8]\n"
"\n"
"\t# То же самое, что и выше, но с использованием лямбда-функции.\n"
"\tprint([1, 4, 5, 8].filter(func(number): return number % 2 == 0))\n"
"[/codeblock]\n"
"См. также [method any], [method all], [method map] и [method reduce]."
msgid ""
"Returns the index of the [b]first[/b] occurrence of [param what] in this "
"array, or [code]-1[/code] if there are none. The search's start can be "
"specified with [param from], continuing to the end of the array.\n"
"[b]Note:[/b] If you just want to know whether the array contains [param "
"what], use [method has] ([code]Contains[/code] in C#). In GDScript, you may "
"also use the [code]in[/code] operator.\n"
"[b]Note:[/b] For performance reasons, the search is affected by [param "
"what]'s [enum Variant.Type]. For example, [code]7[/code] ([int]) and "
"[code]7.0[/code] ([float]) are not considered equal for this method."
msgstr ""
"Возвращает индекс [b]first (первого)[/b] вхождения [param what] в этом "
"массиве или [code]-1[/code], если их нет. Начало поиска можно указать с "
"помощью [param from], продолжая до конца массива.\n"
"[b]Примечание:[/b] Если вы просто хотите узнать, содержит ли массив [param "
"what], используйте [method has] ([code]Contains[/code] в C#). В GDScript вы "
"также можете использовать оператор [code]in[/code].\n"
"[b]Примечание:[/b] Из соображений производительности на поиск влияет [enum "
"Variant.Type] [param what]. Например, [code]7[/code] ([int]) и [code]7.0[/"
"code] ([float]) не считаются равными для этого метода."
msgid ""
"Returns the index of the [b]first[/b] element in the array that causes [param "
"callable] to return [code]true[/code], or [code]-1[/code] if there are none. "
"The search's start can be specified with [param from], continuing to the end "
"of the array.\n"
"[param callable] takes an element of the array and returns a [bool].\n"
"[b]Note:[/b] If you just want to know whether the array contains [i]anything[/"
"i] that satisfies [param callable], use [method any].\n"
"[codeblocks]\n"
"[gdscript]\n"
"func is_even(number):\n"
"\treturn number % 2 == 0\n"
"\n"
"func _ready():\n"
"\tprint([1, 3, 4, 7].find_custom(is_even.bind())) # Prints 2\n"
"\n"
"# Another example using `bind()` to pass an additional parameter:\n"
"func is_specific_number(number, expected):\n"
"\treturn number == expected\n"
"\n"
"func _ready():\n"
"\tprint([1, 3, 4, 7].find_custom(is_specific_number.bind(4))) # Prints 2\n"
"[/gdscript]\n"
"[/codeblocks]"
msgstr ""
"Возвращает индекс [b]первого[/b] элемента массива, для которого [param "
"callable] возвращает [code]true[/code], или [code]-1[/code], если таких "
"элементов нет. Поиск можно начать с указанного индекса [param from] и "
"продолжить до конца массива.\n"
"[param callable] принимает элемент массива и возвращает значение типа "
"[bool].\n"
"[b]Примечание:[/b] Если вам нужно лишь узнать, содержит ли массив [i]хотя бы "
"один[/i] элемент, удовлетворяющий условию [param callable], используйте метод "
"[method any].\n"
"[codeblocks]\n"
"[gdscript]\n"
"func is_even(number):\n"
"\treturn number % 2 == 0\n"
"\n"
"func _ready():\n"
"\tprint([1, 3, 4, 7].find_custom(is_even.bind())) # Выводит 2\n"
"\n"
"# Ещё один пример использования `bind()` для передачи дополнительного "
"параметра:\n"
"func is_specific_number(number, expected):\n"
"\treturn number == expected\n"
"\n"
"func _ready():\n"
"\tprint([1, 3, 4, 7].find_custom(is_specific_number.bind(4))) # Выводит 2\n"
"[/gdscript]\n"
"[/codeblocks]"
msgid ""
"Returns the first element of the array. If the array is empty, fails and "
"returns [code]null[/code]. See also [method back].\n"
"[b]Note:[/b] Unlike with the [code][][/code] operator ([code]array[0][/"
"code]), an error is generated without stopping project execution."
msgstr ""
"Возвращает первый элемент массива. Если массив пуст, происходит сбой и "
"возвращается [code]null[/code]. См. также [method back].\n"
"[b]Примечание:[/b] В отличие от оператора [code][][/code] ([code]array[0][/"
"code]), ошибка генерируется без остановки выполнения проекта."
msgid ""
"Returns the element at the given [param index] in the array. If [param index] "
"is out-of-bounds or negative, this method fails and returns [code]null[/"
"code].\n"
"This method is similar (but not identical) to the [code][][/code] operator. "
"Most notably, when this method fails, it doesn't pause project execution if "
"run from the editor."
msgstr ""
"Возвращает элемент по заданному [param index] в массиве. Если [param index] "
"выходит за пределы массива или имеет отрицательное значение, этот метод "
"завершается с ошибкой и возвращает [code]null[/code].\n"
"Этот метод похож (но не идентичен) оператору [code][][/code]. Наиболее "
"примечательно то, что при сбое этого метода выполнение проекта не "
"приостанавливается, если он запускается из редактора."
msgid ""
"Returns the built-in [Variant] type of the typed array as a [enum "
"Variant.Type] constant. If the array is not typed, returns [constant "
"TYPE_NIL]. See also [method is_typed]."
msgstr ""
"Возвращает встроенный тип [Variant] типизированного массива как константу "
"[enum Variant.Type]. Если массив не типизирован, возвращает [constant "
"TYPE_NIL]. См. также [method is_typed]."
msgid ""
"Returns the [b]built-in[/b] class name of the typed array, if the built-in "
"[Variant] type [constant TYPE_OBJECT]. Otherwise, returns an empty "
"[StringName]. See also [method is_typed] and [method Object.get_class]."
msgstr ""
"Возвращает [b]встроенное[/b] имя класса типизированного массива, если "
"встроенный [Variant] тип [constant TYPE_OBJECT]. В противном случае "
"возвращает пустой [StringName]. См. также [method is_typed] и [method "
"Object.get_class]."
msgid ""
"Returns the [Script] instance associated with this typed array, or "
"[code]null[/code] if it does not exist. See also [method is_typed]."
msgstr ""
"Возвращает экземпляр [Script], связанный с этим типизированным массивом, или "
"[code]null[/code], если он не существует. См. также [method is_typed]."
msgid ""
"Returns [code]true[/code] if the array contains the given [param value].\n"
"[codeblocks]\n"
"[gdscript]\n"
"print([\"inside\", 7].has(\"inside\")) # Prints true\n"
"print([\"inside\", 7].has(\"outside\")) # Prints false\n"
"print([\"inside\", 7].has(7)) # Prints true\n"
"print([\"inside\", 7].has(\"7\")) # Prints false\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array arr = [\"inside\", 7];\n"
"// By C# convention, this method is renamed to `Contains`.\n"
"GD.Print(arr.Contains(\"inside\")); // Prints True\n"
"GD.Print(arr.Contains(\"outside\")); // Prints False\n"
"GD.Print(arr.Contains(7)); // Prints True\n"
"GD.Print(arr.Contains(\"7\")); // Prints False\n"
"[/csharp]\n"
"[/codeblocks]\n"
"In GDScript, this is equivalent to the [code]in[/code] operator:\n"
"[codeblock]\n"
"if 4 in [2, 4, 6, 8]:\n"
"\tprint(\"4 is here!\") # Will be printed.\n"
"[/codeblock]\n"
"[b]Note:[/b] For performance reasons, the search is affected by the [param "
"value]'s [enum Variant.Type]. For example, [code]7[/code] ([int]) and "
"[code]7.0[/code] ([float]) are not considered equal for this method."
msgstr ""
"Возвращает [code]true[/code], если массив содержит указанное [param value].\n"
"[codeblocks]\n"
"[gdscript]\n"
"print([\"inside\", 7].has(\"inside\")) # Выводит true\n"
"print([\"inside\", 7].has(\"outside\")) # Выводит false\n"
"print([\"inside\", 7].has(7)) # Выводит true\n"
"print([\"inside\", 7].has(\"7\")) # Выводит false\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array arr = [\"inside\", 7];\n"
"// По соглашению C# этот метод переименован в `Contains`.\n"
"GD.Print(arr.Contains(\"inside\")); // Выводит True\n"
"GD.Print(arr.Contains(\"outside\")); // Выводит False\n"
"GD.Print(arr.Contains(7)); // Выводит True\n"
"GD.Print(arr.Contains(\"7\")); // Выводит False\n"
"[/csharp]\n"
"[/codeblocks]\n"
"В GDScript это эквивалентно оператору [code]in[/code]:\n"
"[codeblock]\n"
"if 4 in [2, 4, 6, 8]:\n"
"\tprint(\"4 уже здесь!\") # Будет напечатано.\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Из соображений производительности на поиск влияет [param "
"value] [enum Variant.Type]. Например, [code]7[/code] ([int]) и [code]7.0[/"
"code] ([float]) не считаются равными для этого метода."
msgid ""
"Returns a hashed 32-bit integer value representing the array and its "
"contents.\n"
"[b]Note:[/b] Arrays with equal hash values are [i]not[/i] guaranteed to be "
"the same, as a result of hash collisions. On the contrary, arrays with "
"different hash values are guaranteed to be different."
msgstr ""
"Возвращает хешированное 32-битное целое число, представляющее массив и его "
"содержимое.\n"
"[b]Примечание:[/b] Массивы с одинаковыми хеш-значениями [i]не[/i] "
"гарантированно будут одинаковыми из-за коллизий хеширования. Напротив, "
"массивы с разными хеш-значениями гарантированно будут разными."
msgid ""
"Inserts a new element ([param value]) at a given index ([param position]) in "
"the array. [param position] should be between [code]0[/code] and the array's "
"[method size]. If negative, [param position] is considered relative to the "
"end of the array.\n"
"Returns [constant OK] on success, or one of the other [enum Error] constants "
"if this method fails.\n"
"[b]Note:[/b] Every element's index after [param position] needs to be shifted "
"forward, which may have a noticeable performance cost, especially on larger "
"arrays."
msgstr ""
"Вставляет новый элемент ([param value]) по указанному индексу ([param "
"position]) в массиве. [param position] должен быть между [code]0[/code] и "
"[method size] массива. Если отрицательно, [param position] считается "
"относительно конца массива.\n"
"Возвращает [constant OK] в случае успеха или одну из других констант [enum "
"Error], если этот метод не выполняется.\n"
"[b]Примечание:[/b] Индекс каждого элемента после [param position] необходимо "
"сместить вперед, что может иметь заметные потери производительности, особенно "
"в больших массивах."
msgid ""
"Returns [code]true[/code] if the array is empty ([code][][/code]). See also "
"[method size]."
msgstr ""
"Возвращает [code]true[/code], если массив пуст ([code][][/code]). См. также "
"[method size]."
msgid ""
"Returns [code]true[/code] if the array is read-only. See [method "
"make_read_only].\n"
"In GDScript, arrays are automatically read-only if declared with the "
"[code]const[/code] keyword."
msgstr ""
"Возвращает [code]true[/code], если массив доступен только для чтения. См. "
"[method make_read_only].\n"
"В GDScript массивы автоматически доступны только для чтения, если объявлены с "
"ключевым словом [code]const[/code]."
msgid ""
"Returns [code]true[/code] if this array is typed the same as the given [param "
"array]. See also [method is_typed]."
msgstr ""
"Возвращает [code]true[/code], если этот массив типизирован так же, как "
"заданный [param array]. См. также [method is_typed]."
msgid ""
"Returns [code]true[/code] if the array is typed. Typed arrays can only "
"contain elements of a specific type, as defined by the typed array "
"constructor. The methods of a typed array are still expected to return a "
"generic [Variant].\n"
"In GDScript, it is possible to define a typed array with static typing:\n"
"[codeblock]\n"
"var numbers: Array[float] = [0.2, 4.2, -2.0]\n"
"print(numbers.is_typed()) # Prints true\n"
"[/codeblock]"
msgstr ""
"Возвращает [code]true[/code], если массив типизирован. Типизированные массивы "
"могут содержать только элементы определенного типа, как определено "
"конструктором типизированного массива. Методы типизированного массива по-"
"прежнему должны возвращать обобщенный [Variant].\n"
"В GDScript можно определить типизированный массив со статической типизацией:\n"
"[codeblock]\n"
"var numbers: Array[float] = [0.2, 4.2, -2.0]\n"
"print(numbers.is_typed()) # Prints true\n"
"[/codeblock]"
msgid ""
"Makes the array read-only. The array's elements cannot be overridden with "
"different values, and their order cannot change. Does not apply to nested "
"elements, such as dictionaries.\n"
"In GDScript, arrays are automatically read-only if declared with the "
"[code]const[/code] keyword."
msgstr ""
"Делает массив доступным только для чтения. Элементы массива не могут быть "
"переопределены другими значениями, и их порядок не может быть изменен. Не "
"применяется к вложенным элементам, таким как словари.\n"
"В GDScript массивы автоматически доступны только для чтения, если объявлены с "
"ключевым словом [code]const[/code]."
msgid ""
"Calls the given [Callable] for each element in the array and returns a new "
"array filled with values returned by the [param callable].\n"
"The [param callable] should take one [Variant] parameter (the current array "
"element) and can return any [Variant].\n"
"[codeblock]\n"
"func double(number):\n"
"\treturn number * 2\n"
"\n"
"func _ready():\n"
"\tprint([1, 2, 3].map(double)) # Prints [2, 4, 6]\n"
"\n"
"\t# Same as above, but using a lambda function.\n"
"\tprint([1, 2, 3].map(func(element): return element * 2))\n"
"[/codeblock]\n"
"See also [method filter], [method reduce], [method any] and [method all]."
msgstr ""
"Вызывает указанный [Callable] для каждого элемента массива и возвращает новый "
"массив, заполненный значениями, которые возвращает этот [Callable].\n"
"[Callable] должен принимать один параметр типа [Variant] (текущий элемент "
"массива) и может возвращать любое значение типа [Variant].\n"
"[codeblock]\n"
"func double(number):\n"
"\treturn number * 2\n"
"\n"
"func _ready():\n"
"\tprint([1, 2, 3].map(double)) # Выводит [2, 4, 6]\n"
"\n"
"\t# То же самое, что и выше, но с использованием лямбда-функции.\n"
"\tprint([1, 2, 3].map(func(element): return element * 2))\n"
"[/codeblock]\n"
"См. также [method filter], [method reduce], [method any] и [method all]."
msgid ""
"Returns the maximum value contained in the array, if all elements can be "
"compared. Otherwise, returns [code]null[/code]. See also [method min].\n"
"To find the maximum value using a custom comparator, you can use [method "
"reduce]."
msgstr ""
"Возвращает максимальное значение, содержащееся в массиве, если все элементы "
"можно сравнить. В противном случае возвращает [code]null[/code]. См. также "
"[method min].\n"
"Чтобы найти максимальное значение с помощью пользовательского компаратора, "
"можно использовать [method reduce]."
msgid ""
"Returns the minimum value contained in the array, if all elements can be "
"compared. Otherwise, returns [code]null[/code]. See also [method max]."
msgstr ""
"Возвращает минимальное значение, содержащееся в массиве, если все элементы "
"можно сравнить. В противном случае возвращает [code]null[/code]. См. также "
"[method max]."
msgid ""
"Returns a random element from the array. Generates an error and returns "
"[code]null[/code] if the array is empty.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# May print 1, 2, 3.25, or \"Hi\".\n"
"print([1, 2, 3.25, \"Hi\"].pick_random())\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array array = [1, 2, 3.25f, \"Hi\"];\n"
"GD.Print(array.PickRandom()); // May print 1, 2, 3.25, or \"Hi\".\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] Like many similar functions in the engine (such as [method "
"@GlobalScope.randi] or [method shuffle]), this method uses a common, global "
"random seed. To get a predictable outcome from this method, see [method "
"@GlobalScope.seed]."
msgstr ""
"Возвращает случайный элемент из массива. Генерирует ошибку и возвращает "
"[code]null[/code], если массив пуст.\n"
"[codeblocks]\n"
"[gdscript]\n"
"# Может печатать 1, 2, 3.25 или \"Привет\".\n"
"print([1, 2, 3.25, \"Привет\"].pick_random())\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array array = [1, 2, 3.25f, \"Привет\"];\n"
"GD.Print(array.PickRandom()); // Может печатать 1, 2, 3.25 или \"Привет\".\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Как и многие подобные функции в движке (например, [method "
"@GlobalScope.randi] или [method shuffle]), этот метод использует общее "
"глобальное случайное начальное число. Чтобы получить предсказуемый результат "
"от этого метода, см. [method @GlobalScope.seed]."
msgid ""
"Removes and returns the element of the array at index [param position]. If "
"negative, [param position] is considered relative to the end of the array. "
"Returns [code]null[/code] if the array is empty. If [param position] is out "
"of bounds, an error message is also generated.\n"
"[b]Note:[/b] This method shifts every element's index after [param position] "
"back, which may have a noticeable performance cost, especially on larger "
"arrays."
msgstr ""
"Удаляет и возвращает элемент массива с индексом [param position]. Если "
"отрицательно, [param position] считается относительно конца массива. "
"Возвращает [code]null[/code], если массив пуст. Если [param position] выходит "
"за пределы, также генерируется сообщение об ошибке.\n"
"[b]Примечание:[/b] Этот метод сдвигает индекс каждого элемента после [param "
"position] назад, что может иметь заметные потери производительности, особенно "
"в больших массивах."
msgid ""
"Removes and returns the last element of the array. Returns [code]null[/code] "
"if the array is empty, without generating an error. See also [method "
"pop_front]."
msgstr ""
"Удаляет и возвращает последний элемент массива. Возвращает [code]null[/code], "
"если массив пуст, без генерации ошибки. См. также [method pop_front]."
msgid ""
"Removes and returns the first element of the array. Returns [code]null[/code] "
"if the array is empty, without generating an error. See also [method "
"pop_back].\n"
"[b]Note:[/b] This method shifts every other element's index back, which may "
"have a noticeable performance cost, especially on larger arrays."
msgstr ""
"Удаляет и возвращает первый элемент массива. Возвращает [code]null[/code], "
"если массив пуст, без генерации ошибки. См. также [method pop_back].\n"
"[b]Примечание:[/b] Этот метод сдвигает индекс каждого другого элемента назад, "
"что может иметь заметные издержки производительности, особенно в больших "
"массивах."
msgid ""
"Appends an element at the end of the array. See also [method push_front]."
msgstr "Добавляет элемент в конец массива. См. также [method push_front]."
msgid ""
"Adds an element at the beginning of the array. See also [method push_back].\n"
"[b]Note:[/b] This method shifts every other element's index forward, which "
"may have a noticeable performance cost, especially on larger arrays."
msgstr ""
"Добавляет элемент в начало массива. См. также [method push_back].\n"
"[b]Примечание:[/b] Этот метод сдвигает индекс каждого другого элемента "
"вперед, что может иметь заметные издержки производительности, особенно в "
"больших массивах."
msgid ""
"Calls the given [Callable] for each element in array, accumulates the result "
"in [param accum], then returns it.\n"
"The [param callable] takes two arguments: the current value of [param accum] "
"and the current array element. If [param accum] is [code]null[/code] (as by "
"default), the iteration will start from the second element, with the first "
"one used as initial value of [param accum].\n"
"[codeblock]\n"
"func sum(accum, number):\n"
"\treturn accum + number\n"
"\n"
"func _ready():\n"
"\tprint([1, 2, 3].reduce(sum, 0)) # Prints 6\n"
"\tprint([1, 2, 3].reduce(sum, 10)) # Prints 16\n"
"\n"
"\t# Same as above, but using a lambda function.\n"
"\tprint([1, 2, 3].reduce(func(accum, number): return accum + number, 10))\n"
"[/codeblock]\n"
"If [method max] is not desirable, this method may also be used to implement a "
"custom comparator:\n"
"[codeblock]\n"
"func _ready():\n"
"\tvar arr = [Vector2i(5, 0), Vector2i(3, 4), Vector2i(1, 2)]\n"
"\n"
"\tvar longest_vec = arr.reduce(func(max, vec): return vec if "
"is_length_greater(vec, max) else max)\n"
"\tprint(longest_vec) # Prints (3, 4)\n"
"\n"
"func is_length_greater(a, b):\n"
"\treturn a.length() > b.length()\n"
"[/codeblock]\n"
"This method can also be used to count how many elements in an array satisfy a "
"certain condition, similar to [method count]:\n"
"[codeblock]\n"
"func is_even(number):\n"
"\treturn number % 2 == 0\n"
"\n"
"func _ready():\n"
"\tvar arr = [1, 2, 3, 4, 5]\n"
"\t# If the current element is even, increment count, otherwise leave count "
"the same.\n"
"\tvar even_count = arr.reduce(func(count, next): return count + 1 if "
"is_even(next) else count, 0)\n"
"\tprint(even_count) # Prints 2\n"
"[/codeblock]\n"
"See also [method map], [method filter], [method any], and [method all]."
msgstr ""
"Вызывает указанный [Callable] для каждого элемента массива, накапливает "
"результат в [param accum] и возвращает его.\n"
"[param callable] принимает два аргумента: текущее значение [param accum] и "
"текущий элемент массива. Если [param accum] равно [code]null[/code] (по "
"умолчанию), итерация начинается со второго элемента, при этом первый элемент "
"используется в качестве начального значения [param accum].\n"
"[codeblock]\n"
"func sum(accum, number):\n"
"\treturn accum + number\n"
"\n"
"func _ready():\n"
"\tprint([1, 2, 3].reduce(sum, 0)) # Выводит 6\n"
"\tprint([1, 2, 3].reduce(sum, 10)) # Выводит 16\n"
"\n"
"\t# То же самое, что и выше, но с использованием лямбда-функции.\n"
"\tprint([1, 2, 3].reduce(func(accum, number): return accum + number, 10))\n"
"[/codeblock]\n"
"Если [method max] нежелателен, этот метод также можно использовать для "
"реализации собственного компаратора:\n"
"[codeblock]\n"
"func _ready():\n"
"\tvar arr = [Vector2i(5, 0), Vector2i(3, 4), Vector2i(1, 2)]\n"
"\n"
"\tvar longest_vec = arr.reduce(func(max, vec): return vec if "
"is_length_greater(vec, max) else max)\n"
"\tprint(longest_vec) # Выводит (3, 4)\n"
"\n"
"func is_length_greater(a, b):\n"
"\treturn a.length() > b.length()\n"
"[/codeblock]\n"
"Этот метод также можно использовать для подсчёта количества элементов в "
"массиве, удовлетворяющих определённому условию — аналогично методу [method "
"count]:\n"
"[codeblock]\n"
"func is_even(number):\n"
"\treturn number % 2 == 0\n"
"\n"
"func _ready():\n"
"\tvar arr = [1, 2, 3, 4, 5]\n"
"\t# Если текущий элемент чётный, увеличиваем счётчик, в противном случае "
"оставляем счётчик без изменений.\n"
"\tvar even_count = arr.reduce(func(count, next): return count + 1 if "
"is_even(next) else count, 0)\n"
"\tprint(even_count) # Выводит 2\n"
"[/codeblock]\n"
"См. также [method map], [method filter], [method any] и [method all]."
msgid ""
"Removes the element from the array at the given index ([param position]). If "
"the index is out of bounds, this method fails. If the index is negative, "
"[param position] is considered relative to the end of the array.\n"
"If you need to return the removed element, use [method pop_at]. To remove an "
"element by value, use [method erase] instead.\n"
"[b]Note:[/b] This method shifts every element's index after [param position] "
"back, which may have a noticeable performance cost, especially on larger "
"arrays."
msgstr ""
"Удаляет элемент из массива по заданному индексу ([param position]). Если "
"индекс выходит за пределы массива, этот метод завершается ошибкой. Если "
"индекс отрицательный, [param position] считается относительным к концу "
"массива.\n"
"Если вам нужно вернуть удаленный элемент, используйте [method pop_at]. Для "
"удаления элемента по значению используйте [method erase] вместо этого.\n"
"[b]Примечание:[/b] Этот метод сдвигает индекс каждого элемента после [param "
"position] назад, что может заметно снизить производительность, особенно в "
"больших массивах."
msgid ""
"Sets the array's number of elements to [param size]. If [param size] is "
"smaller than the array's current size, the elements at the end are removed. "
"If [param size] is greater, new default elements (usually [code]null[/code]) "
"are added, depending on the array's type.\n"
"Returns [constant OK] on success, or one of the following [enum Error] "
"constants if this method fails: [constant ERR_LOCKED] if the array is read-"
"only, [constant ERR_INVALID_PARAMETER] if the size is negative, or [constant "
"ERR_OUT_OF_MEMORY] if allocations fail. Use [method size] to find the actual "
"size of the array after resize.\n"
"[b]Note:[/b] Calling this method once and assigning the new values is faster "
"than calling [method append] for every new element."
msgstr ""
"Устанавливает количество элементов массива равным [param size]. Если [param "
"size] меньше текущего размера массива, элементы в конце удаляются. Если "
"[param size] больше, добавляются новые элементы по умолчанию (обычно "
"[code]null[/code]) в зависимости от типа массива.\n"
"Возвращает [constant OK] в случае успеха или одну из следующих констант [enum "
"Error], если этот метод не срабатывает: [constant ERR_LOCKED], если массив "
"доступен только для чтения, [constant ERR_INVALID_PARAMETER], если размер "
"отрицательный, или [constant ERR_OUT_OF_MEMORY], если выделение памяти не "
"удается. Используйте [method size], чтобы узнать фактический размер массива "
"после изменения размера.\n"
"[b]Примечание:[/b] Вызов этого метода один раз и назначение новых значений "
"выполняется быстрее, чем вызов [method append] для каждого нового элемента."
msgid "Reverses the order of all elements in the array."
msgstr "Меняет порядок всех элементов в массиве на обратный."
msgid ""
"Returns the index of the [b]last[/b] occurrence of [param what] in this "
"array, or [code]-1[/code] if there are none. The search's start can be "
"specified with [param from], continuing to the beginning of the array. This "
"method is the reverse of [method find]."
msgstr ""
"Возвращает индекс [b]последнего[/b] вхождения [param what] в этом массиве или "
"[code]-1[/code], если их нет. Начало поиска можно указать с помощью [param "
"from], продолжая до начала массива. Этот метод является обратным [method "
"find]."
msgid ""
"Returns the index of the [b]last[/b] element of the array that causes [param "
"callable] to return [code]true[/code], or [code]-1[/code] if there are none. "
"The search's start can be specified with [param from], continuing to the "
"beginning of the array. This method is the reverse of [method find_custom]."
msgstr ""
"Возвращает индекс [b]последнего[/b] элемента массива, для которого [param "
"callable] возвращает [code]true[/code], или [code]-1[/code], если такой "
"элемент не найден. Начальную позицию поиска можно задать с помощью параметра "
"[param from]; поиск ведется в направлении начала массива. Этот метод является "
"обратным по отношению к [method find_custom]."
msgid ""
"Sets the value of the element at the given [param index] to the given [param "
"value]. This will not change the size of the array, it only changes the value "
"at an index already in the array. This is the same as using the [code][][/"
"code] operator ([code]array[index] = value[/code])."
msgstr ""
"Устанавливает значение элемента с указанным [param index] на указанное [param "
"value]. Это не изменит размер массива, а только изменит значение с индексом, "
"уже имеющимся в массиве. Это то же самое, что использовать оператор [code][][/"
"code] ([code]array[index] = value[/code])."
msgid ""
"Shuffles all elements of the array in a random order.\n"
"[b]Note:[/b] Like many similar functions in the engine (such as [method "
"@GlobalScope.randi] or [method pick_random]), this method uses a common, "
"global random seed. To get a predictable outcome from this method, see "
"[method @GlobalScope.seed]."
msgstr ""
"Перемешивает все элементы массива в случайном порядке.\n"
"[b]Примечание:[/b] Как и многие подобные функции в движке (например, [method "
"@GlobalScope.randi] или [method pick_random]), этот метод использует общее "
"глобальное случайное начальное число. Чтобы получить предсказуемый результат "
"от этого метода, см. [method @GlobalScope.seed]."
msgid ""
"Returns the number of elements in the array. Empty arrays ([code][][/code]) "
"always return [code]0[/code]. See also [method is_empty]."
msgstr ""
"Возвращает количество элементов в массиве. Пустые массивы ([code][][/code]) "
"всегда возвращают [code]0[/code]. См. также [method is_empty]."
msgid ""
"Returns a new [Array] containing this array's elements, from index [param "
"begin] (inclusive) to [param end] (exclusive), every [param step] elements.\n"
"If either [param begin] or [param end] are negative, their value is relative "
"to the end of the array.\n"
"If [param step] is negative, this method iterates through the array in "
"reverse, returning a slice ordered backwards. For this to work, [param begin] "
"must be greater than [param end].\n"
"If [param deep] is [code]true[/code], all nested [Array] and [Dictionary] "
"elements in the slice are duplicated from the original, recursively. See also "
"[method duplicate].\n"
"[codeblock]\n"
"var letters = [\"A\", \"B\", \"C\", \"D\", \"E\", \"F\"]\n"
"\n"
"print(letters.slice(0, 2)) # Prints [\"A\", \"B\"]\n"
"print(letters.slice(2, -2)) # Prints [\"C\", \"D\"]\n"
"print(letters.slice(-2, 6)) # Prints [\"E\", \"F\"]\n"
"\n"
"print(letters.slice(0, 6, 2)) # Prints [\"A\", \"C\", \"E\"]\n"
"print(letters.slice(4, 1, -1)) # Prints [\"E\", \"D\", \"C\"]\n"
"[/codeblock]"
msgstr ""
"Возвращает новый [Array], содержащий элементы этого массива, от индекса "
"[param begin] (включительно) до [param end] (исключительно), каждые [param "
"step] элементов.\n"
"Если [param begin] или [param end] отрицательны, их значение относительно "
"конца массива.\n"
"Если [param step] отрицателен, этот метод выполняет итерацию по массиву в "
"обратном порядке, возвращая срез, упорядоченный в обратном порядке. Чтобы это "
"работало, [param begin] должен быть больше [param end].\n"
"Если [param deep] равен [code]true[/code], все вложенные элементы [Array] и "
"[Dictionary] в срезе дублируются из оригинала, рекурсивно. См. также [method "
"duplicate].\n"
"[codeblock]\n"
"var letters = [\"A\", \"B\", \"C\", \"D\", \"E\", \"F\"]\n"
"\n"
"print(letters.slice(0, 2)) # Выводит [\"A\", \"B\"]\n"
"print(letters.slice(2, -2)) # Выводит [\"C\", \"D\"]\n"
"print(letters.slice(-2, 6)) # Выводит [\"E\", \"F\"]\n"
"\n"
"print(letters.slice(0, 6, 2)) # Выводит [\"A\", \"C\", \"E\"]\n"
"print(letters.slice(4, 1, -1)) # Выводит [\"E\", \"D\", \"C\"]\n"
"[/codeblock]"
msgid ""
"Sorts the array in ascending order. The final order is dependent on the "
"\"less than\" ([code]<[/code]) comparison between elements.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var numbers = [10, 5, 2.5, 8]\n"
"numbers.sort()\n"
"print(numbers) # Prints [2.5, 5, 8, 10]\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array numbers = [10, 5, 2.5, 8];\n"
"numbers.Sort();\n"
"GD.Print(numbers); // Prints [2.5, 5, 8, 10]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] The sorting algorithm used is not [url=https://en.wikipedia.org/"
"wiki/Sorting_algorithm#Stability]stable[/url]. This means that equivalent "
"elements (such as [code]2[/code] and [code]2.0[/code]) may have their order "
"changed when calling [method sort]."
msgstr ""
"Сортирует массив в порядке возрастания. Окончательный порядок зависит от "
"сравнения \"меньше\" ([code]<[/code]) между элементами.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var numbers = [10, 5, 2.5, 8]\n"
"numbers.sort()\n"
"print(numbers) # Prints [2.5, 5, 8, 10]\n"
"[/gdscript]\n"
"[csharp]\n"
"Godot.Collections.Array numbers = [10, 5, 2.5, 8];\n"
"numbers.Sort();\n"
"GD.Print(numbers); // Prints [2.5, 5, 8, 10]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Используемый алгоритм сортировки не является [url=https://"
"en.wikipedia.org/wiki/Sorting_algorithm#Stability]стабильным[/url]. Это "
"означает, что эквивалентные элементы (такие как [code]2[/code] и [code]2.0[/"
"code]) могут иметь измененный порядок при вызове [method sort]."
msgid ""
"Sorts the array using a custom [Callable].\n"
"[param func] is called as many times as necessary, receiving two array "
"elements as arguments. The function should return [code]true[/code] if the "
"first element should be moved [i]before[/i] the second one, otherwise it "
"should return [code]false[/code].\n"
"[codeblock]\n"
"func sort_ascending(a, b):\n"
"\tif a[1] < b[1]:\n"
"\t\treturn true\n"
"\treturn false\n"
"\n"
"func _ready():\n"
"\tvar my_items = [[\"Tomato\", 5], [\"Apple\", 9], [\"Rice\", 4]]\n"
"\tmy_items.sort_custom(sort_ascending)\n"
"\tprint(my_items) # Prints [[\"Rice\", 4], [\"Tomato\", 5], [\"Apple\", 9]]\n"
"\n"
"\t# Sort descending, using a lambda function.\n"
"\tmy_items.sort_custom(func(a, b): return a[1] > b[1])\n"
"\tprint(my_items) # Prints [[\"Apple\", 9], [\"Tomato\", 5], [\"Rice\", 4]]\n"
"[/codeblock]\n"
"It may also be necessary to use this method to sort strings by natural order, "
"with [method String.naturalnocasecmp_to], as in the following example:\n"
"[codeblock]\n"
"var files = [\"newfile1\", \"newfile2\", \"newfile10\", \"newfile11\"]\n"
"files.sort_custom(func(a, b): return a.naturalnocasecmp_to(b) < 0)\n"
"print(files) # Prints [\"newfile1\", \"newfile2\", \"newfile10\", "
"\"newfile11\"]\n"
"[/codeblock]\n"
"[b]Note:[/b] In C#, this method is not supported.\n"
"[b]Note:[/b] The sorting algorithm used is not [url=https://en.wikipedia.org/"
"wiki/Sorting_algorithm#Stability]stable[/url]. This means that values "
"considered equal may have their order changed when calling this method.\n"
"[b]Note:[/b] You should not randomize the return value of [param func], as "
"the heapsort algorithm expects a consistent result. Randomizing the return "
"value will result in unexpected behavior."
msgstr ""
"Сортирует массив с использованием пользовательского [Callable].\n"
"[param func] вызывается столько раз, сколько необходимо, получая два элемента "
"массива в качестве аргументов. Функция должна возвращать [code]true[/code], "
"если первый элемент должен быть перемещен [i]перед[/i] вторым, в противном "
"случае она должна возвращать [code]false[/code].\n"
"[codeblock]\n"
"func sort_ascending(a, b):\n"
"\tif a[1] < b[1]:\n"
"\t\treturn true\n"
"\treturn false\n"
"\n"
"func _ready():\n"
"\tvar my_items = [[\"Tomato\", 5], [\"Apple\", 9], [\"Rice\", 4]]\n"
"\tmy_items.sort_custom(sort_ascending)\n"
"\tprint(my_items) # Prints [[\"Rice\", 4], [\"Tomato\", 5], [\"Apple\", 9]]\n"
"\n"
"\t#Сортировка по убыванию с использованием лямбда-функции.\n"
"\tmy_items.sort_custom(func(a, b): return a[1] > b[1])\n"
"\tprint(my_items) # Prints [[\"Apple\", 9], [\"Tomato\", 5], [\"Rice\", 4]]\n"
"[/codeblock]\n"
"Также может потребоваться использовать этот метод для сортировки строк в "
"естественном порядке с помощью [method String.naturalnocasecmp_to], как в "
"следующем примере:\n"
"[codeblock]\n"
"var files = [\"newfile1\", \"newfile2\", \"newfile10\", \"newfile11\"]\n"
"files.sort_custom(func(a, b): return a.naturalnocasecmp_to(b) < 0)\n"
"print(files) # Prints [\"newfile1\", \"newfile2\", \"newfile10\", "
"\"newfile11\"]\n"
"[/codeblock]\n"
"[b]Примечание:[/b] В C# этот метод не поддерживается.\n"
"[b]Примечание:[/b] Используемый алгоритм сортировки не является [url=https://"
"en.wikipedia.org/wiki/Sorting_algorithm#Stability]стабильным[/url]. Это "
"означает, что значения, считающиеся равными, могут иметь измененный порядок "
"при вызове этого метода.\n"
"[b]Примечание:[/b] Не следует рандомизировать возвращаемое значение [param "
"func], так как алгоритм пирамидальной сортировки ожидает согласованного "
"результата. Рандомизация возвращаемого значения приведет к неожиданному "
"поведению."
msgid ""
"Returns [code]true[/code] if the array's size or its elements are different "
"than [param right]'s."
msgstr ""
"Возвращает [code]true[/code], если размер массива или его элементов "
"отличается от [param right]."
msgid ""
"Appends the [param right] array to the left operand, creating a new [Array]. "
"This is also known as an array concatenation.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var array1 = [\"One\", 2]\n"
"var array2 = [3, \"Four\"]\n"
"print(array1 + array2) # Prints [\"One\", 2, 3, \"Four\"]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Note that concatenation is not possible with C#'s native Array type.\n"
"Godot.Collections.Array array1 = [\"One\", 2];\n"
"Godot.Collections.Array array2 = [3, \"Four\"];\n"
"GD.Print(array1 + array2); // Prints [\"One\", 2, 3, \"Four\"]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Note:[/b] For existing arrays, [method append_array] is much more "
"efficient than concatenation and assignment with the [code]+=[/code] operator."
msgstr ""
"Добавляет массив [param right] к левому операнду, создавая новый [Array]. Это "
"также известно как конкатенация массивов.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var array1 = [\"One\", 2]\n"
"var array2 = [3, \"Four\"]\n"
"print(array1 + array2) # Prints [\"One\", 2, 3, \"Four\"]\n"
"[/gdscript]\n"
"[csharp]\n"
"// Обратите внимание, что конкатенация невозможна с собственным типом массива "
"C#.\n"
"Godot.Collections.Array array1 = [\"One\", 2];\n"
"Godot.Collections.Array array2 = [3, \"Four\"];\n"
"GD.Print(array1 + array2); // Prints [\"One\", 2, 3, \"Four\"]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[b]Примечание:[/b] Для существующих массивов [method append_array] гораздо "
"эффективнее, чем конкатенация и присваивание с помощью оператора [code]+=[/"
"code]."
msgid ""
"Compares the elements of both arrays in order, starting from index [code]0[/"
"code] and ending on the last index in common between both arrays. For each "
"pair of elements, returns [code]true[/code] if this array's element is less "
"than [param right]'s, [code]false[/code] if this element is greater. "
"Otherwise, continues to the next pair.\n"
"If all searched elements are equal, returns [code]true[/code] if this array's "
"size is less than [param right]'s, otherwise returns [code]false[/code]."
msgstr ""
"Сравнивает элементы обоих массивов по порядку, начиная с индекса [code]0[/"
"code] и заканчивая последним общим индексом для обоих массивов. Для каждой "
"пары элементов возвращает [code]true[/code], если элемент этого массива "
"меньше, чем [param right], [code]false[/code], если этот элемент больше. В "
"противном случае переходит к следующей паре.\n"
"Если все искомые элементы равны, возвращает [code]true[/code], если размер "
"этого массива меньше, чем [param right], в противном случае возвращает "
"[code]false[/code]."
msgid ""
"Compares the elements of both arrays in order, starting from index [code]0[/"
"code] and ending on the last index in common between both arrays. For each "
"pair of elements, returns [code]true[/code] if this array's element is less "
"than [param right]'s, [code]false[/code] if this element is greater. "
"Otherwise, continues to the next pair.\n"
"If all searched elements are equal, returns [code]true[/code] if this array's "
"size is less or equal to [param right]'s, otherwise returns [code]false[/"
"code]."
msgstr ""
"Сравнивает элементы обоих массивов по порядку, начиная с индекса [code]0[/"
"code] и заканчивая последним общим индексом для обоих массивов. Для каждой "
"пары элементов возвращает [code]true[/code], если элемент этого массива "
"меньше, чем [param right], [code]false[/code], если этот элемент больше. В "
"противном случае переходит к следующей паре.\n"
"Если все искомые элементы равны, возвращает [code]true[/code], если размер "
"этого массива меньше или равен [param right], в противном случае возвращает "
"[code]false[/code]."
msgid ""
"Compares the left operand [Array] against the [param right] [Array]. Returns "
"[code]true[/code] if the sizes and contents of the arrays are equal, "
"[code]false[/code] otherwise."
msgstr ""
"Сравнивает левый операнд [Array] с [param right] [Array]. Возвращает "
"[code]true[/code], если размеры и содержимое массивов равны, в противном "
"случае [code]false[/code] ."
msgid ""
"Compares the elements of both arrays in order, starting from index [code]0[/"
"code] and ending on the last index in common between both arrays. For each "
"pair of elements, returns [code]true[/code] if this array's element is "
"greater than [param right]'s, [code]false[/code] if this element is less. "
"Otherwise, continues to the next pair.\n"
"If all searched elements are equal, returns [code]true[/code] if this array's "
"size is greater than [param right]'s, otherwise returns [code]false[/code]."
msgstr ""
"Сравнивает элементы обоих массивов по порядку, начиная с индекса [code]0[/"
"code] и заканчивая последним общим индексом для обоих массивов. Для каждой "
"пары элементов возвращает [code]true[/code], если элемент этого массива "
"больше, чем [param right], [code]false[/code], если этот элемент меньше. В "
"противном случае переходит к следующей паре.\n"
"Если все искомые элементы равны, возвращает [code]true[/code], если размер "
"этого массива больше, чем [param right], в противном случае возвращает "
"[code]false[/code]."
msgid ""
"Compares the elements of both arrays in order, starting from index [code]0[/"
"code] and ending on the last index in common between both arrays. For each "
"pair of elements, returns [code]true[/code] if this array's element is "
"greater than [param right]'s, [code]false[/code] if this element is less. "
"Otherwise, continues to the next pair.\n"
"If all searched elements are equal, returns [code]true[/code] if this array's "
"size is greater or equal to [param right]'s, otherwise returns [code]false[/"
"code]."
msgstr ""
"Сравнивает элементы обоих массивов по порядку, начиная с индекса [code]0[/"
"code] и заканчивая последним общим индексом для обоих массивов. Для каждой "
"пары элементов возвращает [code]true[/code], если элемент этого массива "
"больше, чем [param right], [code]false[/code], если этот элемент меньше. В "
"противном случае переходит к следующей паре.\n"
"Если все искомые элементы равны, возвращает [code]true[/code], если размер "
"этого массива больше или равен [param right], в противном случае возвращает "
"[code]false[/code]."
msgid ""
"Returns the [Variant] element at the specified [param index]. Arrays start at "
"index 0. If [param index] is greater or equal to [code]0[/code], the element "
"is fetched starting from the beginning of the array. If [param index] is a "
"negative value, the element is fetched starting from the end. Accessing an "
"array out-of-bounds will cause a run-time error, pausing the project "
"execution if run from the editor."
msgstr ""
"Возвращает элемент [Variant] по указанному [param index]. Массивы начинаются "
"с индекса 0. Если [param index] больше или равен [code]0[/code], элемент "
"извлекается, начиная с начала массива. Если [param index] — отрицательное "
"значение, элемент извлекается, начиная с конца. Доступ к массиву за пределами "
"границ вызовет ошибку времени выполнения, приостанавливая выполнение проекта, "
"если он запущен из редактора."
msgid ""
"[Mesh] type that provides utility for constructing a surface from arrays."
msgstr ""
"Тип [Mesh], предоставляющий утилиту для построения поверхности из массивов."
msgid ""
"The [ArrayMesh] is used to construct a [Mesh] by specifying the attributes as "
"arrays.\n"
"The most basic example is the creation of a single triangle:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var vertices = PackedVector3Array()\n"
"vertices.push_back(Vector3(0, 1, 0))\n"
"vertices.push_back(Vector3(1, 0, 0))\n"
"vertices.push_back(Vector3(0, 0, 1))\n"
"\n"
"# Initialize the ArrayMesh.\n"
"var arr_mesh = ArrayMesh.new()\n"
"var arrays = []\n"
"arrays.resize(Mesh.ARRAY_MAX)\n"
"arrays[Mesh.ARRAY_VERTEX] = vertices\n"
"\n"
"# Create the Mesh.\n"
"arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)\n"
"var m = MeshInstance3D.new()\n"
"m.mesh = arr_mesh\n"
"[/gdscript]\n"
"[csharp]\n"
"Vector3[] vertices =\n"
"[\n"
"\tnew Vector3(0, 1, 0),\n"
"\tnew Vector3(1, 0, 0),\n"
"\tnew Vector3(0, 0, 1),\n"
"];\n"
"\n"
"// Initialize the ArrayMesh.\n"
"var arrMesh = new ArrayMesh();\n"
"Godot.Collections.Array arrays = [];\n"
"arrays.Resize((int)Mesh.ArrayType.Max);\n"
"arrays[(int)Mesh.ArrayType.Vertex] = vertices;\n"
"\n"
"// Create the Mesh.\n"
"arrMesh.AddSurfaceFromArrays(Mesh.PrimitiveType.Triangles, arrays);\n"
"var m = new MeshInstance3D();\n"
"m.Mesh = arrMesh;\n"
"[/csharp]\n"
"[/codeblocks]\n"
"The [MeshInstance3D] is ready to be added to the [SceneTree] to be shown.\n"
"See also [ImmediateMesh], [MeshDataTool] and [SurfaceTool] for procedural "
"geometry generation.\n"
"[b]Note:[/b] Godot uses clockwise [url=https://learnopengl.com/Advanced-"
"OpenGL/Face-culling]winding order[/url] for front faces of triangle primitive "
"modes."
msgstr ""
"[ArrayMesh] используется для построения [Mesh] путем указания атрибутов как "
"массивов.\n"
"Самый простой пример — создание одного треугольника:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var vertices = PackedVector3Array()\n"
"vertices.push_back(Vector3(0, 1, 0))\n"
"vertices.push_back(Vector3(1, 0, 0))\n"
"vertices.push_back(Vector3(0, 0, 1))\n"
"\n"
"#Инициализируйте ArrayMesh.\n"
"var arr_mesh = ArrayMesh.new()\n"
"var arrays = []\n"
"arrays.resize(Mesh.ARRAY_MAX)\n"
"arrays[Mesh.ARRAY_VERTEX] = vertices\n"
"\n"
"# Создать сетку.\n"
"arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)\n"
"var m = MeshInstance3D.new()\n"
"m.mesh = arr_mesh\n"
"[/gdscript]\n"
"[csharp]\n"
"Vector3[] vertices =\n"
"[\n"
"\tnew Vector3(0, 1, 0),\n"
"\tnew Vector3(1, 0, 0),\n"
"\tnew Vector3(0, 0, 1),\n"
"];\n"
"\n"
"// Инициализируйте ArrayMesh.\n"
"var arrMesh = new ArrayMesh();\n"
"Godot.Collections.Array arrays = [];\n"
"arrays.Resize((int)Mesh.ArrayType.Max);\n"
"arrays[(int)Mesh.ArrayType.Vertex] = vertices;\n"
"\n"
"// Создать сетку.\n"
"arrMesh.AddSurfaceFromArrays(Mesh.PrimitiveType.Triangles, arrays);\n"
"var m = new MeshInstance3D();\n"
"m.Mesh = arrMesh;\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[MeshInstance3D] готов к добавлению в [SceneTree] для отображения.\n"
"См. также [ImmediateMesh], [MeshDataTool] и [SurfaceTool] для создания "
"процедурной геометрии.\n"
"[b]Примечание:[/b] Годо использует [url=https://learnopengl.com/Advanced-"
"OpenGL/Face-culling]порядок намотки[/url] по часовой стрелке для передних "
"граней примитивных режимов треугольника."
msgid "Procedural geometry using the ArrayMesh"
msgstr "Процедурная геометрия с использованием ArrayMesh"
msgid ""
"Adds name for a blend shape that will be added with [method "
"add_surface_from_arrays]. Must be called before surface is added."
msgstr ""
"Добавляет имя для формы смешивания, которая будет добавлена с помощью [method "
"add_surface_from_arrays]. Необходимо вызвать перед добавлением поверхности."
msgid ""
"Creates a new surface. [method Mesh.get_surface_count] will become the "
"[code]surf_idx[/code] for this new surface.\n"
"Surfaces are created to be rendered using a [param primitive], which may be "
"any of the values defined in [enum Mesh.PrimitiveType].\n"
"The [param arrays] argument is an array of arrays. Each of the [constant "
"Mesh.ARRAY_MAX] elements contains an array with some of the mesh data for "
"this surface as described by the corresponding member of [enum "
"Mesh.ArrayType] or [code]null[/code] if it is not used by the surface. For "
"example, [code]arrays[0][/code] is the array of vertices. That first vertex "
"sub-array is always required; the others are optional. Adding an index array "
"puts this surface into \"index mode\" where the vertex and other arrays "
"become the sources of data and the index array defines the vertex order. All "
"sub-arrays must have the same length as the vertex array (or be an exact "
"multiple of the vertex array's length, when multiple elements of a sub-array "
"correspond to a single vertex) or be empty, except for [constant "
"Mesh.ARRAY_INDEX] if it is used.\n"
"The [param blend_shapes] argument is an array of vertex data for each blend "
"shape. Each element is an array of the same structure as [param arrays], but "
"[constant Mesh.ARRAY_VERTEX], [constant Mesh.ARRAY_NORMAL], and [constant "
"Mesh.ARRAY_TANGENT] are set if and only if they are set in [param arrays] and "
"all other entries are [code]null[/code].\n"
"The [param lods] argument is a dictionary with [float] keys and "
"[PackedInt32Array] values. Each entry in the dictionary represents an LOD "
"level of the surface, where the value is the [constant Mesh.ARRAY_INDEX] "
"array to use for the LOD level and the key is roughly proportional to the "
"distance at which the LOD stats being used. I.e., increasing the key of an "
"LOD also increases the distance that the objects has to be from the camera "
"before the LOD is used.\n"
"The [param flags] argument is the bitwise OR of, as required: One value of "
"[enum Mesh.ArrayCustomFormat] left shifted by "
"[code]ARRAY_FORMAT_CUSTOMn_SHIFT[/code] for each custom channel in use, "
"[constant Mesh.ARRAY_FLAG_USE_DYNAMIC_UPDATE], [constant "
"Mesh.ARRAY_FLAG_USE_8_BONE_WEIGHTS], or [constant "
"Mesh.ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY].\n"
"[b]Note:[/b] When using indices, it is recommended to only use points, lines, "
"or triangles."
msgstr ""
"Создает новую поверхность. [method Mesh.get_surface_count] станет "
"[code]surf_idx[/code] для этой новой поверхности.\n"
"Поверхности создаются для визуализации с использованием [param primitive], "
"который может быть любым из значений, определенных в [enum "
"Mesh.PrimitiveType].\n"
"Аргумент [param arrays] — это массив массивов. Каждый из элементов [constant "
"Mesh.ARRAY_MAX] содержит массив с некоторыми данными сетки для этой "
"поверхности, как описано соответствующим членом [enum Mesh.ArrayType] или "
"[code]null[/code], если он не используется поверхностью. Например, "
"[code]arrays[0][/code] — это массив вершин. Этот первый подмассив вершин "
"всегда обязателен; остальные необязательны. Добавление индексного массива "
"переводит эту поверхность в «индексный режим», где вершины и другие массивы "
"становятся источниками данных, а индексный массив определяет порядок вершин. "
"Все подмассивы должны иметь ту же длину, что и массив вершин (или быть "
"кратными длине массива вершин, когда несколько элементов подмассива "
"соответствуют одной вершине) или быть пустыми, за исключением [constant "
"Mesh.ARRAY_INDEX], если он используется.\n"
"Аргумент [param blend_shapes] — это массив данных вершин для каждой формы "
"смешивания. Каждый элемент — это массив той же структуры, что и [param "
"arrays], но [constant Mesh.ARRAY_VERTEX], [constant Mesh.ARRAY_NORMAL] и "
"[constant Mesh.ARRAY_TANGENT] устанавливаются тогда и только тогда, когда они "
"установлены в [param arrays], а все остальные записи — [code]null[/code].\n"
"Аргумент [param lods] — это словарь с ключами [float] и значениями "
"[PackedInt32Array]. Каждая запись в словаре представляет уровень детализации "
"поверхности, где значение — это массив [constant Mesh.ARRAY_INDEX], "
"используемый для уровня детализации, а ключ примерно пропорционален "
"расстоянию, на котором используются характеристики детализации. То есть, "
"увеличение ключа детализации также увеличивает расстояние, на котором объекты "
"должны находиться от камеры, прежде чем будет использован детализация.\n"
"Аргумент [param flags] представляет собой побитовое ИЛИ, при необходимости: "
"одного значения [enum Mesh.ArrayCustomFormat], сдвинутого влево на "
"[code]ARRAY_FORMAT_CUSTOMn_SHIFT[/code] для каждого используемого "
"пользовательского канала, [constant Mesh.ARRAY_FLAG_USE_DYNAMIC_UPDATE], "
"[constant Mesh.ARRAY_FLAG_USE_8_BONE_WEIGHTS] или [constant "
"Mesh.ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY].\n"
"[b]Примечание:[/b] При использовании индексов рекомендуется использовать "
"только точки, линии или треугольники."
msgid "Removes all blend shapes from this [ArrayMesh]."
msgstr "Удаляет все смешанные фигуры из этого [ArrayMesh]."
msgid "Removes all surfaces from this [ArrayMesh]."
msgstr "Удаляет все поверхности из этого [ArrayMesh]."
msgid "Returns the number of blend shapes that the [ArrayMesh] holds."
msgstr "Возвращает количество смешанных фигур, хранящихся в [ArrayMesh]."
msgid "Returns the name of the blend shape at this index."
msgstr "Возвращает имя формы смешивания по данному индексу."
msgid ""
"Performs a UV unwrap on the [ArrayMesh] to prepare the mesh for lightmapping."
msgstr ""
"Выполняет UV-развертку на [ArrayMesh], чтобы подготовить сетку для светового "
"отображения."
msgid "Regenerates tangents for each of the [ArrayMesh]'s surfaces."
msgstr "Регенерирует касательные для каждой из поверхностей [ArrayMesh]."
msgid "Sets the name of the blend shape at this index."
msgstr "Задает имя формы смешивания по данному индексу."
msgid ""
"Returns the index of the first surface with this name held within this "
"[ArrayMesh]. If none are found, -1 is returned."
msgstr ""
"Возвращает индекс первой поверхности с этим именем, хранящейся в этом "
"[ArrayMesh]. Если ничего не найдено, возвращается -1."
msgid ""
"Returns the length in indices of the index array in the requested surface "
"(see [method add_surface_from_arrays])."
msgstr ""
"Возвращает длину в индексах массива индексов в запрошенной поверхности (см. "
"[method add_surface_from_arrays])."
msgid ""
"Returns the length in vertices of the vertex array in the requested surface "
"(see [method add_surface_from_arrays])."
msgstr ""
"Возвращает длину в вершинах массива вершин в запрошенной поверхности (см. "
"[method add_surface_from_arrays])."
msgid ""
"Returns the format mask of the requested surface (see [method "
"add_surface_from_arrays])."
msgstr ""
"Возвращает маску формата запрошенной поверхности (см. [method "
"add_surface_from_arrays])."
msgid "Gets the name assigned to this surface."
msgstr "Получает имя, назначенное этой поверхности."
msgid ""
"Returns the primitive type of the requested surface (see [method "
"add_surface_from_arrays])."
msgstr ""
"Возвращает примитивный тип запрошенной поверхности (см. [method "
"add_surface_from_arrays])."
msgid ""
"Removes the surface at the given index from the Mesh, shifting surfaces with "
"higher index down by one."
msgstr ""
"Удаляет поверхность с указанным индексом из сетки, сдвигая поверхности с "
"более высоким индексом на одну единицу вниз."
msgid "Sets a name for a given surface."
msgstr "Задает имя для данной поверхности."
msgid ""
"Updates the attribute buffer of this mesh's surface with the given [param "
"data]. The expected data per attribute is 12 or 8 bytes (4 bytes per float, 2 "
"floats per [Vector2], and 3 floats per [Vector3]) depending on if the mesh is "
"using [Vector3] or [Vector2] vertices. This value can be determined with "
"[method RenderingServer.mesh_surface_get_format_attribute_stride].\n"
"The starting point of the updates can be changed with [param offset]. The "
"value of [param offset] should be a multiple of 12 bytes in most cases to "
"align to each attribute.\n"
"A [PackedVector3Array] of attribute locations can be converted into a "
"[PackedByteArray] using [method PackedVector3Array.to_byte_array] for use in "
"[param data]."
msgstr ""
"Обновляет буфер атрибутов поверхности этой сетки с заданными [param data]. "
"Ожидаемый объем данных для каждого атрибута составляет 12 или 8 байт (4 байта "
"на число с плавающей запятой, 2 числа с плавающей запятой на [Vector2] и 3 "
"числа с плавающей запятой на [Vector3]) в зависимости от того, использует ли "
"сетка вершины [Vector3] или [Vector2]. Это значение можно определить с "
"помощью [method RenderingServer.mesh_surface_get_format_attribute_stride].\n"
"Начальную точку обновления можно изменить с помощью [param offset]. Значение "
"[param offset] в большинстве случаев должно быть кратным 12 байтам для "
"выравнивания по каждому атрибуту.\n"
"[PackedVector3Array] с координатами атрибутов можно преобразовать в "
"[PackedByteArray] с помощью [method PackedVector3Array.to_byte_array] для "
"использования в [param data]."
msgid ""
"Updates the skin buffer of this mesh's surface with the given [param data]. "
"The expected data per skin is 12 or 8 bytes (4 bytes per float, 2 floats per "
"[Vector2], and 3 floats per [Vector3]) depending on if the mesh is using "
"[Vector3] or [Vector2] vertices. This value can be determined with [method "
"RenderingServer.mesh_surface_get_format_skin_stride].\n"
"The starting point of the updates can be changed with [param offset]. The "
"value of [param offset] should be a multiple of 12 bytes in most cases to "
"align to each skin.\n"
"A [PackedVector3Array] of skin locations can be converted into a "
"[PackedByteArray] using [method PackedVector3Array.to_byte_array] for use in "
"[param data]."
msgstr ""
"Обновляет буфер скининга поверхности этой сетки с заданными [param data]. "
"Ожидаемый объем данных для каждого скининга составляет 12 или 8 байт (4 байта "
"на число с плавающей запятой, 2 числа с плавающей запятой на [Vector2] и 3 "
"числа с плавающей запятой на [Vector3]) в зависимости от того, использует ли "
"сетка вершины [Vector3] или [Vector2]. Это значение можно определить с "
"помощью [method RenderingServer.mesh_surface_get_format_skin_stride].\n"
"Начальную точку обновления можно изменить с помощью [param offset]. Значение "
"[param offset] в большинстве случаев должно быть кратным 12 байтам для "
"выравнивания по каждому скину.\n"
"[PackedVector3Array] с координатами скининга можно преобразовать в "
"[PackedByteArray] с помощью [method PackedVector3Array.to_byte_array] для "
"использования в [param data]."
msgid ""
"Updates the vertex buffer of this mesh's surface with the given [param data]. "
"The expected data per vertex is 12 or 8 bytes (4 bytes per float, 2 floats "
"per [Vector2], and 3 floats per [Vector3]) depending on if the mesh is using "
"[Vector3] or [Vector2] vertices. This value can be determined with [method "
"RenderingServer.mesh_surface_get_format_vertex_stride].\n"
"The starting point of the updates can be changed with [param offset]. The "
"value of [param offset] should be a multiple of 12 bytes in most cases to "
"align to each vertex.\n"
"A [PackedVector3Array] of vertex locations can be converted into a "
"[PackedByteArray] using [method PackedVector3Array.to_byte_array] for use in "
"[param data]."
msgstr ""
"Обновляет буфер вершин поверхности этой сетки с заданными [param data]. "
"Ожидаемый объем данных на вершину составляет 12 или 8 байт (4 байта на число "
"с плавающей запятой, 2 числа с плавающей запятой на [Vector2] и 3 числа с "
"плавающей запятой на [Vector3]) в зависимости от того, использует ли сетка "
"вершины [Vector3] или [Vector2]. Это значение можно определить с помощью "
"[method RenderingServer.mesh_surface_get_format_vertex_stride].\n"
"Начальную точку обновления можно изменить с помощью [param offset]. В "
"большинстве случаев значение [param offset] должно быть кратным 12 байтам для "
"выравнивания по каждой вершине.\n"
"[PackedVector3Array] с координатами вершин можно преобразовать в "
"[PackedByteArray] с помощью [method PackedVector3Array.to_byte_array] для "
"использования в [param data]."
msgid "The blend shape mode."
msgstr "Режим смешивания форм."
msgid ""
"Overrides the [AABB] with one defined by user for use with frustum culling. "
"Especially useful to avoid unexpected culling when using a shader to offset "
"vertices."
msgstr ""
"Переопределяет [AABB] на определенный пользователем для использования с "
"отсечением по усеченной пирамиде. Особенно полезно для избежания неожиданного "
"отсечения при использовании шейдера для смещения вершин."
msgid ""
"An optional mesh which can be used for rendering shadows and the depth "
"prepass. Can be used to increase performance by supplying a mesh with fused "
"vertices and only vertex position data (without normals, UVs, colors, etc.).\n"
"[b]Note:[/b] This mesh must have exactly the same vertex positions as the "
"source mesh (including the source mesh's LODs, if present). If vertex "
"positions differ, then the mesh will not draw correctly."
msgstr ""
"Необязательная сетка, которая может использоваться для рендеринга теней и "
"предварительного прохода глубины. Может использоваться для повышения "
"производительности путем предоставления сетки с объединенными вершинами и "
"только данными о положении вершин (без нормалей, UV, цветов и т. д.).\n"
"[b]Примечание:[/b] Эта сетка должна иметь точно такие же положения вершин, "
"как и исходная сетка (включая LOD исходной сетки, если они есть). Если "
"положения вершин отличаются, то сетка не будет отрисовываться правильно."
msgid "3D polygon shape for use with occlusion culling in [OccluderInstance3D]."
msgstr ""
"Трехмерная многоугольная форма для использования с отбраковкой окклюзии в "
"[OccluderInstance3D]."
msgid ""
"[ArrayOccluder3D] stores an arbitrary 3D polygon shape that can be used by "
"the engine's occlusion culling system. This is analogous to [ArrayMesh], but "
"for occluders.\n"
"See [OccluderInstance3D]'s documentation for instructions on setting up "
"occlusion culling."
msgstr ""
"[ArrayOccluder3D] хранит произвольную форму 3D-полигона, которая может "
"использоваться системой отсечения окклюзии движка. Это аналогично "
"[ArrayMesh], но для окклюдеров.\n"
"Инструкции по настройке отсечения окклюзии см. в документации "
"[OccluderInstance3D]."
msgid "Occlusion culling"
msgstr "Отбраковка окклюзии"
msgid ""
"Sets [member indices] and [member vertices], while updating the final "
"occluder only once after both values are set."
msgstr ""
"Устанавливает [member indices] и [member vertices], при этом обновляя "
"окончательный окклюдер только один раз после установки обоих значений."
msgid ""
"The occluder's index position. Indices determine which points from the "
"[member vertices] array should be drawn, and in which order.\n"
"[b]Note:[/b] The occluder is always updated after setting this value. If "
"creating occluders procedurally, consider using [method set_arrays] instead "
"to avoid updating the occluder twice when it's created."
msgstr ""
"Положение индекса окклюдера. Индексы определяют, какие точки из массива "
"[member vertices] должны быть нарисованы и в каком порядке.\n"
"[b]Примечание:[/b] Окклюдер всегда обновляется после установки этого "
"значения. Если вы создаете окклюдеры процедурно, рассмотрите возможность "
"использования [method set_arrays] вместо этого, чтобы избежать обновления "
"окклюдера дважды при его создании."
msgid ""
"The occluder's vertex positions in local 3D coordinates.\n"
"[b]Note:[/b] The occluder is always updated after setting this value. If "
"creating occluders procedurally, consider using [method set_arrays] instead "
"to avoid updating the occluder twice when it's created."
msgstr ""
"Положения вершин окклюдера в локальных 3D-координатах.\n"
"[b]Примечание:[/b] Окклюдер всегда обновляется после установки этого "
"значения. Если вы создаете окклюдеры процедурно, рассмотрите возможность "
"использования [method set_arrays] вместо этого, чтобы избежать обновления "
"окклюдера дважды при его создании."
msgid "A container that preserves the proportions of its child controls."
msgstr "Контейнер, сохраняющий пропорции своих дочерних элементов управления."
msgid ""
"A container type that arranges its child controls in a way that preserves "
"their proportions automatically when the container is resized. Useful when a "
"container has a dynamic size and the child nodes must adjust their sizes "
"accordingly without losing their aspect ratios."
msgstr ""
"Тип контейнера, который размещает свои дочерние элементы управления таким "
"образом, чтобы автоматически сохранять их пропорции при изменении размера "
"контейнера. Полезно, когда контейнер имеет динамический размер, а дочерние "
"узлы должны соответствующим образом корректировать свои размеры, не теряя "
"пропорций."
msgid "Using Containers"
msgstr "Использование контейнеров"
msgid "Specifies the horizontal relative position of child controls."
msgstr ""
"Задает горизонтальное относительное положение дочерних элементов управления."
msgid "Specifies the vertical relative position of child controls."
msgstr ""
"Задает вертикальное относительное положение дочерних элементов управления."
msgid ""
"The aspect ratio to enforce on child controls. This is the width divided by "
"the height. The ratio depends on the [member stretch_mode]."
msgstr ""
"Соотношение сторон, применяемое к дочерним элементам управления. Это ширина, "
"деленная на высоту. Соотношение зависит от [member stretch_mode]."
msgid "The stretch mode used to align child controls."
msgstr ""
"Режим растяжения, используемый для выравнивания дочерних элементов управления."
msgid ""
"The height of child controls is automatically adjusted based on the width of "
"the container."
msgstr ""
"Высота дочерних элементов управления автоматически регулируется в зависимости "
"от ширины контейнера."
msgid ""
"The width of child controls is automatically adjusted based on the height of "
"the container."
msgstr ""
"Ширина дочерних элементов управления автоматически регулируется в зависимости "
"от высоты контейнера."
msgid ""
"The bounding rectangle of child controls is automatically adjusted to fit "
"inside the container while keeping the aspect ratio."
msgstr ""
"Ограничивающий прямоугольник дочерних элементов управления автоматически "
"подстраивается под размер контейнера, сохраняя при этом соотношение сторон."
msgid ""
"The width and height of child controls is automatically adjusted to make "
"their bounding rectangle cover the entire area of the container while keeping "
"the aspect ratio.\n"
"When the bounding rectangle of child controls exceed the container's size and "
"[member Control.clip_contents] is enabled, this allows to show only the "
"container's area restricted by its own bounding rectangle."
msgstr ""
"Ширина и высота дочерних элементов управления автоматически настраивается "
"так, чтобы их ограничивающий прямоугольник покрывал всю область контейнера, "
"сохраняя при этом соотношение сторон.\n"
"Когда ограничивающий прямоугольник дочерних элементов управления превышает "
"размер контейнера и включен [member Control.clip_contents], это позволяет "
"отображать только область контейнера, ограниченную его собственным "
"ограничивающим прямоугольником."
msgid "Aligns child controls with the beginning (left or top) of the container."
msgstr ""
"Выравнивает дочерние элементы управления по началу (слева или сверху) "
"контейнера."
msgid "Aligns child controls with the center of the container."
msgstr "Выравнивает дочерние элементы управления по центру контейнера."
msgid "Aligns child controls with the end (right or bottom) of the container."
msgstr ""
"Выравнивает дочерние элементы управления по краю (справа или снизу) "
"контейнера."
msgid ""
"An implementation of A* for finding the shortest path between two vertices on "
"a connected graph in 2D space."
msgstr ""
"Реализация A* для поиска кратчайшего пути между двумя вершинами связного "
"графа в двумерном пространстве."
msgid ""
"An implementation of the A* algorithm, used to find the shortest path between "
"two vertices on a connected graph in 2D space.\n"
"See [AStar3D] for a more thorough explanation on how to use this class. "
"[AStar2D] is a wrapper for [AStar3D] that enforces 2D coordinates."
msgstr ""
"Реализация алгоритма A*, используемого для поиска кратчайшего пути между "
"двумя вершинами на связном графе в двумерном пространстве.\n"
"Более подробное объяснение использования этого класса см. в [AStar3D]. "
"[AStar2D] — это оболочка для [AStar3D], которая обеспечивает двумерные "
"координаты."
msgid "Grid-based Navigation with AStarGrid2D Demo"
msgstr "Демонстрация AStarGrid2D с навигацией на основе сетки"
msgid ""
"Called when computing the cost between two connected points.\n"
"Note that this function is hidden in the default [AStar2D] class."
msgstr ""
"Вызывается при вычислении стоимости между двумя соединенными точками.\n"
"Обратите внимание, что эта функция скрыта в классе по умолчанию [AStar2D]."
msgid ""
"Called when estimating the cost between a point and the path's ending point.\n"
"Note that this function is hidden in the default [AStar2D] class."
msgstr ""
"Вызывается при оценке стоимости между точкой и конечной точкой пути.\n"
"Обратите внимание, что эта функция скрыта в классе по умолчанию [AStar2D]."
msgid ""
"Called when neighboring enters processing and if [member "
"neighbor_filter_enabled] is [code]true[/code]. If [code]true[/code] is "
"returned the point will not be processed.\n"
"Note that this function is hidden in the default [AStar2D] class."
msgstr ""
"Вызывается, когда соседний элемент начинает обработку, и если [member "
"neighbor_filter_enabled] имеет значение [code]true[/code]. Если возвращается "
"значение [code]true[/code], точка не будет обработана.\n"
"Обратите внимание, что эта функция скрыта в классе [AStar2D] по умолчанию."
msgid ""
"Adds a new point at the given position with the given identifier. The [param "
"id] must be 0 or larger, and the [param weight_scale] must be 0.0 or "
"greater.\n"
"The [param weight_scale] is multiplied by the result of [method "
"_compute_cost] when determining the overall cost of traveling across a "
"segment from a neighboring point to this point. Thus, all else being equal, "
"the algorithm prefers points with lower [param weight_scale]s to form a "
"path.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(1, 0), 4) # Adds the point (1, 0) with "
"weight_scale 4 and id 1\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(1, 0), 4); // Adds the point (1, 0) with "
"weight_scale 4 and id 1\n"
"[/csharp]\n"
"[/codeblocks]\n"
"If there already exists a point for the given [param id], its position and "
"weight scale are updated to the given values."
msgstr ""
"Добавляет новую точку в указанной позиции с указанным идентификатором. [param "
"id] должен быть 0 или больше, а [param weight_scale] должен быть 0.0 или "
"больше.\n"
"[param weight_scale] умножается на результат [method _compute_cost] при "
"определении общей стоимости перемещения по сегменту от соседней точки до этой "
"точки. Таким образом, при прочих равных условиях алгоритм предпочитает точки "
"с меньшими [param weight_scale] для формирования пути.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(1, 0), 4) # Adds the point (1, 0) with "
"weight_scale 4 and id 1\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(1, 0), 4); // Adds the point (1, 0) with "
"weight_scale 4 and id 1\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Если точка для указанного [param id] уже существует, ее положение и шкала "
"веса обновляются до указанных значений."
msgid ""
"Returns whether there is a connection/segment between the given points. If "
"[param bidirectional] is [code]false[/code], returns whether movement from "
"[param id] to [param to_id] is possible through this segment."
msgstr ""
"Возвращает, есть ли соединение/сегмент между заданными точками. Если [param "
"bidirectional] равен [code]false[/code], возвращает, возможно ли движение от "
"[param id] до [param to_id] через этот сегмент."
msgid "Clears all the points and segments."
msgstr "Очищает все точки и сегменты."
msgid ""
"Creates a segment between the given points. If [param bidirectional] is "
"[code]false[/code], only movement from [param id] to [param to_id] is "
"allowed, not the reverse direction.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(1, 1))\n"
"astar.add_point(2, Vector2(0, 5))\n"
"astar.connect_points(1, 2, false)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(1, 1));\n"
"astar.AddPoint(2, new Vector2(0, 5));\n"
"astar.ConnectPoints(1, 2, false);\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Создает сегмент между заданными точками. Если [param bidirectional] равен "
"[code]false[/code], разрешено только движение от [param id] до [param to_id], "
"но не в обратном направлении.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(1, 1))\n"
"astar.add_point(2, Vector2(0, 5))\n"
"astar.connect_points(1, 2, false)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(1, 1));\n"
"astar.AddPoint(2, new Vector2(0, 5));\n"
"astar.ConnectPoints(1, 2, false);\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Deletes the segment between the given points. If [param bidirectional] is "
"[code]false[/code], only movement from [param id] to [param to_id] is "
"prevented, and a unidirectional segment possibly remains."
msgstr ""
"Удаляет сегмент между заданными точками. Если [param bidirectional] равен "
"[code]false[/code], предотвращается только движение от [param id] до [param "
"to_id], и возможно остается однонаправленный сегмент."
msgid "Returns the next available point ID with no point associated to it."
msgstr ""
"Возвращает следующий доступный идентификатор точки без связанной с ним точки."
msgid ""
"Returns the ID of the closest point to [param to_position], optionally taking "
"disabled points into account. Returns [code]-1[/code] if there are no points "
"in the points pool.\n"
"[b]Note:[/b] If several points are the closest to [param to_position], the "
"one with the smallest ID will be returned, ensuring a deterministic result."
msgstr ""
"Возвращает идентификатор ближайшей точки к [param to_position], при "
"необходимости принимая во внимание отключенные точки. Возвращает [code]-1[/"
"code], если в пуле точек нет точек.\n"
"[b]Примечание:[/b] Если несколько точек являются ближайшими к [param "
"to_position], будет возвращена точка с наименьшим идентификатором, что "
"гарантирует детерминированный результат."
msgid ""
"Returns the closest position to [param to_position] that resides inside a "
"segment between two connected points.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(0, 0))\n"
"astar.add_point(2, Vector2(0, 5))\n"
"astar.connect_points(1, 2)\n"
"var res = astar.get_closest_position_in_segment(Vector2(3, 3)) # Returns (0, "
"3)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(0, 0));\n"
"astar.AddPoint(2, new Vector2(0, 5));\n"
"astar.ConnectPoints(1, 2);\n"
"Vector2 res = astar.GetClosestPositionInSegment(new Vector2(3, 3)); // "
"Returns (0, 3)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"The result is in the segment that goes from [code]y = 0[/code] to [code]y = "
"5[/code]. It's the closest position in the segment to the given point."
msgstr ""
"Возвращает ближайшую позицию к [param to_position], которая находится внутри "
"сегмента между двумя соединенными точками.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(0, 0))\n"
"astar.add_point(2, Vector2(0, 5))\n"
"astar.connect_points(1, 2)\n"
"var res = astar.get_closest_position_in_segment(Vector2(3, 3)) # Returns (0, "
"3)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(0, 0));\n"
"astar.AddPoint(2, new Vector2(0, 5));\n"
"astar.ConnectPoints(1, 2);\n"
"Vector2 res = astar.GetClosestPositionInSegment(new Vector2(3, 3)); // "
"Returns (0, 3)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Результат находится в сегменте, который идет от [code]y = 0[/code] до [code]y "
"= 5[/code]. Это ближайшая позиция в сегменте к заданной точке."
msgid ""
"Returns an array with the IDs of the points that form the path found by "
"AStar2D between the given points. The array is ordered from the starting "
"point to the ending point of the path.\n"
"If [param from_id] point is disabled, returns an empty array (even if "
"[code]from_id == to_id[/code]).\n"
"If [param from_id] point is not disabled, there is no valid path to the "
"target, and [param allow_partial_path] is [code]true[/code], returns a path "
"to the point closest to the target that can be reached.\n"
"[b]Note:[/b] When [param allow_partial_path] is [code]true[/code] and [param "
"to_id] is disabled the search may take an unusually long time to finish.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(0, 0))\n"
"astar.add_point(2, Vector2(0, 1), 1) # Default weight is 1\n"
"astar.add_point(3, Vector2(1, 1))\n"
"astar.add_point(4, Vector2(2, 0))\n"
"\n"
"astar.connect_points(1, 2, false)\n"
"astar.connect_points(2, 3, false)\n"
"astar.connect_points(4, 3, false)\n"
"astar.connect_points(1, 4, false)\n"
"\n"
"var res = astar.get_id_path(1, 3) # Returns [1, 2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(0, 0));\n"
"astar.AddPoint(2, new Vector2(0, 1), 1); // Default weight is 1\n"
"astar.AddPoint(3, new Vector2(1, 1));\n"
"astar.AddPoint(4, new Vector2(2, 0));\n"
"\n"
"astar.ConnectPoints(1, 2, false);\n"
"astar.ConnectPoints(2, 3, false);\n"
"astar.ConnectPoints(4, 3, false);\n"
"astar.ConnectPoints(1, 4, false);\n"
"long[] res = astar.GetIdPath(1, 3); // Returns [1, 2, 3]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"If you change the 2nd point's weight to 3, then the result will be [code][1, "
"4, 3][/code] instead, because now even though the distance is longer, it's "
"\"easier\" to get through point 4 than through point 2."
msgstr ""
"Возвращает массив с идентификаторами точек, образующих путь, найденный "
"AStar2D между заданными точками. Массив упорядочен от начальной точки до "
"конечной точки пути.\n"
"Если параметр [param from_id] point отключен, возвращает пустой массив (даже "
"если [code]from_id == to_id[/code]).\n"
"Если параметр [param from_id] point не отключен, то нет допустимого пути к "
"цели, и параметр [param allow_partial_path] равен [code]true[/code], "
"возвращает путь к ближайшей к цели точке, до которой можно добраться.\n"
"[b]Примечание:[/b] Когда [param allow_partial_path] равен [code]true[/code] и "
"параметр [param to_id] отключен, поиск может занять необычно много времени.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(0, 0))\n"
"astar.add_point(2, Vector2(0, 1), 1) # Вес по умолчанию равен 1.\n"
"astar.add_point(3, Vector2(1, 1))\n"
"astar.add_point(4, Vector2(2, 0))\n"
"\n"
"astar.connect_points(1, 2, false)\n"
"astar.connect_points(2, 3, false)\n"
"astar.connect_points(4, 3, false)\n"
"astar.connect_points(1, 4, false)\n"
"\n"
"var res = astar.get_id_path(1, 3) # Возвращает [1, 2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(0, 0));\n"
"astar.AddPoint(2, new Vector2(0, 1), 1); // Вес по умолчанию равен 1.\n"
"astar.AddPoint(3, new Vector2(1, 1));\n"
"astar.AddPoint(4, new Vector2(2, 0));\n"
"\n"
"astar.ConnectPoints(1, 2, false);\n"
"astar.ConnectPoints(2, 3, false);\n"
"astar.ConnectPoints(4, 3, false);\n"
"astar.ConnectPoints(1, 4, false);\n"
"long[] res = astar.GetIdPath(1, 3); // Возвращает [1, 2, 3]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Если изменить вес второй точки на 3, то результатом будет [code][1, 4, 3][/"
"code], потому что теперь, несмотря на большую длину пути, пройти через точку "
"4 «легче», чем через точку 2."
msgid ""
"Returns the capacity of the structure backing the points, useful in "
"conjunction with [method reserve_space]."
msgstr ""
"Возвращает емкость структуры, поддерживающей точки, полезно в сочетании с "
"[method reserve_space]."
msgid ""
"Returns an array with the IDs of the points that form the connection with the "
"given point.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(0, 0))\n"
"astar.add_point(2, Vector2(0, 1))\n"
"astar.add_point(3, Vector2(1, 1))\n"
"astar.add_point(4, Vector2(2, 0))\n"
"\n"
"astar.connect_points(1, 2, true)\n"
"astar.connect_points(1, 3, true)\n"
"\n"
"var neighbors = astar.get_point_connections(1) # Returns [2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(0, 0));\n"
"astar.AddPoint(2, new Vector2(0, 1));\n"
"astar.AddPoint(3, new Vector2(1, 1));\n"
"astar.AddPoint(4, new Vector2(2, 0));\n"
"\n"
"astar.ConnectPoints(1, 2, true);\n"
"astar.ConnectPoints(1, 3, true);\n"
"\n"
"long[] neighbors = astar.GetPointConnections(1); // Returns [2, 3]\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает массив с идентификаторами точек, образующих соединение с заданной "
"точкой.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar2D.new()\n"
"astar.add_point(1, Vector2(0, 0))\n"
"astar.add_point(2, Vector2(0, 1))\n"
"astar.add_point(3, Vector2(1, 1))\n"
"astar.add_point(4, Vector2(2, 0))\n"
"\n"
"astar.connect_points(1, 2, true)\n"
"astar.connect_points(1, 3, true)\n"
"\n"
"var neighbors = astar.get_point_connections(1) # Returns [2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar2D();\n"
"astar.AddPoint(1, new Vector2(0, 0));\n"
"astar.AddPoint(2, new Vector2(0, 1));\n"
"astar.AddPoint(3, new Vector2(1, 1));\n"
"astar.AddPoint(4, new Vector2(2, 0));\n"
"\n"
"astar.ConnectPoints(1, 2, true);\n"
"astar.ConnectPoints(1, 3, true);\n"
"\n"
"long[] neighbors = astar.GetPointConnections(1); // Returns [2, 3]\n"
"[/csharp]\n"
"[/codeblocks]"
msgid "Returns the number of points currently in the points pool."
msgstr "Возвращает текущее количество баллов в пуле баллов."
msgid "Returns an array of all point IDs."
msgstr "Возвращает массив всех идентификаторов точек."
msgid ""
"Returns an array with the points that are in the path found by AStar2D "
"between the given points. The array is ordered from the starting point to the "
"ending point of the path.\n"
"If [param from_id] point is disabled, returns an empty array (even if "
"[code]from_id == to_id[/code]).\n"
"If [param from_id] point is not disabled, there is no valid path to the "
"target, and [param allow_partial_path] is [code]true[/code], returns a path "
"to the point closest to the target that can be reached.\n"
"[b]Note:[/b] This method is not thread-safe; it can only be used from a "
"single [Thread] at a given time. Consider using [Mutex] to ensure exclusive "
"access to one thread to avoid race conditions.\n"
"Additionally, when [param allow_partial_path] is [code]true[/code] and [param "
"to_id] is disabled the search may take an unusually long time to finish."
msgstr ""
"Возвращает массив точек, находящихся на пути, найденном AStar2D между "
"заданными точками. Массив упорядочен от начальной точки до конечной точки "
"пути.\n"
"Если параметр [param from_id] point отключен, возвращает пустой массив (даже "
"если [code]from_id == to_id[/code]).\n"
"Если параметр [param from_id] point не отключен, то нет допустимого пути к "
"цели, и параметр [param allow_partial_path] равен [code]true[/code], "
"возвращает путь к точке, ближайшей к цели, до которой можно добраться.\n"
"[b]Примечание:[/b] Этот метод не является потокобезопасным; его можно "
"использовать только из одного потока одновременно. Рекомендуется использовать "
"[Mutex] для обеспечения эксклюзивного доступа к одному потоку во избежание "
"состояний гонки.\n"
"Кроме того, когда [param allow_partial_path] равен [code]true[/code] и "
"параметр [param to_id] отключен, поиск может занять необычно много времени."
msgid "Returns the position of the point associated with the given [param id]."
msgstr "Возвращает положение точки, связанной с указанным [param id]."
msgid ""
"Returns the weight scale of the point associated with the given [param id]."
msgstr "Возвращает весовую шкалу точки, связанной с указанным [param id]."
msgid "Returns whether a point associated with the given [param id] exists."
msgstr "Возвращает, существует ли точка, связанная с указанным [param id]."
msgid ""
"Returns whether a point is disabled or not for pathfinding. By default, all "
"points are enabled."
msgstr ""
"Возвращает, отключена ли точка для поиска пути. По умолчанию все точки "
"включены."
msgid ""
"Removes the point associated with the given [param id] from the points pool."
msgstr "Удаляет точку, связанную с указанным [param id], из пула точек."
msgid ""
"Reserves space internally for [param num_nodes] points. Useful if you're "
"adding a known large number of points at once, such as points on a grid."
msgstr ""
"Резервирует внутреннее пространство для точек [param num_nodes]. Полезно, "
"если вы добавляете известное большое количество точек одновременно, например, "
"точек на сетке."
msgid ""
"Disables or enables the specified point for pathfinding. Useful for making a "
"temporary obstacle."
msgstr ""
"Отключает или включает указанную точку для поиска пути. Полезно для создания "
"временного препятствия."
msgid "Sets the [param position] for the point with the given [param id]."
msgstr "Устанавливает [param position] для точки с указанным [param id]."
msgid ""
"Sets the [param weight_scale] for the point with the given [param id]. The "
"[param weight_scale] is multiplied by the result of [method _compute_cost] "
"when determining the overall cost of traveling across a segment from a "
"neighboring point to this point."
msgstr ""
"Устанавливает [param weight_scale] для точки с заданным [param id]. [param "
"weight_scale] умножается на результат [method _compute_cost] при определении "
"общей стоимости перемещения по сегменту от соседней точки до этой точки."
msgid ""
"If [code]true[/code] enables the filtering of neighbors via [method "
"_filter_neighbor]."
msgstr ""
"Если [code]true[/code], то включается фильтрация соседей через [method "
"_filter_neighbor]."
msgid ""
"An implementation of A* for finding the shortest path between two vertices on "
"a connected graph in 3D space."
msgstr ""
"Реализация A* для поиска кратчайшего пути между двумя вершинами связного "
"графа в трехмерном пространстве."
msgid ""
"A* (A star) is a computer algorithm used in pathfinding and graph traversal, "
"the process of plotting short paths among vertices (points), passing through "
"a given set of edges (segments). It enjoys widespread use due to its "
"performance and accuracy. Godot's A* implementation uses points in 3D space "
"and Euclidean distances by default.\n"
"You must add points manually with [method add_point] and create segments "
"manually with [method connect_points]. Once done, you can test if there is a "
"path between two points with the [method are_points_connected] function, get "
"a path containing indices by [method get_id_path], or one containing actual "
"coordinates with [method get_point_path].\n"
"It is also possible to use non-Euclidean distances. To do so, create a script "
"that extends [AStar3D] and override the methods [method _compute_cost] and "
"[method _estimate_cost]. Both should take two point IDs and return the "
"distance between the corresponding points.\n"
"[b]Example:[/b] Use Manhattan distance instead of Euclidean distance:\n"
"[codeblocks]\n"
"[gdscript]\n"
"class_name MyAStar3D\n"
"extends AStar3D\n"
"\n"
"func _compute_cost(u, v):\n"
"\tvar u_pos = get_point_position(u)\n"
"\tvar v_pos = get_point_position(v)\n"
"\treturn abs(u_pos.x - v_pos.x) + abs(u_pos.y - v_pos.y) + abs(u_pos.z - "
"v_pos.z)\n"
"\n"
"func _estimate_cost(u, v):\n"
"\tvar u_pos = get_point_position(u)\n"
"\tvar v_pos = get_point_position(v)\n"
"\treturn abs(u_pos.x - v_pos.x) + abs(u_pos.y - v_pos.y) + abs(u_pos.z - "
"v_pos.z)\n"
"[/gdscript]\n"
"[csharp]\n"
"using Godot;\n"
"\n"
"[GlobalClass]\n"
"public partial class MyAStar3D : AStar3D\n"
"{\n"
"\tpublic override float _ComputeCost(long fromId, long toId)\n"
"\t{\n"
"\t\tVector3 fromPoint = GetPointPosition(fromId);\n"
"\t\tVector3 toPoint = GetPointPosition(toId);\n"
"\n"
"\t\treturn Mathf.Abs(fromPoint.X - toPoint.X) + Mathf.Abs(fromPoint.Y - "
"toPoint.Y) + Mathf.Abs(fromPoint.Z - toPoint.Z);\n"
"\t}\n"
"\n"
"\tpublic override float _EstimateCost(long fromId, long toId)\n"
"\t{\n"
"\t\tVector3 fromPoint = GetPointPosition(fromId);\n"
"\t\tVector3 toPoint = GetPointPosition(toId);\n"
"\t\treturn Mathf.Abs(fromPoint.X - toPoint.X) + Mathf.Abs(fromPoint.Y - "
"toPoint.Y) + Mathf.Abs(fromPoint.Z - toPoint.Z);\n"
"\t}\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[method _estimate_cost] should return a lower bound of the distance, i.e. "
"[code]_estimate_cost(u, v) <= _compute_cost(u, v)[/code]. This serves as a "
"hint to the algorithm because the custom [method _compute_cost] might be "
"computation-heavy. If this is not the case, make [method _estimate_cost] "
"return the same value as [method _compute_cost] to provide the algorithm with "
"the most accurate information.\n"
"If the default [method _estimate_cost] and [method _compute_cost] methods are "
"used, or if the supplied [method _estimate_cost] method returns a lower bound "
"of the cost, then the paths returned by A* will be the lowest-cost paths. "
"Here, the cost of a path equals the sum of the [method _compute_cost] results "
"of all segments in the path multiplied by the [code]weight_scale[/code]s of "
"the endpoints of the respective segments. If the default methods are used and "
"the [code]weight_scale[/code]s of all points are set to [code]1.0[/code], "
"then this equals the sum of Euclidean distances of all segments in the path."
msgstr ""
"A* (звезда) — это компьютерный алгоритм, используемый в поиске пути и обходе "
"графа, процессе построения коротких путей между вершинами (точками), "
"проходящих через заданный набор ребер (сегментов). Он широко используется "
"благодаря своей производительности и точности. Реализация Godot's A* по "
"умолчанию использует точки в трехмерном пространстве и евклидовы расстояния.\n"
"Вы должны вручную добавлять точки с помощью [method add_point] и вручную "
"создавать сегменты с помощью [method connect_points]. После этого вы можете "
"проверить, есть ли путь между двумя точками, с помощью функции [method "
"are_points_connected], получить путь, содержащий индексы, с помощью [method "
"get_id_path] или путь, содержащий фактические координаты, с помощью [method "
"get_point_path].\n"
"Также возможно использовать неевклидовы расстояния. Для этого создайте "
"скрипт, который расширяет [AStar3D] и переопределяет методы [method "
"_compute_cost] и [method _estimate_cost]. Оба должны принимать два "
"идентификатора точек и возвращать расстояние между соответствующими точками.\n"
"[b]Пример:[/b] Используйте Манхэттенское (Manhattan) расстояние вместо "
"евклидова расстояния:\n"
"[codeblocks]\n"
"[gdscript]\n"
"class_name MyAStar3D\n"
"extends AStar3D\n"
"\n"
"func _compute_cost(u, v):\n"
"\tvar u_pos = get_point_position(u)\n"
"\tvar v_pos = get_point_position(v)\n"
"\treturn abs(u_pos.x - v_pos.x) + abs(u_pos.y - v_pos.y) + abs(u_pos.z - "
"v_pos.z)\n"
"\n"
"func _estimate_cost(u, v):\n"
"\tvar u_pos = get_point_position(u)\n"
"\tvar v_pos = get_point_position(v)\n"
"\treturn abs(u_pos.x - v_pos.x) + abs(u_pos.y - v_pos.y) + abs(u_pos.z - "
"v_pos.z)\n"
"[/gdscript]\n"
"[csharp]\n"
"using Godot;\n"
"\n"
"[GlobalClass]\n"
"public partial class MyAStar3D : AStar3D\n"
"{\n"
"\tpublic override float _ComputeCost(long fromId, long toId)\n"
"\t{\n"
"\t\tVector3 fromPoint = GetPointPosition(fromId);\n"
"\t\tVector3 toPoint = GetPointPosition(toId);\n"
"\n"
"\t\treturn Mathf.Abs(fromPoint.X - toPoint.X) + Mathf.Abs(fromPoint.Y - "
"toPoint.Y) + Mathf.Abs(fromPoint.Z - toPoint.Z);\n"
"\t}\n"
"\n"
"\tpublic override float _EstimateCost(long fromId, long toId)\n"
"\t{\n"
"\t\tVector3 fromPoint = GetPointPosition(fromId);\n"
"\t\tVector3 toPoint = GetPointPosition(toId);\n"
"\t\treturn Mathf.Abs(fromPoint.X - toPoint.X) + Mathf.Abs(fromPoint.Y - "
"toPoint.Y) + Mathf.Abs(fromPoint.Z - toPoint.Z);\n"
"\t}\n"
"}\n"
"[/csharp]\n"
"[/codeblocks]\n"
"[method _estimate_cost] должен возвращать нижнюю границу расстояния, т. е. "
"[code]_estimate_cost(u, v) <= _compute_cost(u, v)[/code]. Это служит "
"подсказкой для алгоритма, поскольку пользовательский [method _compute_cost] "
"может быть вычислительно интенсивным. Если это не так, заставьте [method "
"_estimate_cost] возвращать то же значение, что и [method _compute_cost], "
"чтобы предоставить алгоритму наиболее точную информацию.\n"
"Если используются методы по умолчанию [method _estimate_cost] и [method "
"_compute_cost] или если предоставленный метод [method _estimate_cost] "
"возвращает нижнюю границу стоимости, то пути, возвращаемые A*, будут путями с "
"наименьшей стоимостью. Здесь стоимость пути равна сумме результатов [method "
"_compute_cost] всех сегментов в пути, умноженных на [code]weight_scale[/"
"code]s конечных точек соответствующих сегментов. Если используются методы по "
"умолчанию и [code]weight_scale[/code]s всех точек установлены на [code]1.0[/"
"code], то это равно сумме евклидовых расстояний всех сегментов в пути."
msgid ""
"Called when computing the cost between two connected points.\n"
"Note that this function is hidden in the default [AStar3D] class."
msgstr ""
"Вызывается при вычислении стоимости между двумя соединенными точками.\n"
"Обратите внимание, что эта функция скрыта в классе по умолчанию [AStar3D]."
msgid ""
"Called when estimating the cost between a point and the path's ending point.\n"
"Note that this function is hidden in the default [AStar3D] class."
msgstr ""
"Вызывается при оценке стоимости между точкой и конечной точкой пути.\n"
"Обратите внимание, что эта функция скрыта в классе по умолчанию [AStar3D]."
msgid ""
"Called when neighboring point enters processing and if [member "
"neighbor_filter_enabled] is [code]true[/code]. If [code]true[/code] is "
"returned the point will not be processed.\n"
"Note that this function is hidden in the default [AStar3D] class."
msgstr ""
"Вызывается, когда соседняя точка входит в обработку и если [member "
"neighbor_filter_enabled] имеет значение [code]true[/code]. Если возвращается "
"значение [code]true[/code], точка не будет обработана.\n"
"Обратите внимание, что эта функция скрыта в классе [AStar3D] по умолчанию."
msgid ""
"Adds a new point at the given position with the given identifier. The [param "
"id] must be 0 or larger, and the [param weight_scale] must be 0.0 or "
"greater.\n"
"The [param weight_scale] is multiplied by the result of [method "
"_compute_cost] when determining the overall cost of traveling across a "
"segment from a neighboring point to this point. Thus, all else being equal, "
"the algorithm prefers points with lower [param weight_scale]s to form a "
"path.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(1, 0, 0), 4) # Adds the point (1, 0, 0) with "
"weight_scale 4 and id 1\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(1, 0, 0), 4); // Adds the point (1, 0, 0) with "
"weight_scale 4 and id 1\n"
"[/csharp]\n"
"[/codeblocks]\n"
"If there already exists a point for the given [param id], its position and "
"weight scale are updated to the given values."
msgstr ""
"Добавляет новую точку в указанной позиции с указанным идентификатором. [param "
"id] должен быть 0 или больше, а [param weight_scale] должен быть 0.0 или "
"больше.\n"
"[param weight_scale] умножается на результат [method _compute_cost] при "
"определении общей стоимости перемещения по сегменту от соседней точки до этой "
"точки. Таким образом, при прочих равных условиях алгоритм предпочитает точки "
"с меньшими [param weight_scale] для формирования пути.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(1, 0, 0), 4) # Adds the point (1, 0, 0) with "
"weight_scale 4 and id 1\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(1, 0, 0), 4); // Adds the point (1, 0, 0) with "
"weight_scale 4 and id 1\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Если точка для указанного [param id] уже существует, ее положение и шкала "
"веса обновляются до указанных значений."
msgid ""
"Returns whether the two given points are directly connected by a segment. If "
"[param bidirectional] is [code]false[/code], returns whether movement from "
"[param id] to [param to_id] is possible through this segment."
msgstr ""
"Возвращает, соединены ли две заданные точки напрямую сегментом. Если [param "
"bidirectional] равен [code]false[/code], возвращает, возможно ли движение из "
"[param id] в [param to_id] через этот сегмент."
msgid ""
"Creates a segment between the given points. If [param bidirectional] is "
"[code]false[/code], only movement from [param id] to [param to_id] is "
"allowed, not the reverse direction.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(1, 1, 0))\n"
"astar.add_point(2, Vector3(0, 5, 0))\n"
"astar.connect_points(1, 2, false)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(1, 1, 0));\n"
"astar.AddPoint(2, new Vector3(0, 5, 0));\n"
"astar.ConnectPoints(1, 2, false);\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Создает сегмент между заданными точками. Если [param bidirectional] равен "
"[code]false[/code], разрешено только движение от [param id] до [param to_id], "
"но не в обратном направлении.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(1, 1, 0))\n"
"astar.add_point(2, Vector3(0, 5, 0))\n"
"astar.connect_points(1, 2, false)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(1, 1, 0));\n"
"astar.AddPoint(2, new Vector3(0, 5, 0));\n"
"astar.ConnectPoints(1, 2, false);\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns the closest position to [param to_position] that resides inside a "
"segment between two connected points.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(0, 0, 0))\n"
"astar.add_point(2, Vector3(0, 5, 0))\n"
"astar.connect_points(1, 2)\n"
"var res = astar.get_closest_position_in_segment(Vector3(3, 3, 0)) # Returns "
"(0, 3, 0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(0, 0, 0));\n"
"astar.AddPoint(2, new Vector3(0, 5, 0));\n"
"astar.ConnectPoints(1, 2);\n"
"Vector3 res = astar.GetClosestPositionInSegment(new Vector3(3, 3, 0)); // "
"Returns (0, 3, 0)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"The result is in the segment that goes from [code]y = 0[/code] to [code]y = "
"5[/code]. It's the closest position in the segment to the given point."
msgstr ""
"Возвращает ближайшую позицию к [param to_position], которая находится внутри "
"сегмента между двумя соединенными точками.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(0, 0, 0))\n"
"astar.add_point(2, Vector3(0, 5, 0))\n"
"astar.connect_points(1, 2)\n"
"var res = astar.get_closest_position_in_segment(Vector3(3, 3, 0)) # Returns "
"(0, 3, 0)\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(0, 0, 0));\n"
"astar.AddPoint(2, new Vector3(0, 5, 0));\n"
"astar.ConnectPoints(1, 2);\n"
"Vector3 res = astar.GetClosestPositionInSegment(new Vector3(3, 3, 0)); // "
"Returns (0, 3, 0)\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Результат находится в сегменте, который идет от [code]y = 0[/code] до [code]y "
"= 5[/code]. Это ближайшая позиция в сегменте к заданной точке."
msgid ""
"Returns an array with the IDs of the points that form the path found by "
"AStar3D between the given points. The array is ordered from the starting "
"point to the ending point of the path.\n"
"If [param from_id] point is disabled, returns an empty array (even if "
"[code]from_id == to_id[/code]).\n"
"If [param from_id] point is not disabled, there is no valid path to the "
"target, and [param allow_partial_path] is [code]true[/code], returns a path "
"to the point closest to the target that can be reached.\n"
"[b]Note:[/b] When [param allow_partial_path] is [code]true[/code] and [param "
"to_id] is disabled the search may take an unusually long time to finish.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(0, 0, 0))\n"
"astar.add_point(2, Vector3(0, 1, 0), 1) # Default weight is 1\n"
"astar.add_point(3, Vector3(1, 1, 0))\n"
"astar.add_point(4, Vector3(2, 0, 0))\n"
"\n"
"astar.connect_points(1, 2, false)\n"
"astar.connect_points(2, 3, false)\n"
"astar.connect_points(4, 3, false)\n"
"astar.connect_points(1, 4, false)\n"
"\n"
"var res = astar.get_id_path(1, 3) # Returns [1, 2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(0, 0, 0));\n"
"astar.AddPoint(2, new Vector3(0, 1, 0), 1); // Default weight is 1\n"
"astar.AddPoint(3, new Vector3(1, 1, 0));\n"
"astar.AddPoint(4, new Vector3(2, 0, 0));\n"
"astar.ConnectPoints(1, 2, false);\n"
"astar.ConnectPoints(2, 3, false);\n"
"astar.ConnectPoints(4, 3, false);\n"
"astar.ConnectPoints(1, 4, false);\n"
"long[] res = astar.GetIdPath(1, 3); // Returns [1, 2, 3]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"If you change the 2nd point's weight to 3, then the result will be [code][1, "
"4, 3][/code] instead, because now even though the distance is longer, it's "
"\"easier\" to get through point 4 than through point 2."
msgstr ""
"Возвращает массив с идентификаторами точек, образующих путь, найденный "
"AStar3D между заданными точками. Массив упорядочен от начальной точки до "
"конечной точки пути.\n"
"Если параметр [param from_id] point отключен, возвращает пустой массив (даже "
"если [code]from_id == to_id[/code]).\n"
"Если параметр [param from_id] point не отключен, то нет допустимого пути к "
"цели, и параметр [param allow_partial_path] равен [code]true[/code], "
"возвращает путь к ближайшей к цели точке, до которой можно добраться.\n"
"[b]Примечание:[/b] Когда [param allow_partial_path] равен [code]true[/code] и "
"параметр [param to_id] отключен, поиск может занять необычно много времени.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(0, 0, 0))\n"
"astar.add_point(2, Vector3(0, 1, 0), 1) # Вес по умолчанию равен 1.\n"
"astar.add_point(3, Vector3(1, 1, 0))\n"
"astar.add_point(4, Vector3(2, 0, 0))\n"
"\n"
"astar.connect_points(1, 2, false)\n"
"astar.connect_points(2, 3, false)\n"
"astar.connect_points(4, 3, false)\n"
"astar.connect_points(1, 4, false)\n"
"\n"
"var res = astar.get_id_path(1, 3) # Возвращает [1, 2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(0, 0, 0));\n"
"astar.AddPoint(2, new Vector3(0, 1, 0), 1); // Вес по умолчанию равен 1.\n"
"astar.AddPoint(3, new Vector3(1, 1, 0));\n"
"astar.AddPoint(4, new Vector3(2, 0, 0));\n"
"astar.ConnectPoints(1, 2, false);\n"
"astar.ConnectPoints(2, 3, false);\n"
"astar.ConnectPoints(4, 3, false);\n"
"astar.ConnectPoints(1, 4, false);\n"
"long[] res = astar.GetIdPath(1, 3); // Возвращает [1, 2, 3]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Если изменить вес второй точки на 3, то результатом будет [code][1, 4, 3][/"
"code], потому что теперь, несмотря на большую длину пути, пройти через точку "
"4 «легче», чем через точку 2."
msgid ""
"Returns an array with the IDs of the points that form the connection with the "
"given point.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(0, 0, 0))\n"
"astar.add_point(2, Vector3(0, 1, 0))\n"
"astar.add_point(3, Vector3(1, 1, 0))\n"
"astar.add_point(4, Vector3(2, 0, 0))\n"
"\n"
"astar.connect_points(1, 2, true)\n"
"astar.connect_points(1, 3, true)\n"
"\n"
"var neighbors = astar.get_point_connections(1) # Returns [2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(0, 0, 0));\n"
"astar.AddPoint(2, new Vector3(0, 1, 0));\n"
"astar.AddPoint(3, new Vector3(1, 1, 0));\n"
"astar.AddPoint(4, new Vector3(2, 0, 0));\n"
"astar.ConnectPoints(1, 2, true);\n"
"astar.ConnectPoints(1, 3, true);\n"
"\n"
"long[] neighbors = astar.GetPointConnections(1); // Returns [2, 3]\n"
"[/csharp]\n"
"[/codeblocks]"
msgstr ""
"Возвращает массив с идентификаторами точек, образующих соединение с заданной "
"точкой.\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar = AStar3D.new()\n"
"astar.add_point(1, Vector3(0, 0, 0))\n"
"astar.add_point(2, Vector3(0, 1, 0))\n"
"astar.add_point(3, Vector3(1, 1, 0))\n"
"astar.add_point(4, Vector3(2, 0, 0))\n"
"\n"
"astar.connect_points(1, 2, true)\n"
"astar.connect_points(1, 3, true)\n"
"\n"
"var neighbors = astar.get_point_connections(1) # Returns [2, 3]\n"
"[/gdscript]\n"
"[csharp]\n"
"var astar = new AStar3D();\n"
"astar.AddPoint(1, new Vector3(0, 0, 0));\n"
"astar.AddPoint(2, new Vector3(0, 1, 0));\n"
"astar.AddPoint(3, new Vector3(1, 1, 0));\n"
"astar.AddPoint(4, new Vector3(2, 0, 0));\n"
"astar.ConnectPoints(1, 2, true);\n"
"astar.ConnectPoints(1, 3, true);\n"
"\n"
"long[] neighbors = astar.GetPointConnections(1); // Returns [2, 3]\n"
"[/csharp]\n"
"[/codeblocks]"
msgid ""
"Returns an array with the points that are in the path found by AStar3D "
"between the given points. The array is ordered from the starting point to the "
"ending point of the path.\n"
"If [param from_id] point is disabled, returns an empty array (even if "
"[code]from_id == to_id[/code]).\n"
"If [param from_id] point is not disabled, there is no valid path to the "
"target, and [param allow_partial_path] is [code]true[/code], returns a path "
"to the point closest to the target that can be reached.\n"
"[b]Note:[/b] This method is not thread-safe; it can only be used from a "
"single [Thread] at a given time. Consider using [Mutex] to ensure exclusive "
"access to one thread to avoid race conditions.\n"
"Additionally, when [param allow_partial_path] is [code]true[/code] and [param "
"to_id] is disabled the search may take an unusually long time to finish."
msgstr ""
"Возвращает массив точек, находящихся на пути, найденном AStar3D между "
"заданными точками. Массив упорядочен от начальной точки до конечной точки "
"пути.\n"
"Если параметр [param from_id] point отключен, возвращает пустой массив (даже "
"если [code]from_id == to_id[/code]).\n"
"Если параметр [param from_id] point не отключен, то нет допустимого пути к "
"цели, и параметр [param allow_partial_path] равен [code]true[/code], "
"возвращает путь к точке, ближайшей к цели, до которой можно добраться.\n"
"[b]Примечание:[/b] Этот метод не является потокобезопасным; его можно "
"использовать только из одного потока одновременно. Рекомендуется использовать "
"[Mutex] для обеспечения эксклюзивного доступа к одному потоку во избежание "
"состояний гонки.\n"
"Кроме того, когда [param allow_partial_path] равен [code]true[/code] и "
"параметр [param to_id] отключен, поиск может занять необычно много времени."
msgid ""
"An implementation of A* for finding the shortest path between two points on a "
"partial 2D grid."
msgstr ""
"Реализация A* для поиска кратчайшего пути между двумя точками на частичной "
"двумерной сетке."
msgid ""
"[AStarGrid2D] is a variant of [AStar2D] that is specialized for partial 2D "
"grids. It is simpler to use because it doesn't require you to manually create "
"points and connect them together. This class also supports multiple types of "
"heuristics, modes for diagonal movement, and a jumping mode to speed up "
"calculations.\n"
"To use [AStarGrid2D], you only need to set the [member region] of the grid, "
"optionally set the [member cell_size], and then call the [method update] "
"method:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar_grid = AStarGrid2D.new()\n"
"astar_grid.region = Rect2i(0, 0, 32, 32)\n"
"astar_grid.cell_size = Vector2(16, 16)\n"
"astar_grid.update()\n"
"print(astar_grid.get_id_path(Vector2i(0, 0), Vector2i(3, 4))) # Prints [(0, "
"0), (1, 1), (2, 2), (3, 3), (3, 4)]\n"
"print(astar_grid.get_point_path(Vector2i(0, 0), Vector2i(3, 4))) # Prints "
"[(0, 0), (16, 16), (32, 32), (48, 48), (48, 64)]\n"
"[/gdscript]\n"
"[csharp]\n"
"AStarGrid2D astarGrid = new AStarGrid2D();\n"
"astarGrid.Region = new Rect2I(0, 0, 32, 32);\n"
"astarGrid.CellSize = new Vector2I(16, 16);\n"
"astarGrid.Update();\n"
"GD.Print(astarGrid.GetIdPath(Vector2I.Zero, new Vector2I(3, 4))); // Prints "
"[(0, 0), (1, 1), (2, 2), (3, 3), (3, 4)]\n"
"GD.Print(astarGrid.GetPointPath(Vector2I.Zero, new Vector2I(3, 4))); // "
"Prints [(0, 0), (16, 16), (32, 32), (48, 48), (48, 64)]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"To remove a point from the pathfinding grid, it must be set as \"solid\" with "
"[method set_point_solid]."
msgstr ""
"[AStarGrid2D] — это вариант [AStar2D], который специализирован для частичных "
"2D-сеток. Он проще в использовании, поскольку не требует ручного создания "
"точек и их соединения. Этот класс также поддерживает несколько типов "
"эвристик, режимы для диагонального перемещения и режим прыжка для ускорения "
"вычислений.\n"
"Чтобы использовать [AStarGrid2D], вам нужно только задать [member region] "
"сетки, опционально задать [member cell_size], а затем вызвать метод [method "
"update]:\n"
"[codeblocks]\n"
"[gdscript]\n"
"var astar_grid = AStarGrid2D.new()\n"
"astar_grid.region = Rect2i(0, 0, 32, 32)\n"
"astar_grid.cell_size = Vector2(16, 16)\n"
"astar_grid.update()\n"
"print(astar_grid.get_id_path(Vector2i(0, 0), Vector2i(3, 4))) # Prints [(0, "
"0), (1, 1), (2, 2), (3, 3), (3, 4)]\n"
"print(astar_grid.get_point_path(Vector2i(0, 0), Vector2i(3, 4))) # Prints "
"[(0, 0), (16, 16), (32, 32), (48, 48), (48, 64)]\n"
"[/gdscript]\n"
"[csharp]\n"
"AStarGrid2D astarGrid = new AStarGrid2D();\n"
"astarGrid.Region = new Rect2I(0, 0, 32, 32);\n"
"astarGrid.CellSize = new Vector2I(16, 16);\n"
"astarGrid.Update();\n"
"GD.Print(astarGrid.GetIdPath(Vector2I.Zero, new Vector2I(3, 4))); // Prints "
"[(0, 0), (1, 1), (2, 2), (3, 3), (3, 4)]\n"
"GD.Print(astarGrid.GetPointPath(Vector2I.Zero, new Vector2I(3, 4))); // "
"Prints [(0, 0), (16, 16), (32, 32), (48, 48), (48, 64)]\n"
"[/csharp]\n"
"[/codeblocks]\n"
"Чтобы удалить точку из сетки поиска пути, ее необходимо сделать «сплошной» с "
"помощью [method set_point_solid]."
msgid ""
"Called when computing the cost between two connected points.\n"
"Note that this function is hidden in the default [AStarGrid2D] class."
msgstr ""
"Вызывается при вычислении стоимости между двумя соединенными точками.\n"
"Обратите внимание, что эта функция скрыта по умолчанию в классе [AStarGrid2D]."
msgid ""
"Called when estimating the cost between a point and the path's ending point.\n"
"Note that this function is hidden in the default [AStarGrid2D] class."
msgstr ""
"Вызывается при оценке стоимости между точкой и конечной точкой пути.\n"
"Обратите внимание, что эта функция скрыта по умолчанию в классе [AStarGrid2D]."
msgid ""
"Clears the grid and sets the [member region] to [code]Rect2i(0, 0, 0, 0)[/"
"code]."
msgstr ""
"Очищает сетку и устанавливает [member region] на [code]Rect2i(0, 0, 0, 0)[/"
"code]."
msgid ""
"Fills the given [param region] on the grid with the specified value for the "
"solid flag.\n"
"[b]Note:[/b] Calling [method update] is not needed after the call of this "
"function."
msgstr ""
"Заполняет указанную [param region] на сетке указанным значением для флага "
"сплошной заливки.\n"
"[b]Примечание:[/b] Вызов [method update] не требуется после вызова этой "
"функции."
msgid ""
"Fills the given [param region] on the grid with the specified value for the "
"weight scale.\n"
"[b]Note:[/b] Calling [method update] is not needed after the call of this "
"function."
msgstr ""
"Заполняет указанную [param region] на сетке указанным значением для весовой "
"шкалы.\n"
"[b]Примечание:[/b] Вызов [method update] не требуется после вызова этой "
"функции."
msgid ""
"Returns an array with the IDs of the points that form the path found by "
"AStar2D between the given points. The array is ordered from the starting "
"point to the ending point of the path.\n"
"If [param from_id] point is disabled, returns an empty array (even if "
"[code]from_id == to_id[/code]).\n"
"If [param from_id] point is not disabled, there is no valid path to the "
"target, and [param allow_partial_path] is [code]true[/code], returns a path "
"to the point closest to the target that can be reached.\n"
"[b]Note:[/b] When [param allow_partial_path] is [code]true[/code] and [param "
"to_id] is solid the search may take an unusually long time to finish."
msgstr ""
"Возвращает массив с идентификаторами точек, образующих путь, найденный "
"AStar2D между заданными точками. Массив упорядочен от начальной точки до "
"конечной точки пути.\n"
"Если параметр [param from_id] point отключен, возвращает пустой массив (даже "
"если [code]from_id == to_id[/code]).\n"
"Если параметр [param from_id] point не отключен, то нет допустимого пути к "
"цели, и [param allow_partial_path] имеет значение [code]true[/code], "
"возвращает путь к ближайшей к цели точке, до которой можно добраться.\n"
"[b]Примечание:[/b] Когда [param allow_partial_path] имеет значение "
"[code]true[/code] и [param to_id] имеет значение solid, поиск может занять "
"необычно много времени."
msgid ""
"Returns an array of dictionaries with point data ([code]id[/code]: "
"[Vector2i], [code]position[/code]: [Vector2], [code]solid[/code]: [bool], "
"[code]weight_scale[/code]: [float]) within a [param region]."
msgstr ""
"Возвращает массив словарей с данными точек ([code]id[/code]: [Vector2i], "
"[code]position[/code]: [Vector2], [code]solid[/code]: [bool], "
"[code]weight_scale[/code]: [float]) в области [param]."
msgid ""
"Returns an array with the points that are in the path found by [AStarGrid2D] "
"between the given points. The array is ordered from the starting point to the "
"ending point of the path.\n"
"If [param from_id] point is disabled, returns an empty array (even if "
"[code]from_id == to_id[/code]).\n"
"If [param from_id] point is not disabled, there is no valid path to the "
"target, and [param allow_partial_path] is [code]true[/code], returns a path "
"to the point closest to the target that can be reached.\n"
"[b]Note:[/b] This method is not thread-safe; it can only be used from a "
"single [Thread] at a given time. Consider using [Mutex] to ensure exclusive "
"access to one thread to avoid race conditions.\n"
"Additionally, when [param allow_partial_path] is [code]true[/code] and [param "
"to_id] is solid the search may take an unusually long time to finish."
msgstr ""
"Возвращает массив точек, находящихся на пути, найденном с помощью "
"[AStarGrid2D] между заданными точками. Массив упорядочен от начальной точки "
"до конечной точки пути.\n"
"Если [param from_id] point отключено, возвращает пустой массив (даже если "
"[code]from_id == to_id[/code]).\n"
"Если [param from_id] point не отключено, то нет допустимого пути к цели, и "
"[param allow_partial_path] равно [code]true[/code], возвращает путь к точке, "
"ближайшей к цели, до которой можно добраться.\n"
"[b]Примечание:[/b] Этот метод не является потокобезопасным; его можно "
"использовать только из одного потока одновременно. Рекомендуется использовать "
"[Mutex] для обеспечения эксклюзивного доступа к одному потоку во избежание "
"состояний гонки.\n"
"Кроме того, когда [param allow_partial_path] равно [code]true[/code] и [param "
"to_id] равно solid, поиск может занять необычно много времени."
msgid ""
"Indicates that the grid parameters were changed and [method update] needs to "
"be called."
msgstr ""
"Указывает, что параметры сетки были изменены и необходимо вызвать [method "
"update]."
msgid ""
"Returns [code]true[/code] if the [param x] and [param y] is a valid grid "
"coordinate (id), i.e. if it is inside [member region]. Equivalent to "
"[code]region.has_point(Vector2i(x, y))[/code]."
msgstr ""
"Возвращает [code]true[/code], если [param x] и [param y] являются допустимой "
"координатой сетки (id), т. е. если она находится внутри [member region]. "
"Эквивалентно [code]region.has_point(Vector2i(x, y))[/code]."
msgid ""
"Returns [code]true[/code] if the [param id] vector is a valid grid "
"coordinate, i.e. if it is inside [member region]. Equivalent to "
"[code]region.has_point(id)[/code]."
msgstr ""
"Возвращает [code]true[/code], если вектор [param id] является допустимой "
"координатой сетки, т. е. если он находится внутри [member region]. "
"Эквивалентно [code]region.has_point(id)[/code]."
msgid ""
"Returns [code]true[/code] if a point is disabled for pathfinding. By default, "
"all points are enabled."
msgstr ""
"Возвращает [code]true[/code], если точка отключена для поиска пути. По "
"умолчанию все точки включены."
msgid ""
"Disables or enables the specified point for pathfinding. Useful for making an "
"obstacle. By default, all points are enabled.\n"
"[b]Note:[/b] Calling [method update] is not needed after the call of this "
"function."
msgstr ""
"Отключает или включает указанную точку для поиска пути. Полезно для создания "
"препятствия. По умолчанию включены все точки.\n"
"[b]Примечание:[/b] Вызов [method update] не требуется после вызова этой "
"функции."
msgid ""
"Sets the [param weight_scale] for the point with the given [param id]. The "
"[param weight_scale] is multiplied by the result of [method _compute_cost] "
"when determining the overall cost of traveling across a segment from a "
"neighboring point to this point.\n"
"[b]Note:[/b] Calling [method update] is not needed after the call of this "
"function."
msgstr ""
"Устанавливает [param weight_scale] для точки с заданным [param id]. [param "
"weight_scale] умножается на результат [method _compute_cost] при определении "
"общей стоимости перемещения по сегменту от соседней точки до этой точки.\n"
"[b]Примечание:[/b] Вызов [method update] не требуется после вызова этой "
"функции."
msgid ""
"Updates the internal state of the grid according to the parameters to prepare "
"it to search the path. Needs to be called if parameters like [member region], "
"[member cell_size] or [member offset] are changed. [method is_dirty] will "
"return [code]true[/code] if this is the case and this needs to be called.\n"
"[b]Note:[/b] All point data (solidity and weight scale) will be cleared."
msgstr ""
"Обновляет внутреннее состояние сетки в соответствии с параметрами, чтобы "
"подготовить ее к поиску пути. Необходимо вызывать, если параметры, такие как "
"[member region], [member cell_size] или [member offset], изменены. [method "
"is_dirty] вернет [code]true[/code], если это так и это необходимо вызвать.\n"
"[b]Примечание:[/b] Все данные точек (твердость и шкала веса) будут очищены."
msgid ""
"The cell shape. Affects how the positions are placed in the grid. If changed, "
"[method update] needs to be called before finding the next path."
msgstr ""
"Форма ячейки. Влияет на то, как позиции размещаются в сетке. Если изменено, "
"необходимо вызвать [method update] перед поиском следующего пути."
msgid ""
"The size of the point cell which will be applied to calculate the resulting "
"point position returned by [method get_point_path]. If changed, [method "
"update] needs to be called before finding the next path."
msgstr ""
"Размер ячейки точки, который будет применен для расчета результирующей "
"позиции точки, возвращаемой [method get_point_path]. Если изменено, [method "
"update] необходимо вызвать перед поиском следующего пути."
msgid ""
"The default [enum Heuristic] which will be used to calculate the cost between "
"two points if [method _compute_cost] was not overridden."
msgstr ""
"Значение по умолчанию [enum Heuristic], которое будет использоваться для "
"расчета стоимости между двумя точками, если [method _compute_cost] не был "
"переопределен."
msgid ""
"The default [enum Heuristic] which will be used to calculate the cost between "
"the point and the end point if [method _estimate_cost] was not overridden."
msgstr ""
"Значение по умолчанию [enum Heuristic], которое будет использоваться для "
"расчета стоимости между точкой и конечной точкой, если [method "
"_estimate_cost] не был переопределен."
msgid ""
"A specific [enum DiagonalMode] mode which will force the path to avoid or "
"accept the specified diagonals."
msgstr ""
"Конкретный режим [enum DiagonalMode], который заставит путь избегать или "
"принимать указанные диагонали."
msgid ""
"Enables or disables jumping to skip up the intermediate points and speeds up "
"the searching algorithm.\n"
"[b]Note:[/b] Currently, toggling it on disables the consideration of weight "
"scaling in pathfinding."
msgstr ""
"Включает или отключает возможность перехода через промежуточные точки и "
"ускоряет алгоритм поиска.\n"
"[b]Примечание:[/b] В настоящее время включение отключает учет масштабирования "
"веса при поиске пути."
msgid ""
"The offset of the grid which will be applied to calculate the resulting point "
"position returned by [method get_point_path]. If changed, [method update] "
"needs to be called before finding the next path."
msgstr ""
"Смещение сетки, которое будет применено для расчета результирующего положения "
"точки, возвращаемого [method get_point_path]. Если изменено, [method update] "
"необходимо вызвать перед поиском следующего пути."
msgid ""
"The region of grid cells available for pathfinding. If changed, [method "
"update] needs to be called before finding the next path."
msgstr ""
"Область ячеек сетки, доступная для поиска пути. Если изменено, необходимо "
"вызвать [method update] перед поиском следующего пути."
msgid "Use [member region] instead."
msgstr "Вместо этого используйте [member region]."
msgid ""
"The size of the grid (number of cells of size [member cell_size] on each "
"axis). If changed, [method update] needs to be called before finding the next "
"path."
msgstr ""
"Размер сетки (количество ячеек размером [member cell_size] на каждой оси). "
"Если изменено, необходимо вызвать [method update] перед поиском следующего "
"пути."
msgid ""
"The [url=https://en.wikipedia.org/wiki/Euclidean_distance]Euclidean "
"heuristic[/url] to be used for the pathfinding using the following formula:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"result = sqrt(dx * dx + dy * dy)\n"
"[/codeblock]\n"
"[b]Note:[/b] This is also the internal heuristic used in [AStar3D] and "
"[AStar2D] by default (with the inclusion of possible z-axis coordinate)."
msgstr ""
"[url=https://en.wikipedia.org/wiki/Euclidean_distance]Евклидова эвристика "
"(Euclidean heuristic) [/url], используемая для поиска пути, по следующей "
"формуле:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"result = sqrt(dx * dx + dy * dy)\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Это также внутренняя эвристика, используемая в [AStar3D] и "
"[AStar2D] по умолчанию (с включением возможной координаты оси z)."
msgid ""
"The [url=https://en.wikipedia.org/wiki/Taxicab_geometry]Manhattan heuristic[/"
"url] to be used for the pathfinding using the following formula:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"result = dx + dy\n"
"[/codeblock]\n"
"[b]Note:[/b] This heuristic is intended to be used with 4-side orthogonal "
"movements, provided by setting the [member diagonal_mode] to [constant "
"DIAGONAL_MODE_NEVER]."
msgstr ""
"[url=https://en.wikipedia.org/wiki/Taxicab_geometry]Manhattan heuristic[/url] "
"для использования при поиске пути с использованием следующей формулы:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"result = dx + dy\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Эта эвристика предназначена для использования с 4-"
"сторонними ортогональными движениями, обеспечиваемыми установкой [member "
"dialog_mode] на [constant DIAGONAL_MODE_NEVER]."
msgid ""
"The Octile heuristic to be used for the pathfinding using the following "
"formula:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"f = sqrt(2) - 1\n"
"result = (dx < dy) ? f * dx + dy : f * dy + dx;\n"
"[/codeblock]"
msgstr ""
"Эвристика Octile, используемая для поиска пути, использует следующую "
"формулу:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"f = sqrt(2) - 1\n"
"result = (dx < dy) ? f * dx + dy : f * dy + dx;\n"
"[/codeblock]"
msgid ""
"The [url=https://en.wikipedia.org/wiki/Chebyshev_distance]Chebyshev "
"heuristic[/url] to be used for the pathfinding using the following formula:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"result = max(dx, dy)\n"
"[/codeblock]"
msgstr ""
"[url=https://en.wikipedia.org/wiki/Chebyshev_distance]Chebyshev heuristic[/"
"url] для использования при поиске пути с использованием следующей формулы:\n"
"[codeblock]\n"
"dx = abs(to_id.x - from_id.x)\n"
"dy = abs(to_id.y - from_id.y)\n"
"result = max(dx, dy)\n"
"[/codeblock]"
msgid "Represents the size of the [enum Heuristic] enum."
msgstr "Представляет размер перечисления [enum Heuristic]."
msgid ""
"The pathfinding algorithm will ignore solid neighbors around the target cell "
"and allow passing using diagonals."
msgstr ""
"Алгоритм поиска пути будет игнорировать сплошных соседей вокруг целевой "
"ячейки и разрешать проход по диагоналям."
msgid ""
"The pathfinding algorithm will ignore all diagonals and the way will be "
"always orthogonal."
msgstr ""
"Алгоритм поиска пути будет игнорировать все диагонали, и путь всегда будет "
"ортогональным."
msgid ""
"The pathfinding algorithm will avoid using diagonals if at least two "
"obstacles have been placed around the neighboring cells of the specific path "
"segment."
msgstr ""
"Алгоритм поиска пути избегает использования диагоналей, если вокруг соседних "
"ячеек определенного сегмента пути размещено не менее двух препятствий."
msgid ""
"The pathfinding algorithm will avoid using diagonals if any obstacle has been "
"placed around the neighboring cells of the specific path segment."
msgstr ""
"Алгоритм поиска пути избегает использования диагоналей, если вокруг соседних "
"ячеек определенного сегмента пути размещено какое-либо препятствие."
msgid "Represents the size of the [enum DiagonalMode] enum."
msgstr "Представляет размер перечисления [enum DiagonalMode]."
msgid "Rectangular cell shape."
msgstr "Прямоугольная форма ячеек."
msgid ""
"Diamond cell shape (for isometric look). Cell coordinates layout where the "
"horizontal axis goes up-right, and the vertical one goes down-right."
msgstr ""
"Форма ячейки ромба (для изометрического вида). Координаты ячейки, где "
"горизонтальная ось идет вверх-вправо, а вертикальная — вниз-вправо."
msgid ""
"Diamond cell shape (for isometric look). Cell coordinates layout where the "
"horizontal axis goes down-right, and the vertical one goes down-left."
msgstr ""
"Форма ячейки ромба (для изометрического вида). Координаты ячейки, где "
"горизонтальная ось идет вниз-вправо, а вертикальная — вниз-влево."
msgid "Represents the size of the [enum CellShape] enum."
msgstr "Представляет размер перечисления [enum CellShape]."
msgid "A texture that crops out part of another Texture2D."
msgstr "Текстура, которая вырезает часть другой Texture2D."
msgid ""
"[Texture2D] resource that draws only part of its [member atlas] texture, as "
"defined by the [member region]. An additional [member margin] can also be "
"set, which is useful for small adjustments.\n"
"Multiple [AtlasTexture] resources can be cropped from the same [member "
"atlas]. Packing many smaller textures into a singular large texture helps to "
"optimize video memory costs and render calls.\n"
"[b]Note:[/b] [AtlasTexture] cannot be used in an [AnimatedTexture], and will "
"not tile properly in nodes such as [TextureRect] or [Sprite2D]. To tile an "
"[AtlasTexture], modify its [member region] instead."
msgstr ""
"Ресурс [Texture2D], который рисует только часть своей текстуры [member "
"atlas], как определено [member region]. Также можно задать дополнительное "
"[member margin], что полезно для небольших корректировок.\n"
"Множественные ресурсы [AtlasTexture] можно обрезать из одного [member atlas]. "
"Упаковка множества меньших текстур в одну большую текстуру помогает "
"оптимизировать затраты видеопамяти и вызовы рендеринга.\n"
"[b]Примечание:[/b] [AtlasTexture] нельзя использовать в [AnimatedTexture], и "
"он не будет правильно размещаться в таких узлах, как [TextureRect] или "
"[Sprite2D]. Чтобы разместить [AtlasTexture], измените его [member region]."
msgid ""
"The texture that contains the atlas. Can be any type inheriting from "
"[Texture2D], including another [AtlasTexture]."
msgstr ""
"Текстура, содержащая атлас. Может быть любого типа, наследуемого от "
"[Texture2D], включая другой [AtlasTexture]."
msgid ""
"If [code]true[/code], the area outside of the [member region] is clipped to "
"avoid bleeding of the surrounding texture pixels."
msgstr ""
"Если [code]true[/code], область за пределами [member region] обрезается, "
"чтобы избежать утечки окружающих пикселей текстуры."
msgid ""
"The margin around the [member region]. Useful for small adjustments. If the "
"[member Rect2.size] of this property (\"w\" and \"h\" in the editor) is set, "
"the drawn texture is resized to fit within the margin."
msgstr ""
"Поле вокруг [member region]. Полезно для небольших корректировок. Если задано "
"[member Rect2.size] этого свойства (\"w\" и \"h\" в редакторе), нарисованная "
"текстура изменяет размер, чтобы вписаться в поле."
msgid ""
"The region used to draw the [member atlas]. If either dimension of the "
"region's size is [code]0[/code], the value from [member atlas] size will be "
"used for that axis instead.\n"
"[b]Note:[/b] The image size is always an integer, so the actual region size "
"is rounded down."
msgstr ""
"Область, используемая для построения [member atlas]. Если хотя бы один из "
"параметров размера области равен [code]0[/code], то для этой оси будет "
"использоваться значение из [member atlas].\n"
"[b]Примечание:[/b] Размер изображения всегда является целым числом, поэтому "
"фактический размер области округляется в меньшую сторону."
msgid "Stores information about the audio buses."
msgstr "Сохраняет информацию об аудио шинах."
msgid ""
"Stores position, muting, solo, bypass, effects, effect position, volume, and "
"the connections between buses. See [AudioServer] for usage."
msgstr ""
"Сохраняет позицию, отключение звука, соло, обход, эффекты, позицию эффекта, "
"громкость и соединения между шинами. См. [AudioServer] для использования."
msgid "Base class for audio effect resources."
msgstr "Базовый класс для ресурсов аудиоэффектов."
msgid ""
"The base [Resource] for every audio effect. In the editor, an audio effect "
"can be added to the current bus layout through the Audio panel. At run-time, "
"it is also possible to manipulate audio effects through [method "
"AudioServer.add_bus_effect], [method AudioServer.remove_bus_effect], and "
"[method AudioServer.get_bus_effect].\n"
"When applied on a bus, an audio effect creates a corresponding "
"[AudioEffectInstance]. The instance is directly responsible for manipulating "
"sound, based on the original audio effect's properties."
msgstr ""
"Базовый [Resource] для каждого звукового эффекта. В редакторе звуковой эффект "
"можно добавить к текущей схеме шины через панель «Аудио». Во время выполнения "
"также можно управлять звуковыми эффектами с помощью [method "
"AudioServer.add_bus_effect], [method AudioServer.remove_bus_effect] и [method "
"AudioServer.get_bus_effect].\n"
"При применении к шине звуковой эффект создает соответствующий "
"[AudioEffectInstance]. Этот экземпляр напрямую отвечает за управление звуком "
"на основе свойств исходного звукового эффекта."
msgid "Audio buses"
msgstr "Аудиошины"
msgid "Audio effects"
msgstr "Звуковые эффекты"
msgid "Audio Microphone Record Demo"
msgstr "Демонстрация записи аудио с микрофона"
msgid ""
"Override this method to customize the [AudioEffectInstance] created when this "
"effect is applied on a bus in the editor's Audio panel, or through [method "
"AudioServer.add_bus_effect].\n"
"[codeblock]\n"
"extends AudioEffect\n"
"\n"
"@export var strength = 4.0\n"
"\n"
"func _instantiate():\n"
"\tvar effect = CustomAudioEffectInstance.new()\n"
"\teffect.base = self\n"
"\n"
"\treturn effect\n"
"[/codeblock]\n"
"[b]Note:[/b] It is recommended to keep a reference to the original "
"[AudioEffect] in the new instance. Depending on the implementation this "
"allows the effect instance to listen for changes at run-time and be modified "
"accordingly."
msgstr ""
"Переопределите этот метод, чтобы настроить [AudioEffectInstance], создаваемый "
"при применении этого эффекта к шине на панели «Аудио» редактора или через "
"[method AudioServer.add_bus_effect].\n"
"[codeblock]\n"
"extends AudioEffect\n"
"\n"
"@export var strength = 4.0\n"
"\n"
"func _instantiate():\n"
"\tvar effect = CustomAudioEffectInstance.new()\n"
"\teffect.base = self\n"
"\n"
"\treturn effect\n"
"[/codeblock]\n"
"[b]Примечание:[/b] Рекомендуется сохранить ссылку на оригинальный "
"[AudioEffect] в новом экземпляре. В зависимости от реализации это позволяет "
"экземпляру эффекта прослушивать изменения во время выполнения и изменяться "
"соответствующим образом."
msgid "Adds a volume manipulation audio effect to an audio bus."
msgstr "Добавляет эффект регулировки громкости к аудиошине."
msgid "Increases or decreases the volume being routed through the audio bus."
msgstr "Увеличивает или уменьшает громкость, передаваемую через аудио-шину."
msgid ""
"Amount of amplification in dB. Positive values make the sound louder, "
"negative values make it quieter. Value can range from -80 to 24."
msgstr ""
"Величина усиления в дБ. Положительные значения делают звук громче, "
"отрицательные — тише. Значение может варьироваться от -80 до 24."
msgid ""
"Amount of amplification as a linear value.\n"
"[b]Note:[/b] This member modifies [member volume_db] for convenience. The "
"returned value is equivalent to the result of [method "
"@GlobalScope.db_to_linear] on [member volume_db]. Setting this member is "
"equivalent to setting [member volume_db] to the result of [method "
"@GlobalScope.linear_to_db] on a value."
msgstr ""
"Величина усиления как линейное значение.\n"
"[b]Примечание:[/b] Этот член изменяет [member volume_db] для удобства. "
"Возвращаемое значение эквивалентно результату [method "
"@GlobalScope.db_to_linear] для [member volume_db]. Установка этого члена "
"эквивалентна установке [member volume_db] на результат [method "
"@GlobalScope.linear_to_db] для значения."
msgid "Adds a band-limit filter to an audio bus."
msgstr "Добавляет фильтр ограничения полосы частот на аудиошину."
msgid ""
"A \"band-limit\" filter attenuates the frequencies at [member "
"AudioEffectFilter.cutoff_hz], and allows frequencies outside the frequency "
"threshold to pass unchanged. It is a wider and weaker version of "
"[AudioEffectNotchFilter], and is the opposite of "
"[AudioEffectBandPassFilter].\n"
"This filter can be used to give more room for other sounds to play at that "
"frequency."
msgstr ""
"Фильтр с ограничением полосы пропускания ослабляет частоты на уровне [member "
"AudioEffectFilter.cutoff_hz] и пропускает частоты за пределами порогового "
"значения без изменений. Это более широкая и слабая версия "
"[AudioEffectNotchFilter] и противоположность [AudioEffectBandPassFilter].\n"
"Этот фильтр можно использовать, чтобы дать больше пространства для "
"воспроизведения других звуков на этой частоте."
msgid "Adds a band-pass filter to an audio bus."
msgstr "Добавляет полосовой фильтр на аудиошину."
msgid ""
"A \"band-pass\" filter allows the frequencies at [member "
"AudioEffectFilter.cutoff_hz] to pass unchanged, and attenuates frequencies "
"outside the frequency threshold. It is the opposite of "
"[AudioEffectBandLimitFilter] and [AudioEffectNotchFilter].\n"
"This filter can be used to emulate sounds coming from weak speakers."
msgstr ""
"Полосовой фильтр пропускает частоты в диапазоне [member "
"AudioEffectFilter.cutoff_hz] без изменений и ослабляет частоты за пределами "
"порогового значения. Он является противоположностью "
"[AudioEffectBandLimitFilter] и [AudioEffectNotchFilter].\n"
"Этот фильтр можно использовать для эмуляции звуков, исходящих из слабых "
"динамиков."
msgid ""
"Exposes audio samples from an audio bus in real-time, such that it can be "
"accessed as data."
msgstr ""
"Предоставляет доступ к аудиосэмплам с аудиошины в режиме реального времени, "
"позволяя использовать их как данные."
msgid ""
"Copies all audio frames, also known as \"samples\" or \"audio samples\", from "
"the attached audio bus into its internal ring buffer. This effect does not "
"alter the audio. Can be used for storing real-time audio data for playback, "
"and for creating real-time audio visualizations, like an oscilloscope.\n"
"Application code should consume these audio frames from this ring buffer "
"using [method get_buffer] and process it as needed, for example to capture "
"data from an [AudioStreamMicrophone], implement application-defined effects, "
"or to transmit audio over the network. When capturing audio data from a "
"microphone, the format of the samples will be stereo 32-bit floating-point "
"PCM.\n"
"Unlike [AudioEffectRecord], this effect only returns the raw audio samples "
"instead of encoding them into an [AudioStream]."
msgstr ""
"Копирует все аудиокадры, также известные как «сэмплы» или «аудиосэмплы», из "
"подключенной аудиошины во внутренний кольцевой буфер. Этот эффект не изменяет "
"звук. Может использоваться для хранения аудиоданных в реальном времени для "
"воспроизведения и для создания визуализаций звука в реальном времени, "
"например, осциллографа.\n"
"Код приложения должен получать эти аудиокадры из этого кольцевого буфера с "
"помощью [method get_buffer] и обрабатывать их по мере необходимости, "
"например, для захвата данных из [AudioStreamMicrophone], реализации эффектов, "
"определяемых приложением, или для передачи звука по сети. При захвате "
"аудиоданных с микрофона формат сэмплов будет стереофоническим 32-битным PCM с "
"плавающей запятой.\n"
"В отличие от [AudioEffectRecord], этот эффект возвращает только "
"необработанные аудиосэмплы, а не кодирует их в [AudioStream]."
msgid ""
"Returns [code]true[/code] if at least [param frames] samples are available to "
"read in the internal ring buffer."
msgstr ""
"Возвращает [code]true[/code], если во внутреннем кольцевом буфере доступно "
"для чтения не менее [param frames] сэмплов."
msgid ""
"Clears the internal ring buffer.\n"
"[b]Note:[/b] Calling this during a capture can cause the loss of samples "
"which causes popping in the playback."
msgstr ""
"Очищает внутренний кольцевой буфер.\n"
"[b]Примечание:[/b] Вызов этого во время захвата может привести к потере "
"сэмплов, что приведет к хлопкам при воспроизведении."
msgid ""
"Gets the next [param frames] samples from the internal ring buffer.\n"
"Returns a [PackedVector2Array] containing exactly [param frames] samples if "
"available, or an empty [PackedVector2Array] if insufficient data was "
"available.\n"
"The samples are signed floating-point PCM between [code]-1[/code] and "
"[code]1[/code]. You will have to scale them if you want to use them as 8 or "
"16-bit integer samples. ([code]v = 0x7fff * samples[0].x[/code])"
msgstr ""
"Получает следующие [param frames] сэмплов из внутреннего кольцевого буфера.\n"
"Возвращает [PackedVector2Array], содержащий ровно [param frames] сэмплов, "
"если они доступны, или пустой [PackedVector2Array], если данных "
"недостаточно.\n"
"Отсчеты представляют собой знаковые PCM с плавающей запятой в диапазоне от "
"[code]-1[/code] до [code]1[/code]. Вам потребуется масштабировать их, если вы "
"хотите использовать их как 8- или 16-битные целочисленные отсчеты. ([code]v = "
"0x7fff * samples[0].x[/code])"
msgid "Returns the total size of the internal ring buffer in number of samples."
msgstr "Возвращает общий размер внутреннего кольцевого буфера в сэмплах."
msgid ""
"Returns the number of samples discarded from the audio bus due to full buffer."
msgstr ""
"Возвращает количество сэмплов, отброшенных с аудиошины из-за переполнения "
"буфера."
msgid ""
"Returns the number of samples available to read using [method get_buffer]."
msgstr ""
"Возвращает количество сэмплов, доступных для чтения с помощью метода [method "
"get_buffer]."
msgid "Returns the number of samples inserted from the audio bus."
msgstr "Возвращает количество сэмплов, записанных с аудиошины."
msgid ""
"Length of the internal ring buffer, in seconds. Higher values keep data "
"around for longer, but require more memory. Value can range from 0.01 to 10.\n"
"[b]Note:[/b] Setting the buffer length will have no effect if already "
"initialized."
msgstr ""
"Длина внутреннего кольцевого буфера в секундах. Большие значения позволяют "
"хранить данные дольше, но требуют больше памяти. Значение может варьироваться "
"от 0,01 до 10.\n"
"[b]Примечание:[/b] Установка длины буфера не окажет никакого эффекта, если он "
"уже инициализирован."
msgid ""
"Adds a chorus audio effect to an audio bus.\n"
"Gives the impression of multiple audio sources."
msgstr ""
"Добавляет эффект хоруса к аудиошине.\n"
"Создает впечатление наличия нескольких источников звука."
msgid ""
"A \"chorus\" effect creates multiple copies of the original audio (called "
"\"voices\") with variations in pitch, and layers on top of the original, "
"giving the impression that the sound comes from multiple sources. This "
"creates spectral and spatial movement.\n"
"Each voice is played a short period of time after the original audio, "
"controlled by [code]delay[/code]. An internal low-frequency oscillator (LFO) "
"controls their pitch, and [code]depth[/code] controls the LFO's maximum "
"amount.\n"
"In the real world, this kind of effect is found in pianos, choirs, and "
"instrument ensembles.\n"
"This effect can also be used to widen mono audio and make digital sounds have "
"a more natural or analog quality."
msgstr ""
"Эффект «хорус» создает множество копий исходного аудио (называемых "
"«голосами») с вариациями высоты тона, накладывая их друг на друга, создавая "
"впечатление, что звук исходит из нескольких источников. Это создает "
"спектральное и пространственное движение.\n"
"Каждый голос воспроизводится через короткий промежуток времени после "
"исходного аудио, управляемый [code]delay[/code]. Внутренний низкочастотный "
"осциллятор (LFO) управляет их высотой тона, а [code]depth[/code] управляет "
"максимальным значением LFO.\n"
"В реальном мире подобный эффект встречается в фортепиано, хорах и "
"инструментальных ансамблях.\n"
"Этот эффект также может использоваться для расширения монофонического звука и "
"придания цифровым звукам более естественного или аналогового качества."
msgid ""
"Returns the frequency threshold of a given [param voice_idx]'s low-pass "
"filter in Hz. Frequencies above this value are removed from the voice."
msgstr ""
"Возвращает пороговое значение частоты низкочастотного фильтра для заданного "
"параметра [param voice_idx] в Гц. Частоты выше этого значения удаляются из "
"голоса."
msgid ""
"Returns the delay of a given [param voice_idx] in milliseconds, compared to "
"the original audio."
msgstr ""
"Возвращает задержку заданного параметра [param voice_idx] в миллисекундах по "
"сравнению с исходным аудиосигналом."
msgid ""
"Returns the depth of a given [param voice_idx]'s low-frequency oscillator in "
"milliseconds."
msgstr ""
"Возвращает глубину низкочастотного осциллятора заданного параметра [param "
"voice_idx] в миллисекундах."
msgid "Returns the gain of a given [param voice_idx] in dB."
msgstr ""
"Возвращает коэффициент усиления заданного параметра [param voice_idx] в дБ."
msgid ""
"Returns the pan position of a given [param voice_idx]. Negative values mean "
"the left channel, positive mean the right."
msgstr ""
"Возвращает положение панорамирования для заданного [param voice_idx]. "
"Отрицательные значения означают левый канал, положительные — правый."
msgid ""
"Returns the rate of a given [param voice_idx]'s low-frequency oscillator in "
"Hz."
msgstr ""
"Возвращает частоту низкочастотного осциллятора заданного параметра [param "
"voice_idx] в Гц."
msgid ""
"Sets the frequency threshold of a given [param voice_idx]'s low-pass filter "
"in Hz. Frequencies above [param cutoff_hz] are removed from [param "
"voice_idx]. Value can range from 1 to 20500."
msgstr ""
"Устанавливает пороговое значение частоты низкочастотного фильтра для "
"заданного параметра [param voice_idx] в Гц. Частоты выше [param cutoff_hz] "
"удаляются из [param voice_idx]. Значение может варьироваться от 1 до 20500."
msgid ""
"Sets the delay of a given [param voice_idx] in milliseconds, compared to the "
"original audio. Value can range from 0 to 50."
msgstr ""
"Устанавливает задержку заданного параметра [param voice_idx] в миллисекундах "
"по сравнению с исходным аудио. Значение может варьироваться от 0 до 50."
msgid ""
"Sets the depth of a given [param voice_idx]'s low-frequency oscillator in "
"milliseconds. Value can range from 0 to 20."
msgstr ""
"Задает глубину низкочастотного осциллятора заданного [param void_idx] в "
"миллисекундах. Значение может варьироваться от 0 до 20."
msgid ""
"Sets the gain of a given [param voice_idx] in dB. Value can range from -60 to "
"24."
msgstr ""
"Устанавливает коэффициент усиления заданного параметра [param voice_idx] в "
"дБ. Значение может варьироваться от -60 до 24."
msgid ""
"Sets the pan position of a given [param voice_idx]. Negative values pan the "
"sound to the left, positive pan to the right. Value can range from -1 to 1."
msgstr ""
"Задает положение панорамирования для заданного параметра [param voice_idx]. "
"Отрицательные значения панорамируют звук влево, положительные — вправо. "
"Значение может принимать значения от -1 до 1."
msgid ""
"Sets the rate of a given [param voice_idx]'s low-frequency oscillator in Hz. "
"Value can range from 0.1 to 20."
msgstr ""
"Задает частоту низкочастотного осциллятора заданного [param void_idx] в Гц. "
"Значение может варьироваться от 0,1 до 20."
msgid "The volume ratio of the original audio. Value can range from 0 to 1."
msgstr ""
"КоFile truncated at 1 MB.