导入角色动画,和增加角色控制

This commit is contained in:
2025-12-11 19:30:20 +08:00
parent a60a92e7ba
commit 7775fa30bb
1452 changed files with 592217 additions and 42573 deletions

View File

@@ -0,0 +1,32 @@
using System;
using KINEMATION.KAnimationCore.Runtime.Core;
namespace KINEMATION.KAnimationCore.Runtime.Rig
{
// Represents the space we will modify bone transform in.
public enum ESpaceType
{
BoneSpace,
ParentBoneSpace,
ComponentSpace,
WorldSpace
}
// Whether the operation is additive or absolute.
public enum EModifyMode
{
Add,
Replace,
Ignore
}
// Represents the pose for the specific rig element.
[Serializable]
public struct KPose
{
public KRigElement element;
public KTransform pose;
public ESpaceType space;
public EModifyMode modifyMode;
}
}