You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/docs/[...4]the-blueprint-format/[...3]variants/+page.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,3 +6,55 @@ description: Learn what variants are and how to use them in Animated Java.
6
6
# {$frontmatter.title}
7
7
8
8
{$frontmatter.description}
9
+
10
+
## The Variants Panel
11
+
12
+
The Variants Panel is where you can manage the different variants of your model. You can add, remove, and edit variants here.
13
+

14
+
15
+
## The Default Variant
16
+
17
+
The Default Variant is the base model that all other variants are based on. It cannot be modified, removed, or renamed.
18
+
19
+
## Creating a new Variant
20
+
21
+
To create a variant, click the `Add Variant` button in the Variants Panel.
22
+
23
+
## The Variant Config
24
+
25
+
The Variant Config is where you can change the name and properties of the variant.
26
+
27
+

28
+
29
+
## Config Options
30
+
31
+
-### Display Name
32
+
33
+
The name of the variant.
34
+
35
+
-### Name
36
+
37
+
The ID of the variant. This is used in commands and scripts to reference the variant.
38
+
39
+
-### Generate Name from Display Name
40
+
41
+
If enabled, the Name will be automatically generated from the Display Name.
42
+
43
+
-### Texture Map
44
+
45
+
A map of which textures will be replaced on the model when the variant is applied.
46
+
47
+
-### Included / Excluded Nodes
48
+
Using the exclude / include nodes feature, you can specify which nodes will be included or excluded from the variant. Excluded nodes will not be modified when the variant is applied, even if their texture is in the texture map.
49
+
50
+
## Applying a Variant
51
+
52
+
To apply a Variant to a Rig Instance, run the `variant/apply` function as the root entity of the Rig Instance.
53
+
54
+
:::admonition type=info title=Example
55
+
56
+
```rust title="Changing the variant of a Rig Instance"
0 commit comments