Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Cloth.SetEnabledFading

Switch to Manual
public function SetEnabledFading(enabled: bool, interpolationTime: float = 0.5f): void;

Parameters

enabledFading enabled or not.

Description

Fade the cloth simulation in or out.