Show / Hide Table of Contents

Struct Keyframe

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public struct Keyframe

Constructors

| Improve this Doc View Source

Keyframe(Single, Single)

Declaration
public Keyframe(float time, float value)
Parameters
Type Name Description
Single time
Single value
| Improve this Doc View Source

Keyframe(Single, Single, Single, Single)

Declaration
public Keyframe(float time, float value, float inTangent, float outTangent)
Parameters
Type Name Description
Single time
Single value
Single inTangent
Single outTangent
| Improve this Doc View Source

Keyframe(Single, Single, Single, Single, Single, Single)

Declaration
public Keyframe(float time, float value, float inTangent, float outTangent, float inWeight, float outWeight)
Parameters
Type Name Description
Single time
Single value
Single inTangent
Single outTangent
Single inWeight
Single outWeight

Properties

| Improve this Doc View Source

inTangent

Declaration
public float inTangent { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

inWeight

Declaration
public float inWeight { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

outTangent

Declaration
public float outTangent { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

outWeight

Declaration
public float outWeight { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

tangentMode

Declaration
[Obsolete("Use AnimationUtility.SetLeftTangentMode, AnimationUtility.SetRightTangentMode, AnimationUtility.GetLeftTangentMode or AnimationUtility.GetRightTangentMode instead.")]
public int tangentMode { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

time

Declaration
public float time { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

value

Declaration
public float value { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

weightedMode

Declaration
public WeightedMode weightedMode { get; set; }
Property Value
Type Description
WeightedMode

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX