forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAvatar.cs
More file actions
52 lines (52 loc) · 1.75 KB
/
Avatar.cs
File metadata and controls
52 lines (52 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
using System.Runtime.CompilerServices;
namespace UnityEngine
{
public sealed class Avatar : Object
{
public extern bool isValid
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
public extern bool isHuman
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern void SetMuscleMinMax(int muscleId, float min, float max);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern void SetParameter(int parameterId, float value);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern float GetAxisLength(int humanId);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern Quaternion GetPreRotation(int humanId);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern Quaternion GetPostRotation(int humanId);
internal Quaternion GetZYPostQ(int humanId, Quaternion parentQ, Quaternion q)
{
return Avatar.INTERNAL_CALL_GetZYPostQ(this, humanId, ref parentQ, ref q);
}
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern Quaternion INTERNAL_CALL_GetZYPostQ(Avatar self, int humanId, ref Quaternion parentQ, ref Quaternion q);
internal Quaternion GetZYRoll(int humanId, Vector3 uvw)
{
return Avatar.INTERNAL_CALL_GetZYRoll(this, humanId, ref uvw);
}
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern Quaternion INTERNAL_CALL_GetZYRoll(Avatar self, int humanId, ref Vector3 uvw);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern Vector3 GetLimitSign(int humanId);
}
}