Method GetWeight
GetWeight(int)
Get the weight of the child at an index.
선언
public float GetWeight(int index)
파라미터
타입 | 이름 | 설명 |
---|---|---|
int | index | The child index. Only immediate CinemachineVirtualCameraBase children are counted. |
반환
타입 | 설명 |
---|---|
float | The weight of the camera. Valid only if camera is active and enabled. |
GetWeight(CinemachineVirtualCameraBase)
Get the weight of the child CinemachineVirtualCameraBase.
선언
public float GetWeight(CinemachineVirtualCameraBase vcam)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CinemachineVirtualCameraBase | vcam | The child camera. |
반환
타입 | 설명 |
---|---|
float | The weight of the camera. Valid only if camera is active and enabled. |