文档

Unity Engine

Unity Engine

SetLookAtClampWeight(float)

Sets the LookAt clamp weight.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetLookAtClampWeight(float weight)

Parameters

weight

The LookAt clamp weight.

Remarks

0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).