Method GetBlendForVirtualCameras
GetBlendForVirtualCameras(string, string, CinemachineBlendDefinition)
Attempts to find a blend definition which matches the to and from cameras as specified. If no match is found, the function returns the supplied default blend.
선언
public CinemachineBlendDefinition GetBlendForVirtualCameras(string fromCameraName, string toCameraName, CinemachineBlendDefinition defaultBlend)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | fromCameraName | The game object name of the from camera |
string | toCameraName | The game object name of the to camera |
CinemachineBlendDefinition | defaultBlend | Blend to return if no custom blend found. |
반환
타입 | 설명 |
---|---|
CinemachineBlendDefinition |