Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


depthState

Specifies the new depth state.
Read time 1 minuteLast updated 6 days ago

Definition

public DepthState depthState { get; set; }

Remarks

Unity applies these values to the GPU's render state if RenderStateBlock.mask includes a value of RenderStateMask.Depth.
The default value is DepthState.defaultValue.