기술 자료

Unity Engine

Unity Engine

SetLayerAdditive(uint, bool)

Specifies whether a layer is additive or not. Additive layers blend with previous layers.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void SetLayerAdditive(uint layerIndex, bool value)

Parameters

layerIndex

The layer index.

value

Whether the layer is additive or not. Set to
true
for an additive blend, or
false
for a regular blend.

Remarks

By default, layers are not additive and override the animation from previous layers.