文档

Unity Engine

Unity Engine

SmoothTangents(int, float)

Smooth the in and out tangents of the keyframe at index.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void SmoothTangents(int index, float weight)

Parameters

index

The index of the keyframe to be smoothed.

weight

The smoothing weight to apply to the keyframe's tangents.

Remarks

A weight of 0 evens out tangents.