기술 자료

Unity Engine

Unity Engine

ParticleSystem.ColorBySpeedModule

Script interface for the ColorBySpeedModule.
읽는 시간 1분최근 업데이트: 20일 전

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.ColorBySpeedModule

Remarks

This module assigns colors to the particles based on the speed that they are travelling.

Properties

Property

Description

colorThe gradient that controls the particle colors.
enabledSpecifies whether the ColorBySpeedModule is enabled or disabled.
rangeApply the color gradient between these minimum and maximum speeds.