-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathMotion.bindings.cs
More file actions
47 lines (39 loc) · 1.44 KB
/
Copy pathMotion.bindings.cs
File metadata and controls
47 lines (39 loc) · 1.44 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
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
namespace UnityEngine
{
[NativeHeader("Modules/Animation/Motion.h")]
public partial class Motion : Object
{
protected Motion() {}
extern public float averageDuration { get; }
extern public float averageAngularSpeed { get; }
extern public Vector3 averageSpeed { get; }
extern public float apparentSpeed { get; }
extern public bool isLooping
{
[NativeMethod("IsLooping")]
get;
}
extern public bool legacy
{
[NativeMethod("IsLegacy")]
get;
}
extern public bool isHumanMotion
{
[NativeMethod("IsHumanMotion")]
get;
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("ValidateIfRetargetable is not supported anymore, please use isHumanMotion instead.", true)]
public bool ValidateIfRetargetable(bool val) { return false; }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("isAnimatorMotion is not supported anymore, please use !legacy instead.", true)]
public bool isAnimatorMotion { get; }
}
}