コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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();
 }