Props
VNyan has a system for placing props on your model that you can access from the side menu. There are a few types of props you can add: vnyan props, .png images, .gif animated images, Spout2 sources, Text props, browser sources, and NDI sources.
VNyan Prop objects
Users can make custom props for VNyan in Unity using the VNyan SDK. VNyan props can be recognized by their .vnprop extensions.
VNyan Prop objects can be stored anywhere on your computer, but a dedicated location can be found in VNyan's installation folder, under Item\Props. This folder also contains a number of default props that are packaged with VNyan.
To load a prop object into VNyan, open the Props menu, and under Prop to Add in the bottom left select Load from file. Clicking Add Prop will open a dialogue box that allows you to navigate to and select the prop you wish to add. This only needs to be done once per profile and will be done automatically when starting up VNyan in subsequent sessions. The Load from file options also allows you to load in .png images and .gif animated images as props.
Prop Objects can have different animators such as Dynamic Bones, particle effects, custom shaders and more. See this tutorial for instructions on how to make custom props (as well as other objects for VNyan). VNyan Prop objects can be linked to different parameters to control or change them by adding VNyan SDK's components to them in Unity. For example, you can link animations in the prop to different parameter values using the Anim Param Link-component. Setting or changing the specified parameter value in VNyan will then control the prop.
Spout2 Prop
You can load Spout2 sources as props, allowing you to bring in any source that can send Spout2. This can be other instances of VNyan, or a Live2D model from VTube Studio. In order to load Spout2 sources as props, you first need to create a Spout2 prop. Open the Props menu, and under Prop to Add in the bottom left select Spout2. Click Add Prop, and a new Spout2 prop will be created. This only needs to be done once per profile and the prop will be created automatically when starting up VNyan in subsequent sessions. You can then specify the specific Spout2 source in the input field at the bottom of the prop settings window.
You can use the Spout2 Plugin for OBS to send sources from OBS to VNyan. For example, you can add the FugiTech Reactive discord app to VNyan by first bringing it into OBS, and then sending it to VNyan as a Spout2 prop.
NDI Prop
The Props system can be used to display NDI data in VNyan directly. This way, images sent via the NDI protocol can be linked to parts of your model or world. In order to load NDI sources as props, you first need to create an NDI prop. Open the Props menu, and under Prop to Add in the bottom left select NDI. Click Add Prop, and a new NDI prop will be created. This only needs to be done once per profile and the prop will be created automatically when starting up VNyan in subsequent sessions. You can then specify the specific NDI source in the input field at the bottom of the prop settings window.
Text Prop
Through the prop system, you can add simple texts linked to your model or the environment. In order to add text props, open the Props menu, and under Prop to Add in the bottom left select Text. Click Add Prop, and a new text prop will be created. This only needs to be done once per profile and the prop will be created automatically when starting up VNyan in subsequent sessions. You can then specify the specific text in the input field at the bottom of the prop settings window.
Text prop texts can be linked to a text parameter by entering the parameter name between <> like so: <example-parameter>. The text prop text will change automatically with the text parameter value. Properties of the text prop cannot be altered; if you wish to use a different font, font size, background, etc., you will need to create your own text VNyan prop in Unity using the VNyan SDK.
Browser Prop
You can load a website or local html file as a browser prop. This can be used to bring twitch chat or different overlays into your VNyan environment. Browser interaction is not supported, so you will not be able to click or navigate within the website itself. Websites that require login or authentication do not work.
In order to add browser props, open the Props menu, and under Prop to Add in the bottom left select Browser. Click Add Prop, and a new browser prop will be created. This only needs to be done once per profile and the prop will be created automatically when starting up VNyan in subsequent sessions. You can then specify the specific URL in the input field at the bottom of the prop settings window.
Prop Controls
Once a prop has successfully been added, a button will appear in the list above the Prop to Add option. This will also add an entry for the prop in the Toggle Prop-node, which will allow you to toggle the visibility of the prop through the node graph system. The red/green indicator on the button indicates whether the prop is currently hidden or in view respectively. Props are initially visible when added to VNyan the first time. Clicking the button opens a settings menu to the right that allows you to configure the placement of the prop.
Click here for a detailed overview of the configuration options for the prop
Prop Settings:
| Name | Description |
|---|---|
| Prop Name | The name of the prop. This is the name that will appear in the Toggle Prop-node. |
| Linked Bone | The bone that the prop will be linked to. The prop will copy all transformations of the linked bone. Options are:
|
| Linked Game Object | This field is only visible when the Avatar GameObject option is selected in Linked Bone. The name of the GameObject on your avatar the prop will be linked to. Click the magnifying glass button to select the GameObject from a list. |
| Position X/Y/Z | Adjust the local position transform of the prop. |
| Rotation X/Y/Z | Adjust the local rotation transform of the prop. |
| Scale X/Y/Z | Adjust the local scale transform of the prop. |
| Always face camera | Force the prop to always face the camera directly, regardless of the rotation of the Linked Bone. Does not override Rotation X/Y/Z adjustments. |
| Spout2 Source | This field is only visible when the prop is a Spout2 prop. The name of the Spout2 source for the prop. |
| Text | This field is only visible when the prop is a Text prop. The text that will be displayed as the prop. The Text value can be a text parameter by entering the parameter name between <>. The text prop text will change automatically with the text parameter value. |
| Browser URL | This field is only visible when the prop is a Browser prop. The URL of the webpage that will be displayed as a prop. Can also be a local path to an HTML file. |
| NDI Source | This field is only visible when the prop is an NDI prop. The name of the NDI source for the prop. |
Additional controls:
| Name | Description |
|---|---|
| Delete | Remove the selected prop from the currently active VNyan profile. Settings will be lost, and can only be recovered from a [[backup |
| Clone | Add a copy of the selected prop to the currently active VNyan profile. Copies over all settings. |
| Show/Hide | Toggle the visibility of the selected prop. |
Transform Mode: Can be enabled/disabled at the bottom left of the props window. Enabling Transform Mode shows a gizmo that will allow you to adjust the selected prop's position, rotation or scale by clicking and dragging the mouse. Transformations made with the gizmo are translated to local space, and may not reflect the mouse movement directly. Commonly the left-to-right transforms are mirrored.
VMC Tracker Mapping
It is possible to use VMC and SteamVR Trackers as prop trackers in VNyan. First, the VMC tracker you want to use as prop tracker must be mapped in the VMC Tracking Settings, by clicking the VMC Tracker Mapping button, and map a tracker slot to a VMC tracker. Once the tracker slot has been mapped, you can link a prop to the tracker position by selecting the mapped tracker slot as the Linked Bone of the prop. Your prop will now track to the VMC tracker.