ドキュメント

Unity Engine

Unity Engine

DepthState(bool, CompareFunction)

Creates a new depth state with the given values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public DepthState(bool writeEnabled = true, CompareFunction compareFunction = CompareFunction.Less)

Parameters

writeEnabled

Controls whether pixels from this object are written to the depth buffer.

compareFunction

How should depth testing be performed.