initial upload

This commit is contained in:
tom.hempel
2025-09-30 17:58:33 +02:00
commit 69b0c79692
4818 changed files with 229318 additions and 0 deletions

View File

@ -0,0 +1,13 @@
using System;
using UnityEngine;
namespace Convai.Scripts.Runtime.Features.LipSync.Models
{
[Serializable]
public class BlendShapesIndexEffector
{
[SerializeField] public int index;
[SerializeField] public float effectPercentage;
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 2e635a84c98545eca5224853f9d59618
timeCreated: 1722024855

View File

@ -0,0 +1,33 @@
using System;
using Convai.Scripts.Runtime.Features.LipSync.Visemes;
using UnityEngine;
// ReSharper disable InconsistentNaming
namespace Convai.Scripts.Runtime.Features.LipSync.Models
{
[Serializable]
public class FacialExpressionData
{
[Tooltip("Assign the Skin Renderer and Effector for Head")]
public SkinMeshRendererData Head;
[Tooltip("Assign the Skin Renderer and Effector for Teeth")]
public SkinMeshRendererData Teeth;
[Tooltip("Assign the Skin Renderer and Effector for Tongue")]
public SkinMeshRendererData Tongue;
[Tooltip("Assign the Viseme Bone Effector List for Jaw")]
public VisemeBoneEffectorList JawBoneEffector;
[Tooltip("Assign the Viseme Bone Effector List for Tongue")]
public VisemeBoneEffectorList TongueBoneEffector;
[Tooltip("Assign the bone which effects movement of jaw")]
public GameObject JawBone;
[Tooltip("Assign the bone which effects movement of tongue")]
public GameObject TongueBone;
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: eeb1390214d44f679a8f26e8e95a40e1
timeCreated: 1722028711

View File

@ -0,0 +1,16 @@
using System;
using Convai.Scripts.Runtime.Features.LipSync.Visemes;
using UnityEngine;
namespace Convai.Scripts.Runtime.Features.LipSync.Models
{
[Serializable]
public class SkinMeshRendererData
{
public SkinnedMeshRenderer Renderer;
public VisemeEffectorsList VisemeEffectorsList;
[Tooltip("Lower and Upper bound of the Blendshape weight, Ex: 0-1, or 0-100")]
public Vector2 WeightBounds = new(0, 1);
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a23bc1b310f54ba7849b92bcb381cf4d
timeCreated: 1722028729