ドキュメント

Unity Engine

Unity Engine

stencilReference

The value to be compared against and/or the value to be written to the buffer, based on the stencil state.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public int stencilReference { get; set; }

Remarks

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