public static void SetDefaultDynamicPositionParameters(CameraExecutionMode cameraExecutionMode, float lerpSpeed, float lerpThreshold, Vector3 additiveOffset) { defaultDynamicPositionParameters = new DynamicTargetPositionParameters(); defaultDynamicPositionParameters.CameraExecutionMode = cameraExecutionMode; defaultDynamicPositionParameters.AdditiveOffset = additiveOffset; defaultDynamicPositionParameters.LerpSpeed = lerpSpeed; defaultDynamicPositionParameters.LerpThreshold = lerpThreshold; }
public static void SetDefaultDynamicRotationParameters(CameraExecutionMode cameraExecutionMode, DynamicRotationBehaviour dynamicRotationBehaviour, float lerpSpeed, float lerpThreshold) { defaultDynamicRotationParameters = new DynamicTargetRotationParameters(); defaultDynamicRotationParameters.CameraExecutionMode = cameraExecutionMode; defaultDynamicRotationParameters.DynamicRotationBehaviour = dynamicRotationBehaviour; defaultDynamicRotationParameters.LerpSpeed = lerpSpeed; defaultDynamicRotationParameters.LerpThreshold = lerpThreshold; }
public static void SetDefaultStaticRotationParameters(CameraExecutionMode cameraExecutionMode, float lerpSpeed, float lerpThreshold, float duration, SteadyCamBehaviour steadyCamOnStart, SteadyCamBehaviour steadyCamOnEnd) { defaultStaticRotationParameters = new StaticTargetRotationParameters(); defaultStaticRotationParameters.CameraExecutionMode = cameraExecutionMode; defaultStaticRotationParameters.LerpSpeed = lerpSpeed; defaultStaticRotationParameters.LerpThreshold = lerpThreshold; defaultStaticRotationParameters.Duration = duration; defaultStaticRotationParameters.SteadyCamOnStart = steadyCamOnStart; defaultStaticRotationParameters.SteadyCamOnEnd = steadyCamOnEnd; defaultStaticRotationParameters.StartSCParameters = GetDefaultSteadyCamParameters(); defaultStaticRotationParameters.EndSCParameters = GetDefaultSteadyCamParameters(); }