예제 #1
0
 public void ApplyToAgk()
 {
     Agk.SetCameraFOV(1, FOV);
     Agk.SetCameraPosition(1, Position.X, Position.Y, Position.Z);
     Agk.SetCameraRange(1, Near, Far);
     Agk.SetCameraRotation(1, Rotation.X, Rotation.Y, Rotation.Z);
     if (Target != null)
     {
         Agk.SetCameraLookAt(1, (Target.Properties.Position.X + Offset.X), (Target.Properties.Position.Y + Offset.Y), (Target.Properties.Position.Z + Offset.Z), Rotation.Z);
     }
 }