From ed799233e571f1f13454a9d5750915fa0cd16d56 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Thu, 8 Oct 2026 23:32:05 +0300 Subject: [PATCH] update doc/*/vca.md --- doc/en/vca.md | 8 ++++---- doc/ru/vca.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/en/vca.md b/doc/en/vca.md index 722432e31..16df83cc8 100644 --- a/doc/en/vca.md +++ b/doc/en/vca.md @@ -28,7 +28,7 @@ Two kinds of curve definitions are currently available, each producing a value ` - `@scale` - scales an object/bone (multiplier) - `@zoom` - camera zoom (multiplier) - `@texture` - change of a dynamically assigned texture (see [skeleton:set_texture](scripting/ecs.md#skeleton)) -- `@control` - changing flag values, such as visibility +- `@show` - visibility of a bone or the entire skeleton/object (if no bone is specified) ## Metadata @@ -97,17 +97,17 @@ If you do not wish to limit the animation duration via `configure` but want to l } ``` -Example of using the `control` directive: +Example of using flag directives like `show`: ```vcd # Specific bone -@control bone head flag visible period 20 { +@show bone head period 20 { @key frame 0 value on @key frame 10 value off } # Entire skeleton -@control flag visible period 30 { +@show period 30 { @key frame 0 value on @key frame 10 value off } diff --git a/doc/ru/vca.md b/doc/ru/vca.md index 91c252833..aac88aec8 100644 --- a/doc/ru/vca.md +++ b/doc/ru/vca.md @@ -28,7 +28,7 @@ VCA файл состоит из набора директив, порядок - `@scale` - масштабирование объекта/кости (множитель) - `@zoom` - масштаб камеры (множитель) - `@texture` - смена динамически-назначаемой текстуры (см. [skeleton:set_texture](scripting/ecs.md#skeleton)) -- `@control` - изменение значений флагов, таких как видимость +- `@show` - видимость кости или всего скелета / объекта (если не указана кость) ## Мета-информация @@ -97,17 +97,17 @@ VCA файл состоит из набора директив, порядок } ``` -Пример использования директивы `control`: +Пример использования директив-флагов, таких как `show`: ```vcd # Конкретная кость -@control bone head flag visible period 20 { +@show bone head period 20 { @key frame 0 value on @key frame 10 value off } # Весь скелет -@control flag visible period 30 { +@show period 30 { @key frame 0 value on @key frame 10 value off }