Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableSubsurfaceByDefault

Gets and sets a boolean to enable the subsurface scattering effect for the SpeedTree asset (affects only SpeedTree v8 assets).
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

This setting controls the light scattered out the back side of leaves and other two-sided SpeedTree materials to simulate a translucent surface.
To change this setting for a specific LOD, see SpeedTreeImporter.enableSubsurface and SpeedTreeImporter.enableSettingOverride.