기술 자료

Unity Engine

Unity Engine

SetAlphaKeys(ReadOnlySpan<GradientAlphaKey>)

Setup gradient with an array of alpha keys.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void SetAlphaKeys(ReadOnlySpan<GradientAlphaKey> keys)

Parameters

Array of alpha keys.

Remarks

Note that the alpha keys will be automatically sorted by time value and that it is ensured to always have a minimum of 2 alpha keys.