文档

Unity Engine

Unity Engine

receiveShadowsByDefault

Gets and sets a boolean to enable whether the SpeedTree asset receives shadows from other objects in your scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool receiveShadowsByDefault { get; set; }

Remarks

To change this setting for a specific LOD, see SpeedTreeImporter.receiveShadows and SpeedTreeImporter.enableSettingOverride.