示例#1
0
 public vThirdPersonCameraState(string name)
 {
     Name              = name;
     forward           = -1f;
     right             = 0f;
     defaultDistance   = 1.5f;
     maxDistance       = 3f;
     minDistance       = 0.5f;
     height            = 0f;
     smooth            = 10f;
     smoothDamp        = 0f;
     xMouseSensitivity = 3f;
     yMouseSensitivity = 3f;
     yMinLimit         = -40f;
     yMaxLimit         = 80f;
     xMinLimit         = -360f;
     xMaxLimit         = 360f;
     cullingHeight     = 0.2f;
     cullingMinDist    = 0.1f;
     fov        = 60f;
     useZoom    = false;
     forward    = 60;
     fixedAngle = Vector2.zero;
     cameraMode = TPCameraMode.FreeDirectional;
 }
示例#2
0
 public TPCameraState(string name)
 {
     this.Name = name;
     this.forward = -1f;
     this.right = 0.35f;
     this.defaultDistance = 1.5f;
     this.maxDistance = 3f;
     this.minDistance = 0.5f;
     this.height = 1.5f;
     this.smoothFollow = 10f;
     this.yMinLimit = -40f;
     this.yMaxLimit = 80f;
     this.xMinLimit = -360f;
     this.xMaxLimit = 360f;
     this.cullingHeight = 1f;
     this.cullingMinDist = 0.1f;
     this.useZoom = false;
     this.fixedAngle = Vector2.zero;
     this.cameraMode = TPCameraMode.FreeDirectional;
 }
示例#3
0
 public TPCameraState(string name)
 {
     this.Name            = name;
     this.forward         = -1f;
     this.right           = 0.35f;
     this.defaultDistance = 1.5f;
     this.maxDistance     = 3f;
     this.minDistance     = 0.5f;
     this.height          = 1.5f;
     this.smoothFollow    = 10f;
     this.yMinLimit       = -40f;
     this.yMaxLimit       = 80f;
     this.xMinLimit       = -360f;
     this.xMaxLimit       = 360f;
     this.cullingHeight   = 1f;
     this.cullingMinDist  = 0.1f;
     this.useZoom         = false;
     this.fixedAngle      = Vector2.zero;
     this.cameraMode      = TPCameraMode.FreeDirectional;
 }
示例#4
0
 public ThirdPersonCameraState(string name)
 {
     this.Name              = name;
     this.forward           = -1f;
     this.right             = 0f;
     this.defaultDistance   = 5f;
     this.maxDistance       = 8f;
     this.minDistance       = 3f;
     this.height            = 1.8f;
     this.smoothFollow      = 10f;
     this.xMouseSensitivity = 3f;
     this.yMouseSensitivity = 3f;
     this.yMinLimit         = -30f;
     this.yMaxLimit         = -10f;
     this.xMinLimit         = -360f;
     this.xMaxLimit         = 360f;
     this.cullingHeight     = 1.8f;
     this.cullingMinDist    = 0.01f;
     this.fov        = 69f;
     this.useZoom    = true;
     this.forward    = 60;
     this.fixedAngle = Vector2.zero;
     this.cameraMode = TPCameraMode.FreeDirectional;
 }
 public TPCameraStates(ThirdPersonCamera cam)
 {
     followTarget = new FollowTarget(cam);
     cameraMode   = new TPCameraMode(cam);
 }