Expressions Menu and Controls
ヒント
You need basic knowledge about Unity Animators to use expression parameters in your avatar's animators.
You can control your avatar's animators in VRChat with an Expressions Menu. This allows you to play animations or change your avatar's appearance with VRChat's radial menu.
To use the Expressions Menu in VRChat, you need to create (at least) two assets:
- One (or more) Expressions Menu asset
- One Expression Parameters asset
After creating and configuring these assets, make sure to add them to your avatar descriptor in the "Expressions" section.
Creating an Expressions Menu
- Create an Expressions Menu asset by selecting
Assets > Create > VRChat > Avatars > Expressions Menu
.
- Create an Expression Parameters asset by selecting your Expressions Menu asset and clicking the "Create" button. This allows you to create custom parameters for your Expressions Menu.
- When you click "Create", the Expression Parameters asset is automatically assigned to your Expressions Menu asset.
- You can also create an Expression Parameters asset by selecting
Assets > Create > VRChat > Avatars > Expression Parameters
. - Expression Parameters have an option to copy parameters from of an
Animator
to creator your parameters quickly.
- Select the Expression Parameters asset to customize it.
- The asset contains three parameters by default:
VRCEmote
,VRCFaceBlendH
, andVRCFaceBlendV
. You can safely delete them unless you use them in your avatar or don't want to create your own Expression menu. - Your animators always have access to VRChat's built-in parameters. For example, you shouldn't add the "AFK" or "GestureLeft" parameters to your Expression Parameters asset.
- The asset contains three parameters by default:
- Enter the names of your custom parameters.
- These names should match the parameters in your animators.
- You can categorize your parameters by using
/
. For example,Clothing/Hoodie
andClothing/Hat
. - VRChat has a few built-in parameters. You can always use them in animators - don't add them to your own Expression Parameters.
- Choose a type for each parameter. The type should match your Animator's Parameter type.
Int
can be any whole number between 0 and 255.Float
can be any number between -1.0 and 1.0.Bool
can be eithertrue
orfalse
.
- Select the
Default
value to set the default value of each parameter.- When the avatar is reset, the parameter will revert to this value.
- Enable
Saved
for parameters that shouldn't reset themselves whenever the avatar is loaded. If your avatar has customization options or settings,Saved
will prevent them from being reset after switching to a different world or avatar. - Enable
Synced
if the state of this parameter should be sent to all other players over the network.
Next, you should add both assets to your avatar descriptor.
- Select your avatar descriptor and scroll down to the "Expressions" section.
- Change the "Menu" property to your expressions menu.
- Change the "Parameters" property to your expression parameters.
After adding both assets to your avatar descriptor, all your expression parameters will now be available in the expression menu, allowing you to customize it.
- In the inspector, click "Add Control." Up to 8 controls can be added to a single menu.
- Choose a name and type.
- You can also add icons, and submenus, or change the order of the controls here.
- You can find some default icons in
VRCSDK/Assets3/Expression Menu Icons/
.