기술 자료

Unity Engine

Download Unity

Unity Engine

SetAlphaKeys(ReadOnlySpan<GradientAlphaKey>)

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

Definition

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.